-
Notifications
You must be signed in to change notification settings - Fork 20
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
options(warn = 1) by default? #74
Comments
Thanks, I was unaware of this WRE requirement. It seems like a good default, especially for |
There are some other things I should set, e.g. make sure that the sorting locale is |
Interesting suggestion! But I am not sure if always turning it on is right? Maybe making this is a toggle is better. I.e. in my for-work package, I warn on use of a deprecated-but-supported interface. That counts as a warning yet I know full well it is there. Making the test fails does not help. Or maybe we add a per-file 'un-setter' of this default? |
Come to think about it, I could locally reset |
For packages we can probably get away with adding the option setting to options(warn=1)
tinytest::test_package("foo") I can add this to |
WRE now (wch/r-source@3a3073b) says:
Is this something that tinytest could do by default, e.g. in
run_test_file()
?PS. This is just a comment; I'm new to tinytest, so sorry if this has already been discussed or is out of the scope of the design/philosophy.
The text was updated successfully, but these errors were encountered: