Skip to content

Commit

Permalink
Bumped version number and updated news
Browse files Browse the repository at this point in the history
  • Loading branch information
fontikar committed Nov 21, 2023
1 parent f9c1666 commit 10791de
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
11 changes: 5 additions & 6 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion R/load_austraits.R
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Check warning on line 227 in R/load_austraits.R

View check run for this annotation

Codecov / codecov/patch

R/load_austraits.R#L226-L227

Added lines #L226 - L227 were not covered by tests

# Grab the first version
dplyr::first(metadata$version) |> as.character()

Check warning on line 230 in R/load_austraits.R

View check run for this annotation

Codecov / codecov/patch

R/load_austraits.R#L230

Added line #L230 was not covered by tests
Expand Down

0 comments on commit 10791de

Please sign in to comment.