This new minor version of deeptime introduces several new features and bug fixes.
New features:
- Added default label color values to all built-in data as a new
lab_color
column- The label colors are either white or black, whichever has better contrast with the background color based on recommendations by the International Telecommunication Union
get_scale_data()
now returns label colors (as above) for Macrostrat timescales- Varying strip label colors can now be set with the
lab_colors
argument infacet_wrap_color()
andfacet_grid_color()
(#68)- By default, the strip label colors are set to white or black (as above)
- Added
facet_nested_color()
andfacet_nested_wrap_color()
to plot nested faceted plots with colored strips (#55) get_scale_data()
documentation now lists the available Macrostrat timescales (#69)get_scale_data()
now supports partial matching to Macrostrat timescales (e.g.,get_scale_data("mammal")
will retrieve the "North American land mammal ages" timescale)
Notable changes:
- The FGDC pattern data added in deeptime 2.0.0 has been moved to a new data R package called
deeptimedata
to reduce the size of the deeptime package and the footprint of future deeptime updates
Bug fixes:
- Fixed importing some functions from
ggplot2
forcoord_geo_radial()
andcoord_geo_polar()