Changelog
Source:NEWS.md
gghighlight 0.5.0
gghighlight 0.4.1
CRAN release: 2023-12-16
- This is a maintenance release to update test expectations for the upcoming version of ggplot2.
gghighlight 0.4.0
CRAN release: 2022-10-15
Fix compatibility with purrr 1.0.0 and ggplot2 3.4.0.
The new option
line_label_typeprovides different labeling methods using the geomtextpath package and the second axis. Please refer to the “line_label_type” section of the vignette “Introduction to gghighlight” for the details (#185).
gghighlight 0.3.3
CRAN release: 2022-06-06
- Fix the deprecated use of
dplyr::across()indplyr::filter()(#177).
gghighlight 0.3.2
CRAN release: 2021-06-05
-
gghighlight()now acceptsn()so that you can highlight based on the number of rows within each group (#154). -
gghighlight()now preservescolourorfillwhen explicitNULLis specified onunhighlighted_params(i.e.unhighlighted_params = list(colour = NULL)) (#152). - Fix a longstanding bug of wrong calculation when the data has the same name of columns as aesthetics, e.g.
x(#168).
gghighlight 0.3.1
CRAN release: 2020-12-12
-
gghighlight()now can add labels on discrete scales (#160).
gghighlight 0.3.0
CRAN release: 2020-03-29
Breaking changes
-
gghighlight_point()andgghighlight_line(), deprecated in gghighlight 0.1.0, are now defunct (#132).
gghighlight 0.2.0
CRAN release: 2020-01-25
New features
gghighlight()gets a new argumentunhighlighted_params, which accepts a list of parameters for the unhighlighted layer (e.g.colour,fill,shape, andsize). Accordingly,unhighlighted_colouris deprecated (#76).gghighlight()gets a new argumentkeep_scalesto choose whether to keep the original scale with the shadowed data (#72).gghighlight()gets a new (experimental) argumentcalculate_per_facetto choose whether to calculate highlighting per facet or not (#14).
Bug fixes
If the mapping has
group, use it as grouping variable, which is consistent with the logic of ggplot2 (#77).gghighlight()now ignores if the calculation fails over some layers. This is useful to combine with such layers asannotate()(#78).gghighlight()now allows to highlight 0-layer plots, which means just filtering the plot data (#81).gghighlight()now ignoresNAs in numeric predicates (#86).
gghighlight 0.1.0
CRAN release: 2018-07-04
- Add
gghighlight(), which replaces the currentgghighlight_line()andgghighlight_point(); these functions are now deprecated. - Add a introductory vignette.