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

Update testdata.R #134

Merged
merged 37 commits into from
Nov 19, 2023
Merged

Update testdata.R #134

merged 37 commits into from
Nov 19, 2023

Conversation

ehwenk
Copy link
Collaborator

@ehwenk ehwenk commented Nov 16, 2023

fixes to tests described in #133

fixes to tests described in #133
@ehwenk ehwenk requested a review from dfalster November 16, 2023 22:05
R/testdata.R Outdated Show resolved Hide resolved
R/testdata.R Outdated Show resolved Hide resolved
ehwenk and others added 27 commits November 17, 2023 09:13
add notes to explain commented out tests
- commenting out more of taxonomic_updates tests
- for fields like basis_of_record, splitting input into `words` since fixed values sometimes multiple terms
- add `unknown` to list of allowed values for various variables
more stringr splits
reinstate some taxonomy tests

I think some others are fixed as well, but result in lots more metadata file changes - that don't affect output
…dates

bringing back online tests to ensure no unneeded info in taxonomic_updates
yangsophieee and others added 9 commits November 17, 2023 23:27
- Also fix message for testing dataframe column names
* fixed taxonomic_updates table to include `aligned_name_taxon_id`, `aligned_name_taxonomic_status`
* changed `process_standardise_names` to not capitalise an "x" indicating a hybrid taxon
* some minor edits to schema
* fix reports to work with new taxon scheme
@ehwenk ehwenk merged commit ab00087 into develop Nov 19, 2023
3 checks passed
@ehwenk ehwenk deleted the tests-temp-fix branch November 19, 2023 06:26
@dfalster dfalster mentioned this pull request Nov 19, 2023
dfalster added a commit that referenced this pull request Nov 19, 2023
* 

*Update testdata.R (#134) - fixes to tests described in #133
   - for fields like basis_of_record, splitting input into `words` since fixed values sometimes multiple terms
   - add "unknown" to lists of allowed values

* combined with fixes to metadata files in austraits.build
* Add less/greater than or equal signs to exceptions for metadata
* fixed taxonomic_updates table to include `aligned_name_taxon_id`, `aligned_name_taxonomic_status`
* changed `process_standardise_names` to not capitalise an "x" indicating a hybrid taxon
* some minor edits to schema

* report edits
   -  fix reports to work with new taxon scheme
   - Remove bins and ranges from plot_trait_distribution_beeswarm

---------

Co-authored-by: yangsophieee <[email protected]>
Co-authored-by: Sophie Yang <[email protected]>
Co-authored-by: Elizabeth Wenk <[email protected]>
dfalster added a commit that referenced this pull request Nov 19, 2023
* Update testdata.R (#134) - fixes to tests described in #133
   - for fields like basis_of_record, splitting input into `words` since fixed values sometimes multiple terms
   - add "unknown" to lists of allowed values

* combined with fixes to metadata files in austraits.build
* Add less/greater than or equal signs to exceptions for metadata
* fixed taxonomic_updates table to include `aligned_name_taxon_id`, `aligned_name_taxonomic_status`
* changed `process_standardise_names` to not capitalise an "x" indicating a hybrid taxon
* some minor edits to schema

* report edits
   -  fix reports to work with new taxon scheme
   - Remove bins and ranges from plot_trait_distribution_beeswarm

---------

Co-authored-by: yangsophieee <[email protected]>
Co-authored-by: Sophie Yang <[email protected]>
Co-authored-by: Elizabeth Wenk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants