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

Unit testing #27

Merged
merged 62 commits into from
Dec 15, 2022
Merged

Unit testing #27

merged 62 commits into from
Dec 15, 2022

Conversation

wright13
Copy link
Collaborator

No description provided.

Wright added 30 commits October 25, 2022 16:28
Made errors and return values more consistent, updated roxygen documentation to remove redundancy. test_field_num is half done and broken, will fix soon
Checks for mismatched field names and order now
# Conflicts:
#	NAMESPACE
#	R/tabular_data_congruence.R
#	man/test_delimiter.Rd
#	man/test_dup_data_files.Rd
#	man/test_dup_meta_entries.Rd
#	man/test_field_num.Rd
#	man/test_file_name_match.Rd
#	man/test_footer.Rd
#	man/test_header_num.Rd
#	man/test_metadata_version.Rd
#	man/test_validate_schema.Rd
Will run tests on an arbitrary number of data packages as long as they're all in the same folder
Currently breaks for anything not in ISO format
…le format strings

Will move to a more appropriate package eventually
It still has issues. Doesn't handle year-only columns gracefully.
It now behaves nicely for columns that are year only or year/month only
Wright added 28 commits December 5, 2022 16:54
…not all) tables are missing header/delimiter info
Merge branch 'main' into unit-testing

# Conflicts:
#	R/tabular_data_congruence.R
#	man/test_dup_data_files.Rd
#	man/test_fields_match.Rd
@wright13 wright13 merged commit 1c74663 into main Dec 15, 2022
@wright13 wright13 deleted the unit-testing branch December 15, 2022 22:04
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.

1 participant