-
Notifications
You must be signed in to change notification settings - Fork 319
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
Align with withr::local_language()
from dev withr
#1879
base: main
Are you sure you want to change the base?
Conversation
Confirming that this fixes my problems with dev withr: r-dbi/RMariaDB@9e1f5d1.
I wonder why testthat's own tests fail now. |
Maybe you need to adjust the tests like this? r-lib/withr@08619ef |
Tried a moonshot, but could you please take this on (fixing tests if needed, NEWS, ...)? |
Co-authored-by: Lionel Henry <[email protected]>
@lionel- can you take another look at this please? |
@@ -133,8 +133,10 @@ local_reproducible_output <- function(width = 80, | |||
.local_envir = .env | |||
) | |||
|
|||
if (isTRUE(capabilities("NLS")) && Sys.getenv("LANG") != "C") { | |||
withr::local_language(lang, .local_envir = .env) | |||
if (isTRUE(capabilities("NLS"))) { |
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.
Should we also bump version in DESCRIPTION
?
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.
yep good idea
Otherwise tests show warnings for me.