The test "A gt table can use UTF-8 chars in any system locale" is already skipped on Windows and Solaris. However, it also fails (trivially) from
|
available_locales <- system("locale -a", intern = TRUE) |
on (minimal) Linux systems without a locale command, such as Alpine Linux. This is the only failing test for me (see output below) and it would be nice if it could be skipped as appropriate. Thanks!
R CMD check output
* checking tests ...
Running ‘testthat.R’ [94s/48s]
[94s/48s] ERROR
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On Linux (1)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-gt_object.R:188'): a gt table can use UTF-8 chars in any system locale ──
<cmdError/error/condition>
Error in `system("locale -a", intern = TRUE)`: error in running command
Backtrace:
▆
1. └─base::system("locale -a", intern = TRUE) at test-gt_object.R:188:2
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 1706 ]
Error: Test failures
Execution halted
sessionInfo()
> sessionInfo()
R Under development (unstable) (2023-02-09 r83794)
Platform: x86_64-pc-linux-musl (64-bit)
Running under: Alpine Linux v3.17
Matrix products: default
BLAS: /home/smeyer/QA/R-83794/build/lib/libRblas.so
LAPACK: /home/smeyer/QA/R-83794/build/lib/libRlapack.so; LAPACK version 3.11.0
locale:
[1] C.UTF-8 C C C C C
time zone: Europe/Berlin
tzcode source: internal
The test "A gt table can use UTF-8 chars in any system locale" is already skipped on Windows and Solaris. However, it also fails (trivially) from
gt/tests/testthat/test-gt_object.R
Line 188 in 187b2dc
on (minimal) Linux systems without a
localecommand, such as Alpine Linux. This is the only failing test for me (see output below) and it would be nice if it could be skipped as appropriate. Thanks!R CMD check output
sessionInfo()