This is a small release focusing on providing infrastructure for other packages
to gracefully prepare for changes in the next major release.
Improvements
- Standardised test functions for important classes:
is_ggproto()
,
is_ggplot()
,is_mapping()
,is_layer()
,is_geom()
,is_stat()
,
is_position()
,is_coord()
,is_facet()
,is_scale()
,is_guide()
,
is_guides()
,is_margin()
,is_theme_element()
andis_theme()
. - New
get_labs()
function for retrieving completed plot labels
(@teunbrand, #6008). - New
get_geom_defaults()
for retrieving resolved default aesthetics. - A new
ggplot_build()
S3 method for <ggplot_built> classes was added, which
returns input unaltered (@teunbrand, #5800).