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

Move independently programmed functions for validation to helper.R #130

Merged
merged 1 commit into from Feb 21, 2024

Conversation

nanxstats
Copy link
Collaborator

There are some independently programmed functions for validating gsDesign under tests/.

They were previously stored in tests/gsDesign_independent_code.R.

This PR moves this file to tests/testthat/helper.R and removes all source() calls from individual tests.

This follows the testthat best practices described in R Packages. Objects or functions defined in a helper file are available to all the tests, without the need to source().

@nanxstats nanxstats merged commit ae18ea5 into master Feb 21, 2024
9 checks passed
@nanxstats nanxstats deleted the testthat-helper branch February 21, 2024 21:31
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

2 participants