Version 0.4.5 includes fixes for compatibility with the upcoming updates in ‘ggplot2’ version 3.4.0, and adds enhancements to geom_text_s()
and geom_label_s()
. The most significative is the computation of the justification from the position displacement, which works with any of the position functions exported by ‘ggpp’. Another significant change is the implementation of padding.
-
Update
geom_text_s()
andgeom_label_s()
to support justification computed from positions, withhjust = "position"
andvjust = "position"
as new defaults. (The current, very simple, approach will be further tested and if necessary improved for the next release.) -
Update
geom_text_s()
andgeom_label_s()
to enablesegment.size
aesthetic and increase its default value, and add formal parameterspoint.padding
,box.padding
andmin.segment.length
to allow adjusting the length of the segments. -
Add function
dark_or_light()
. -
Update
position_nudge_center()
for compatibility with ‘ggplot2’ (>= 3.4.0) and to ensure that every label gets nudged even if located exactly at the center (focus point of nudging). -
Support the new ‘ggplot2’ aesthetic
linewidth
ingeom_quadrant_lines()
andgeom_vhlines()
when used together with ‘ggplot2’ (>= 3.4.0).
Documentation web site at http://docs.r4photobiology.info/ggpp/ includes all help pages, with output from all examples, vignettes as well as a changelog in HTML format.
NOTE: Version 0.4.5 is on its way to CRAN.
Please raise issues concerning bugs or enhancements to this package through GitHub at https://github.com/aphalo/ggpp/issues. Pull requests are also welcome.