Skip to content

Releases: willgearty/deeptime

deeptime 2.2.0

23 Jun 14:30

Choose a tag to compare

This new minor version of deeptime introduces several new features and bug fixes. It also is compatible with version 4 of ggplot2.

New features:

  • Added geom_text_phylo() for adding node/tip labels to phylogenies when using coord_geo_radial()
  • Updated built-in timescales to 2024/12 version of GTS
  • Removed the defaults for the colors argument in facet_grid_color(), facet_wrap_color(), facet_nested_color(), and facet_nested_wrap_color()
    • Added facet_grid_geo(), facet_wrap_geo(), facet_nested_geo(), and facet_nested_wrap_geo() which now serve as aliases for these functions with their original defaults (#81)
  • Added legends to the examples in the "Plotting geological/stratigraphical patterns" vignette (#78)
  • Added facetting examples to the "Plotting temporal data" vignette (#80)

Deprecation:

  • Advanced the deprecation of coord_geo_polar(). Use of this function will result in a warning. This function will be removed in a future version of deeptime.
  • Advanced the deprecation of getScaleData(). This function has been fully deprecated from deeptime in favor of get_scale_data().

Bug fixes:

  • Fixed gtable_frame2() and ggarrange2() for plots that use theme_void() (#74)
  • Fixed disparity_through_time() for rare edge cases (#71)
  • Updated GeomPointsRange to use the aesthetic defaults from ggplot2::GeomPointrange
  • Updated GeomTextPhylo to use the aesthetic defaults from ggplot2::GeomText

deeptime 2.1.0

31 Oct 21:10

Choose a tag to compare

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
  • 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 in facet_wrap_color() and facet_grid_color() (#68)
    • By default, the strip label colors are set to white or black (as above)
  • Added facet_nested_color() and facet_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 for coord_geo_radial() and coord_geo_polar()

deeptime 2.0.0

19 Aug 12:59

Choose a tag to compare

deeptime now requires ggplot2 version 3.5.0 or higher.
This new major version of deeptime includes several new features:

  • Added FGDC/USGS geologic patterns to internal data (#52)
  • Added functions to retrieve and plot FGDC/USGS geologic patterns (#52)
  • Added functions to use FGDC/USGS patterns as ggplot2 fills or with the ggpattern package (see new vignette) (#52)
  • Added the true_colors option to get_scale_data(), which, when set to FALSE, can be used to retrieve the custom Macrostrat colors that were previously in the built-in datasets (#62)
  • Updated built-in timescales to 2023/06 version of GTS
  • Added option to coord_geo() to abbreviate interval labels based on only the intervals that are being plotted (#64)
  • Added guide_geo() as an alternative to coord_geo(), mostly for use with radial plots (#53)

Bug fixes:

  • Fixed the built-in timescale datasets to have true CGMP colors for the Precambrian (#62)

Notable changes:

  • The phytools package is no longer required to install deeptime but is required to use the geom_phylomorphospace() function
  • The geomtextpath package is no longer required to install deeptime but is required to add labels with the coord_geo_polar() or coord_geo_radial() functions
  • The gggeo_scale_old() function has been fully deprecated

deeptime 1.1.1

08 Mar 18:38

Choose a tag to compare

deeptime now requires rlang version 1.1.0 or higher. This patch version includes several bug fixes:

  • Fixed several cases where vignette and documentation building and/or unit testing would fail when the Macrostrat API was down
  • Fixed coord_geo_polar() and coord_geo_radial() when the r-axis has expansion (#60)
  • Improved argument type checking and error handling across the entire package

deeptime 1.1.0

05 Mar 20:10

Choose a tag to compare

deeptime now requires ggplot2 version 3.4.0 or higher. This version introduces several new features and bug fixes:

  • Added geom_points_range(), a function designed for visualizing temporal occurrence data
  • Added facet_grid_color() and facet_wrap_color() for changing strip background colors (#50)
  • Added coord_geo_radial(), an enhanced version of coord_geo_polar() (only works with ggplot2 version 3.5.0 and higher) (#56)
  • Added family and fontface arguments to coord_geo()
  • Added the ability to include interval labels with coord_geo_polar() (#48)
  • Fixed the interaction between coord_geo() and ggsave() (#49)
  • Fixed size = "auto" when center_end_labels = TRUE in coord_geo()
  • Updated several functions to work with ggplot2 version 3.5.0

Notable changes:

  • The names for the theme elements that are used for coord_geo_polar() are now prepended with "deeptime." (e.g., deeptime.axis.line.r) (#51)
  • ggplot2 version 3.5.0 has broken several edge cases of coord_trans_xy(). See the documentation for more details. This will be fixed in a future deeptime release.

v1.0.1

08 Mar 20:27

Choose a tag to compare

  • Fixed the bounds of the Kungurian stage in the built-in stages data
  • Updated License to GPL >= 3
  • Changed tidyverse to dplyr and magrittr in Suggests and vignettes

v1.0.0

22 Jan 16:18

Choose a tag to compare

  • Updated built-in timescales to 2022/10 version of GTS
  • Added a geom for making phylomorphospaces
  • Added vignettes
  • Renamed getScaleData() to get_scale_data()
  • Soft deprecated gggeo_scale() and gggeo_scale_old()

v0.3.0

09 Nov 15:03

Choose a tag to compare

deeptime now requires ggplot2 version 3.3.0 or higher. Several new features and fixed compatibility with various ggplot2 versions.

  • Added coord_geo_polar(), for adding timescales to polar plots (#33)
  • Added color and fill discrete scales that use the GTS colors (#43)
  • Fixed coord_geo_polar() and coord_trans_xy() for ggplot2 version 3.4.0 (#44)
  • Fixed coord_geo() for ggplot2 version 3.4.0
  • Added tests for both ggplot2 version 3.3.6 and 3.4.0
  • Removed uses of getFromNamespace (#45)

v0.2.3

20 Sep 20:55

Choose a tag to compare

  • Updated built-in timescales to 2022/02 version of GTS
  • Better name handling and documentation for getScaleData() (#42)

v0.2.2

18 May 14:41

Choose a tag to compare

  • Skip tests when suggested packages are unavailable
  • Added the ability to specify label color (#40)