Repository navigation
Labels
Description
Currently out vanilla environment job, that does not have utf8 encoding:
* checking code files for non-ASCII characters ... OK
* checking R files for syntax errors ... WARNING
Warning in Sys.setlocale("LC_CTYPE", "en_US.UTF-8") :
OS reports request to set locale to "en_US.UTF-8" cannot be honored
Is failing on the following tests:
Test 2194.7 produced 0 errors but expected 1
Expected: Internal error.*types or lengths incorrect
Observed:
Tests 2253* skipped because they need a UTF-8 locale.
Tests 2266* skipped. n-tilde cannot be represented in the native encoding on this system. Please report to the data.table issue tracker.
Test 2298.1 ran without errors but failed check that x equals y:
> x = rbindlist(list(x, y), use.names = TRUE)
<U+00E4> <U+00F6> <U+00FC> [Key= Types=dou,dou,dou Classes=num,num,num]
1: 1 2 3
2: 6 4 5
> y = data.table(`<U+00E4>` = c(1, 6), `<U+00F6>` = c(2, 4), `<U+00FC>` = c(3, 5))
<U+00E4> <U+00F6> <U+00FC> [Key= Types=dou,dou,dou Classes=num,num,num]
1: 1 2 3
2: 6 4 5
Different column names
Test 2298.2 ran without errors but failed check that x equals y:
> x = rbindlist(list(y, x), use.names = TRUE)
<f6> <fc> <e4> [Key= Types=dou,dou,dou Classes=num,num,num]
1: 4 5 6
2: 2 3 1
> y = data.table(`<U+00F6>` = c(4, 2), `<U+00FC>` = c(5, 3), `<U+00E4>` = c(6, 1))
<U+00F6> <U+00FC> <U+00E4> [Key= Types=dou,dou,dou Classes=num,num,num]
1: 4 5 6
2: 2 3 1
Different column names
Test 2298.3 ran without errors but failed check that x equals y:
> x = rbindlist(list(x, y), use.names = TRUE, fill = TRUE)
<U+00E4> <U+00F6> <U+00FC> [Key= Types=dou,dou,dou Classes=num,num,num]
1: 1 2 3
2: NA 4 5
> y = data.table(`<U+00E4>` = c(1, NA), `<U+00F6>` = c(2, 4), `<U+00FC>` = c(3, 5))
<U+00E4> <U+00F6> <U+00FC> [Key= Types=dou,dou,dou Classes=num,num,num]
1: 1 2 3
2: NA 4 5
Different column names
Test 2298.4 ran without errors but failed check that x equals y:
> x = rbindlist(list(y, x), use.names = TRUE, fill = TRUE)
<f6> <fc> <U+00E4> [Key= Types=dou,dou,dou Classes=num,num,num]
1: 4 5 NA
2: 2 3 1
> y = data.table(`<U+00F6>` = c(4, 2), `<U+00FC>` = c(5, 3), `<U+00E4>` = c(NA, 1))
<U+00F6> <U+00FC> <U+00E4> [Key= Types=dou,dou,dou Classes=num,num,num]
1: 4 5 NA
2: 2 3 1
Different column names
V1
1
V1
0,1
0,2
a,b
a
Sun Sep 21 04:23:35 2025 endian==little, sizeof(long double)==16, capabilities('long.double')==TRUE, longdouble.digits==64, sizeof(pointer)==8, TZ=='UTC', Sys.timezone()=='UTC', Sys.getlocale()=='C', l10n_info()=='MBCS=FALSE; UTF-8=FALSE; Latin-1=FALSE; codeset=ANSI_X3.4-1968', getDTthreads()=='This installation of data.table has not been compiled with OpenMP support.; omp_get_num_procs()==1; R_DATATABLE_NUM_PROCS_PERCENT==unset (default 50); R_DATATABLE_NUM_THREADS==unset; R_DATATABLE_THROTTLE==unset (default 1024); omp_get_thread_limit()==1; omp_get_max_threads()==1; OMP_THREAD_LIMIT==unset; OMP_NUM_THREADS==unset; RestoreAfterFork==true; data.table is using 1 threads with throttle==1024. See ?setDTthreads.', .libPaths()=='/builds/Rdatatable/data.table/data.table.Rcheck','/usr/local/lib/R/site-library','/usr/lib/R/site-library','/usr/lib/R/library', zlib header files were not found when data.table was compiled
Error in test.data.table() :
5 errors out of 10961. Search tests/tests.Rraw for test numbers 2194.7, 2298.1, 2298.2, 2298.3, 2298.4. Duration: 27.5s elapsed (27.2s cpu).
It could use same escape as:
Tests 2253* skipped because they need a UTF-8 locale.
Tests 2266* skipped. n-tilde cannot be represented in the native encoding on this system. Please report to the data.table issue tracker.
So we don't raise false positive failure.
Activity
jangorecki commentedon Sep 23, 2025
More of the code, probably around tests that were escaped here, has to be escaped as well: https://rdatatable.gitlab.io/data.table/web/checks/data.table/test-lin-rel-vanilla/00check.log