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
When reproducing an R session also match the locales.
As shown in #33 (comment) locales are not reproduced yet
In Linux, the locale first has to be generated, if missing, and then configured as default or current locale. That seems not to be trivial, especially in non-interactive mode.
The R functions Sys.getlocale() and Sys.setlocale() may be helpful.
A sessionInfo can be reproduced with German locales (or anything other than the default)
Testthat file tests/testthat/test_sessioninfo_reproduce.R runs with test (uncomment corresponding lines):
test_that("the locales are the same ", {
expect_equal(local_sessionInfo$locale, docker_sessionInfo$locale)
})
The text was updated successfully, but these errors were encountered:
Extends #6 and #33
When reproducing an R session also match the locales.
As shown in #33 (comment) locales are not reproduced yet
In Linux, the locale first has to be generated, if missing, and then configured as default or current locale. That seems not to be trivial, especially in non-interactive mode.
The R functions
Sys.getlocale()
andSys.setlocale()
may be helpful.tests/testthat/test_sessioninfo_reproduce.R
runs with test (uncomment corresponding lines):The text was updated successfully, but these errors were encountered: