You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
testthat::test_that("X",{
testthat::expect_equal(1, 1)
})
#> Warning in check_language_envvar("LC_ALL"): Changing language has no effect#> when envvar LC_ALL='C.UTF-8'#> Warning in check_language_envvar("LC_ALL"): Changing language has no effect#> when envvar LC_ALL='C.UTF-8'#> Test passed 🎉
Yeah, I think that's fine. But maybe we should export a helper like translations_available() or skip_if_no_translations() so there's some way to opt-out if needed?
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: