-
Notifications
You must be signed in to change notification settings - Fork 39
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
Warnings when running tests using withr #254
Comments
@hadley I'm tempted to never warn. Or maybe only warn when the frame is |
Yeah, I think that's fine. But maybe we should export a helper like |
Good idea. Should the |
I feel like withr? Since that's where the setting is happening? OTOH most people will probably encounter it from testthat via |
I now think:
|
Handling the remaining part in the testthat issue. |
Using
withr 3.0.0
:Created on 2024-01-25 with reprex v2.1.0
Downgrading to 2.5.2 resolves the issue.
My best guess is that it's being invoked here: https://github.com/r-lib/withr/blob/main/R/language.R#L53
Platform: Posit Workbench, using an image built on top of https://github.com/rstudio/rstudio-docker-products/pkgs/container/r-session-complete/137811113?tag=jammy-2023.09.0--89f567d
The text was updated successfully, but these errors were encountered: