-
Notifications
You must be signed in to change notification settings - Fork 237
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
Don't use testthat
inside of functions
#2987
Comments
Other places:
|
Partially fixed by #3016 |
Hi @Aariq , can I please work on this issue? |
@Sarthakaga15 there's one more instance that you can work on, in |
github-merge-queue bot
pushed a commit
that referenced
this issue
May 17, 2024
Replacing 'testthat' functions #2987
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
The
testthat
package is made for unit testing, not use inside of functions.testhat
functions appear in at least a couple of places:check_ed_metheader()
check_ed_metfile()
These should be replaced with calls to
stopifnot()
or something from theassert
orassertthat
packagesThe text was updated successfully, but these errors were encountered: