R Under development (unstable) (2025-12-02 r89085 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(tryCatchLog) Using futile.logger for logging... > > > > # Set to something like [1] "en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/de_DE.UTF-8" > # to ensure english error messages > # DISABLED - DOES NOT WORK (AT LEAST NOT ON OSX)! > # Sys.setlocale("LC_ALL", "en_US.UTF-8") > # Sys.getlocale() > > # https://stackoverflow.com/questions/47977951/how-to-ensure-english-error-messages-in-testthat-unit-tests > Sys.setenv("LANGUAGE" = "EN") # work-around to always create english R (error) messages > > > > test_check("tryCatchLog") tryCatchLog[ FAIL 0 | WARN 0 | SKIP 1 | PASS 448 ] ══ Skipped tests (1) ════════════════════════════════════════════════════════════════════════════════════════════════════════════ • Unsolved issue with log output produced after test_set_logging_package despite disable_logging_output.R (1): 'test_set_logging_package.R:5:1' [ FAIL 0 | WARN 0 | SKIP 1 | PASS 448 ] > > proc.time() user system elapsed 4.09 0.34 4.43