NEWS
directlabels 2024.4.16
- fix make.tiebreaker issue with constant data.
directlabels 2024.1.21 (2024-01-24)
- fix legends2hide issue with ggplot2 3.5.0.
directlabels 2023.8.25 (2023-09-01)
- CRAN NOTE doc fixes.
- use Suggests conditionally in examples/tests.
directlabels 2021.2.24
- rgb to grayscale formula corrected in polygon.method().
directlabels 2021.1.13 (2021-01-16)
- Remove bitmapType cairo in examples vignette.
directlabels 2020.12.29 (2021-01-05)
- fix for single ggplot with two geom_dl with same method. previously this would create two grobs with the same name in a single gTree, which is not allowed (as documented in ?gTree) and resulted in only the first geom_dl being drawn. Now we append a unique integer id to each name so that grid draws both geom_dl.
- fix for lattice: Get lattice transformation functions working again + tests. (Error: data must have a column named label for qqmath examples)
- dldoc no longer uses type="cairo" at request of CRAN.
directlabels 2020.6.30
- custom.colors argument for polygon.method, default choice of white or black depending on how dark the color would be if rendered as grayscale.
directlabels 2020.6.17 (2020-06-25)
- grid grobs have names.
- vignette example / LOPART100 data for black/blue pos swapped for t=100. (bug fix in make.tiebreaker, use rule=2 in approx for no NA)
- using top.qp with one point gave an error: need at least two non-NA values to interpolate. (bug fix in make.tiebreaker, only run approx if there are at least two values)
- legends2hide inside tryCatch to fix error with parsing legends in ggplots with custom themes, https://github.com/tdhock/directlabels/issues/6
- fix test failures that showed up with new code.
- examples vignette for geom_dl with same aes(label), but different aes(label.group, color).
- draw.polygons/polygon.method support top/bottom as well as first/last/left/right. New *.polygons methods.
directlabels 2020.6.7
- initial code for:
- polygons below the point.
- aes(label) which may have the same value for two different aes(group) values, e.g. two algorithms/groups which both compute the same thing, optimal changepoint tau^*, but we want to compute and show a label for each of them.
- using stringDescent to compute height of boxes. maybe consider grobDescent or descentDetails?
directlabels 2020.1.31 (2020-02-01)
- remove Suggest ElemStatLearn.
- remove prostate dl.combine example.
directlabels 2019.12.5
- update for new testing software.
directlabels 2018.10.5
- Non-syntactic variable names supported, e.g. aes(color='car class')
directlabels 2018.5.22
- Update Suggest dplyr to pass CRAN checks.
directlabels 2017.03.31 (2017-04-08)
- test case and bugfix for lasso.labels with a constant line.
directlabels 2017.03.24
- test case and bugfix for using directlabels when ggplot2 is not attached to the global namespace. this happens if directlabels is used in a ggplot in a package that imports ggplot2 but does not attach it, e.g. https://github.com/tdhock/penaltyLearning/blob/master/R/IntervalRegression.R
directlabels 2017.01.03
- Test and bugfix for angled.boxes -- there was some problem with the colour column (one of the columns to.restore after applying far.from.others.borders) being treated as a factor.
directlabels 2016.10.25
- delete browser() in qp.labels
directlabels 2015.12.16 (2015-12-18)
- importFrom non-base packages.
directlabels 2015.12.15
- ggplot2 does not need to be installed for package checks to pass.
directlabels 2015.12.14
directlabels 2015.11.28
- Works with new ggplot2 >= 1.0.1.9003 internals. (and no longer works with older ggplot2 internals!)
directlabels 2015.6.17
- Namespaces fixes to ensure that R CMD check runs cleanly, and that you can use 'geom_dl()' without attaching directlabels to the search path.
directlabels 2014.6.13
- geom_dl(show_guide=FALSE) is default.
directlabels 2014.5.12
- custom colors for dotplots in lattice, see etc/lattice-custom-colors.R
directlabels 2014.4.25
- BUGFIX: bumpup works when there is only 1 group.
directlabels 2014.1.31
- use fill if no colour in ggplots.
- guides(others_with_colour="none")
directlabels 2014.1.27
- polygon.methods for lineplots.
directlabels 2013.11.21
- projectionSeconds data set and angled.boxes Positioning Method, inspired by Mark Schmidt's prettyPlot. http://www.di.ens.fr/~mschmidt/Software/prettyPlot.html
- draw.rects draws a rotated box when rot is specified.
directlabels 2013.9.17
- label.endpoints can handle the case (common for scatterplots) where there are several endpoints with the same x value.
directlabels 2013.8.2
- geom_dl aes inherits from the colored geom aes.
directlabels 2013.7.24
- Doc updates: drawDetails.dlgrob documents interpretation of columns, apply.method uses itemize list, \code{\link{fun}} hyperlinks.
directlabels 2013.6.15 (2013-07-23)
directlabels 2013.6.14
- Depend on quadprog.
- Bugfix for reduce.cex.lr: decrease the text size based on previous cex, rather than assuming the previous cex is 1.
- Remove follow.points, perpendicular.(lines|grid).
- Change with/within/transform/subset to alternatives that do not generate NOTEs during package check.