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

use base R fns to compare versions, add tests, improve readability #144

Merged
merged 1 commit into from May 1, 2024

Conversation

slager
Copy link
Contributor

@slager slager commented May 1, 2024

Greatly simplify internal function .check_dataversion_string()

  • validate inputs with recently added function validate_DataVersion()
  • use base R compareVersion() to compare the versions instead of using the previous, more complex method
  • change naming of returned value elements, and assigned object, to increase code readability outside the function
  • additional unit tests

@slager slager merged commit 29f7601 into develop May 1, 2024
7 checks passed
@slager slager deleted the better_way branch May 1, 2024 02:02
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.

None yet

1 participant