-
Notifications
You must be signed in to change notification settings - Fork 1
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 duplicate functions #145
Conversation
- Move custom `expect_` functions out of `dataset_test`, into R/test_functions.R so that R CMD check warnings are removed - Rename prefixes to `test_`
@dfalster I should have explained clearer but basically |
Ok! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ehwenk good to merge !
dataset_test
andtests
#131expect_
functions out ofdataset_test
, into R/test_functions.R so that R CMD check warnings are removed (otherwise "no visible global function definition" warning comes up)test_expect_
to differentiate between customtestthat
functions and built-intestthat
functionsexpect_silent()
from {testthat} instead of writing a custom function because I'm not sure how to rewrite the function to capture messages on top of errors and warnings