We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
withr::local_language()
1 parent 75c70e0 commit 9b78aeeCopy full SHA for 9b78aee
R/local.R
@@ -133,7 +133,7 @@ local_reproducible_output <- function(width = 80,
133
.local_envir = .env
134
)
135
136
- if (isTRUE(capabilities("NLS")) && Sys.getenv("LANG") != "C") {
+ if (isTRUE(capabilities("NLS")) && !(Sys.getenv("LANG") %in% c("C", "C.UTF-8"))) {
137
withr::local_language(lang, .local_envir = .env)
138
}
139
0 commit comments