Recent Releases of deeptime
deeptime - deeptime 2.2.0
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 usingcoord_geo_radial() - Updated built-in timescales to 2024/12 version of GTS
- Removed the defaults for the
colorsargument infacet_grid_color(),facet_wrap_color(),facet_nested_color(), andfacet_nested_wrap_color()- Added
facet_grid_geo(),facet_wrap_geo(),facet_nested_geo(), andfacet_nested_wrap_geo()which now serve as aliases for these functions with their original defaults (#81)
- Added
- 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 ofget_scale_data().
Bug fixes:
- Fixed
gtable_frame2()andggarrange2()for plots that usetheme_void()(#74) - Fixed
disparity_through_time()for rare edge cases (#71) - Updated
GeomPointsRangeto use the aesthetic defaults fromggplot2::GeomPointrange - Updated
GeomTextPhyloto use the aesthetic defaults fromggplot2::GeomText
- R
Published by willgearty 8 months ago
deeptime - deeptime 2.1.0
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_colorcolumn- 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_colorsargument 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
deeptimedatato reduce the size of the deeptime package and the footprint of future deeptime updates
Bug fixes:
- Fixed importing some functions from
ggplot2forcoord_geo_radial()andcoord_geo_polar()
- R
Published by willgearty over 1 year ago
deeptime - deeptime 2.0.0
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
ggpatternpackage (see new vignette) (#52) - Added the
true_colorsoption to getscaledata(), which, when set toFALSE, 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 tocoord_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
phytoolspackage is no longer required to installdeeptimebut is required to use thegeom_phylomorphospace()function - The
geomtextpathpackage is no longer required to installdeeptimebut is required to add labels with thecoord_geo_polar()orcoord_geo_radial()functions - The
gggeo_scale_old()function has been fully deprecated
- R
Published by willgearty over 1 year ago
deeptime - deeptime 1.1.1
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 coordgeopolar() and coordgeoradial() when the r-axis has expansion (#60)
- Improved argument type checking and error handling across the entire package
- R
Published by willgearty almost 2 years ago
deeptime - deeptime 1.1.0
deeptime now requires ggplot2 version 3.4.0 or higher. This version introduces several new features and bug fixes:
- Added geompointsrange(), a function designed for visualizing temporal occurrence data
- Added facetgridcolor() and facetwrapcolor() for changing strip background colors (#50)
- Added coordgeoradial(), an enhanced version of coordgeopolar() (only works with ggplot2 version 3.5.0 and higher) (#56)
- Added
familyandfontfacearguments to coord_geo() - Added the ability to include interval labels with coordgeopolar() (#48)
- Fixed the interaction between coord_geo() and ggsave() (#49)
- Fixed
size = "auto"whencenter_end_labels = TRUEin 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 coordgeopolar() are now prepended with "deeptime." (e.g.,
deeptime.axis.line.r) (#51) - ggplot2 version 3.5.0 has broken several edge cases of coordtransxy(). See the documentation for more details. This will be fixed in a future deeptime release.
- R
Published by willgearty almost 2 years ago
deeptime - v0.3.0
deeptime now requires ggplot2 version 3.3.0 or higher. Several new features and fixed compatibility with various ggplot2 versions.
- Added coordgeopolar(), for adding timescales to polar plots (#33)
- Added color and fill discrete scales that use the GTS colors (#43)
- Fixed coordgeopolar() and coordtransxy() 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)
- R
Published by willgearty over 3 years ago
deeptime - v0.2.0
Several new features and bug fixes.
- coord_geo() now works with discrete axes (#32 and #35)
- Fixed a bug that prevented the use of custom interval data
- Added option to use ggfittext to automatically resize labels (#19)
- Added coordtransflip() (#20)
- Fixed axis labels for coordtransxy() (#36)
- Added tests with testthat (#34)
- R
Published by willgearty over 4 years ago
deeptime - v0.1.0
First minor release (released on CRAN!)
- Fixed ability to use text transformations (from
scales) incoord_geo()(#30) - Added automatic R CMD check Github Actions
- Fixed S3 method consistency and other R CMD check warnings and notes
- Fixed
coord_geo()when axis breaks were reversed or NULL (#23 and #29) - Added packages from examples and README to
Suggests
- R
Published by willgearty over 4 years ago
deeptime - v0.0.6
Several bug fixes and minor features.
- Added ability to specify a layout for
ggarrange2()(#21) - Added ability to center labels for time intervals that are broken by axis limits (#18)
- Fixed
gggeo_scale()forggplot2>=3.3.0 (#22) - Replaced README examples with examples using real data (#28)
- Fixed using first letters for the
posargument - Fixed label order (#26)
- Switched from Travis to Github Actions (#27)
- Fixed handling of axis tick labels for coordtransxy (#31)
- R
Published by willgearty over 4 years ago
deeptime - v0.0.5
Added coord_geo(), which is a coordinate system for ggplot2 that allows for adding highly customized timescales to ggplot objects. Both gggeo_scale() and gggeo_scale_old are preserved but will receive notably less maintenance moving forward.
- Updated examples and documentation to use
coord_geo() - Added
coord_trans_xy(), which is a coordinate system forggplot2that is similar tocoord_trans()but allows for 2-dimensional transformations - Added
disparity_through_time()which allows for plotting 2-dimensional data across a 3rd dimension (usinglattice)
- R
Published by willgearty over 4 years ago
deeptime - v0.0.3
Patch release for bug fixes
- Added options to customize borders and line width
- Fixed abbreviations for stages named "Series X" (#9)
- Fixed scale when x-axis crosses 0 (#10, #12)
- Preserve margins of original plots (#13)
- Fixed scale for plots with multiple panels
- R
Published by willgearty over 4 years ago
deeptime - v0.0.1
First full release. Adds scale onto the bottom of a ggplot.
- Depends on R>3.4 (#1)
- Fixed adding scales to faceted plots (#2)
- Added timescale data from PBDB API (#3)
- Fixed the use of ggtree when a geom has its own data (#5)
- Fixed the stacking of multiple scales (#6)
- Fixed documentation spelling (#7)
- R
Published by willgearty over 4 years ago