From 10791deceeb7074d72c014098b35823941c21fa2 Mon Sep 17 00:00:00 2001 From: Fonti Kar Date: Tue, 21 Nov 2023 11:30:07 +1100 Subject: [PATCH] Bumped version number and updated news --- DESCRIPTION | 2 +- NEWS.md | 11 +++++------ R/load_austraits.R | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index b9a5dc9..06a7531 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: austraits Title: Helpful functions to access, summarise and wrangle austraits data -Version: 2.1.2.9000 +Version: 2.2.2 Authors@R: c(person(given = "Daniel", family = "Falster", diff --git a/NEWS.md b/NEWS.md index b184414..8cb589c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,5 @@ -# austraits 2.1.2 -- Minor bug fix in `as_wide_table` -- Minor bug fix in `join_contexts` -- Removed pkgdown docs/ - - +# austraits 2.2.2 +- Upgrades to `as_wide_table`, `join_`, `trait_pivot_` to work with multiple versions of AusTraits +- Minor fixes across all function so `tidyselect` is happy +- Minor changes to documentation +- Minor fixes to `load_austraits` and `get_versions` due to Zenodo changes diff --git a/R/load_austraits.R b/R/load_austraits.R index 9c9ac1b..80a26a5 100644 --- a/R/load_austraits.R +++ b/R/load_austraits.R @@ -224,7 +224,7 @@ get_version_latest <- function(path = "data/austraits", update = TRUE){ # Sort old to new metadata <- metadata |> - arrange(desc(publication_date)) + dplyr::arrange(dplyr::desc(publication_date)) # Grab the first version dplyr::first(metadata$version) |> as.character()