Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major upgrades to {austraits} #131

Merged
merged 57 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from 55 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
64db845
Trying out map for tests
fontikar Jan 12, 2023
7704303
Added version number to austraits_list_post
fontikar Jan 12, 2023
5e2e6a2
Added Wright_2019 in old rel test dataset so tests are consistent
fontikar Jan 12, 2023
426fc4d
Updated code to subset 4.0.0 from zenodo
fontikar Jan 12, 2023
b677567
Version testing for extract, and summarise_austriats
fontikar Jan 12, 2023
c2008c5
Combined extract_ tests and added version testing
fontikar Jan 12, 2023
5e47cfb
Version tests for join_
fontikar Jan 13, 2023
c0781b5
Version tests for widetable and renamed test files
fontikar Jan 13, 2023
50154e1
#60 fixed imports for pivot_wider, organised tests, currently not wor…
fontikar Jan 13, 2023
247db43
Minor naming adjustments in test
fontikar Jan 13, 2023
2b79ab5
Merge branch 'multi_tests' into develop: All possible tests is run th…
fontikar Jan 13, 2023
82a0f0f
Change some dependencies to imports
dfalster Jan 25, 2023
6e0cb08
Remove helper functions to vignettes
dfalster Jan 25, 2023
8f79aa6
Update deprecated functions
dfalster Jan 25, 2023
30d95cc
Restructure tests to run faster
dfalster Jan 25, 2023
9615ed0
Change GH actions triggers
dfalster Jan 25, 2023
87bdb95
ensure consistent ordering of rows
dfalster Jan 25, 2023
846ba84
Merge branch 'master' into develop
fontikar Oct 16, 2023
3564de0
bumped version number
fontikar Oct 16, 2023
4a534bf
Update to work with latest zenodo API (#81)
dfalster Oct 16, 2023
17de18c
Pulled files we want to develop from change-v5
fontikar Oct 19, 2023
f9c1666
Changes for v5 austraits.build (#78)
fontikar Nov 21, 2023
10791de
Bumped version number and updated news
fontikar Nov 21, 2023
32e5262
Added references to packages
fontikar Nov 21, 2023
a64a360
Updated version for GH steps
fontikar Nov 21, 2023
23a2f7a
Updated v number for GHA
fontikar Nov 21, 2023
147030b
Expanding testing suite to all 3 major versions of AusTraits (#86)
fontikar Nov 22, 2023
2bd66f1
Added codecov yml
fontikar Nov 22, 2023
cc8e8cf
Merge branch 'develop' of https://github.com/traitecoevo/austraits in…
fontikar Nov 22, 2023
d1c6f61
Setting limit for patch cov
fontikar Nov 22, 2023
91c94c4
Merge branch 'master' into develop
fontikar Nov 26, 2023
a541663
bumped version number for dev
fontikar Nov 26, 2023
277a7e5
API related packages to Suggests (#89)
fontikar Nov 27, 2023
9360930
Merge branch 'master' into develop
fontikar Sep 3, 2024
9d32105
Bumped version number
fontikar Sep 3, 2024
6928738
create new function `check_compatibility` (#95)
ehwenk Sep 4, 2024
4df279b
A generalised solution to deprecate `switch` functions (#100)
fontikar Sep 9, 2024
1c10ad1
Mass removal of version switches (#102)
fontikar Sep 12, 2024
20ced9a
Update documentation (#103)
ehwenk Sep 13, 2024
16d932d
Add `database_create_combined_table` & revise `join_` functions (#104)
ehwenk Sep 26, 2024
fdaf6bb
Create generalised `extract_data` function (#117)
ehwenk Nov 12, 2024
70e7671
Renaming files and parameters (#119)
ehwenk Nov 13, 2024
09f96f2
Extract from single table only (#121)
ehwenk Nov 13, 2024
f16e41e
Updating print function and messaging style (#122)
fontikar Nov 14, 2024
9e11eb3
function fixes (#124)
ehwenk Nov 14, 2024
1ca432f
Minor fixes to print.traits.build (#127)
fontikar Nov 15, 2024
7192f3d
Remove function `summarise_trait_means` (#125)
ehwenk Nov 15, 2024
a0d902c
Update bind_databases.R (#129)
ehwenk Nov 16, 2024
0c9f8a7
Updated documentation and website for austraits 3.0.0 (#130)
fontikar Nov 17, 2024
80d561d
Bumped version number and final fixes in documentation to pass R CMD …
fontikar Nov 17, 2024
c734d8f
Added cheatsheet and thumbnails in README
fontikar Nov 18, 2024
82c2a5d
Added cheatsheet and thumbnails in README
fontikar Nov 18, 2024
be0b883
Updated gitignore
fontikar Nov 18, 2024
f379fff
Minor testing patch in prep for austraits 3.0.0 (#133)
fontikar Nov 18, 2024
32b5177
additional tests (#132)
ehwenk Nov 18, 2024
b8feb6d
Fill some gaps in testing (#134)
dfalster Nov 18, 2024
1f5f4de
Function to test database structure (#135)
ehwenk Nov 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
^ignore$
^austraits$
^codecov\.yml$

1 change: 0 additions & 1 deletion .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
branches:
- master
- develop
- upgrade
pull_request:
branches:
- master
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ data/austraits/
#
*.pdf
*.svg
inst/cheatsheet/austraits-cheatsheet.pptx
inst/cheatsheet/austraits-cheatsheet.pptx
19 changes: 13 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
Package: austraits
Title: Helpful functions to access, summarise and wrangle austraits data
Version: 2.2.3
Title: Helpful functions to access the AusTraits database and wrangle data from other traits.build databases
Version: 3.0.0
Authors@R:
c(person(given = "Daniel",
family = "Falster",
role = "aut",
email = "[email protected]",
comment = c(ORCID = "0000-0002-9814-092X")),
person(given = "Elizabeth",
family = "Wenk",
role = "ctb",
email = "[email protected]",
comment = c(ORCID = "0000-0001-5640-5910")),
person(given = "Fonti",
family = "Kar",
role = c("aut", "cre"),
Expand All @@ -16,13 +21,13 @@ Authors@R:
family = "Indiarto",
role = c("aut"),
comment = c(ORCID = "0000-0001-9546-8201")))
Description: austraits is a package for accessing, summarising and wrangling austraits data. The package allows users to explore the scope and type of data available, as well as subset and wrangle relevant specific data for furture research. This package is still under development. See README and vignette('austraits') for further information.
Description: `austraits` allow users to **access, explore and wrangle data** from traits.build relational databases. It is also an R interface to AusTraits, the Australian plant trait database. This package contains functions for joining data from various tables, filtering to specific records, combining multiple databases and visualising the distribution of the data. We expect this package will assist users in working with `traits.build` databases.
License: MIT + file LICENSE
Encoding: UTF-8
Language: en
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.2
Depends:
R (>= 4.0.0),
RefManageR
Expand All @@ -32,19 +37,21 @@ Imports:
rlang,
purrr,
tidyselect,
assertthat,
stringr,
stats,
jsonlite,
utils,
magrittr,
janitor,
lifecycle
lifecycle,
tibble,
cli
Suggests:
ggplot2,
ggpointdensity,
ggbeeswarm (>= 0.7.1),
gridExtra,
readr,
scales,
forcats,
viridis,
Expand Down
35 changes: 18 additions & 17 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,41 +1,42 @@
# Generated by roxygen2: do not edit by hand

S3method(print,austraits)
S3method(print,traits.build)
export("%>%")
export(as_wide_table)
export(bind_databases)
export(bind_trait_values)
export(convert_df_to_list)
export(convert_list_to_df1)
export(convert_list_to_df2)
export(extract_data)
export(extract_dataset)
export(extract_taxa)
export(extract_trait)
export(flatten_database)
export(get_version_latest)
export(get_versions)
export(join_all)
export(join_contexts)
export(join_locations)
export(join_context_properties)
export(join_contributors)
export(join_location_coordinates)
export(join_location_properties)
export(join_methods)
export(join_sites)
export(join_taxonomy)
export(join_taxa)
export(join_taxonomic_updates)
export(load_austraits)
export(lookup_context_property)
export(lookup_location_property)
export(lookup_trait)
export(plot_locations)
export(plot_site_locations)
export(plot_trait_distribution_beeswarm)
export(separate_trait_values)
export(summarise_austraits)
export(summarise_trait_means)
export(summarise_database)
export(trait_pivot_longer)
export(trait_pivot_wider)
import(RefManageR)
importFrom(dplyr,arrange)
importFrom(dplyr,filter)
importFrom(dplyr,group_by)
importFrom(dplyr,select)
importFrom(dplyr,summarise)
importFrom(lifecycle,deprecated)
importFrom(magrittr,"%>%")
importFrom(rlang,":=")
importFrom(rlang,.data)
importFrom(stats,family)
importFrom(stringr,str_detect)
importFrom(tidyr,pivot_longer)
importFrom(tidyr,pivot_wider)
importFrom(tidyselect,all_of)
importFrom(utils,methods)
17 changes: 16 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
# austraits 2.2.1
# austraits 3.0.0
- Updated dependencies, placing graphics related packages in Suggests
- Added internal function to check the compatibility of databases
- Added internal function notify users that some database versions will not be supported
- The following functions will no longer support AusTraits version < 5.0.0:
- `extract_*`
- `trait_pivot_wider`
- `join_*`
- `plot_site/locations`
- `plot_trait_beeswarm`
- `as_wide_table`
- `trait_pivot_longer` is deprecated
- `summarise_trait_means` will trigger warning due to uninformed calculations
- Added new function `extract_data`
- Added new function `bind_databases`
- Added new function `flatten_databases`
- Updated print function `print.traits.build`
Loading
Loading