Skip to content

Some tests fail with R-devel r83558 #5579

Description

@aadler

# test.data.table()

getDTthreads(verbose=TRUE):
  OpenMP version (_OPENMP)       201511
  omp_get_num_procs()            16
  R_DATATABLE_NUM_PROCS_PERCENT  unset (default 50)
  R_DATATABLE_NUM_THREADS        unset
  R_DATATABLE_THROTTLE           unset (default 1024)
  omp_get_thread_limit()         2147483647
  omp_get_max_threads()          16
  OMP_THREAD_LIMIT               unset
  OMP_NUM_THREADS                unset
  RestoreAfterFork               true
  data.table is using 8 threads with throttle==1024. See ?setDTthreads.
test.data.table() running: C:/RDevel/avraham/R/RCurrent/R-devel/library/data.table/tests/tests.Rraw.bz2 
Loading required package: data.table
data.table 1.14.6 using 8 threads (see ?getDTthreads).  Latest news: r-datatable.com

**** Suggested package bit64 is not installed. Tests using it will be skipped.


**** Suggested package R.utils is not installed. Tests using it will be skipped.

Running test id 1613.605      Test 1613.605 ran without errors but failed check that x equals y:
> x = all.equal(data.table(a = 1), try(stop("this wont work"), silent = TRUE),      check.attributes = FALSE) 
First 1 of 1 (type 'character'): 
[1] "Datasets have different column modes. First 3: a(numeric!=character)"
> y = "target is data.table but current is not and failed to be coerced to it" 
First 1 of 1 (type 'character'): 
[1] "target is data.table but current is not and failed to be coerced to it"
1 string mismatch
Running test id 2163           
Fri Jan  6 11:14:11 2023  endian==little, sizeof(long double)==16, longdouble.digits==64, sizeof(pointer)==8, TZ==unset, Sys.timezone()=='Asia/Jerusalem', Sys.getlocale()=='LC_COLLATE=English_United States.utf8;LC_CTYPE=English_United States.utf8;LC_MONETARY=English_United States.utf8;LC_NUMERIC=C;LC_TIME=English_United States.utf8', l10n_info()=='MBCS=TRUE; UTF-8=TRUE; Latin-1=FALSE; codepage=65001; system.codepage=65001', getDTthreads()=='OpenMP version (_OPENMP)==201511; omp_get_num_procs()==16; R_DATATABLE_NUM_PROCS_PERCENT==unset (default 50); R_DATATABLE_NUM_THREADS==unset; R_DATATABLE_THROTTLE==unset (default 1024); omp_get_thread_limit()==2147483647; omp_get_max_threads()==16; OMP_THREAD_LIMIT==unset; OMP_NUM_THREADS==unset; RestoreAfterFork==true; data.table is using 8 threads with throttle==1024. See ?setDTthreads.', zlibVersion()==1.2.13 ZLIB_VERSION==1.2.13
Error in data.table::test.data.table() : 
  1 error out of 9010. Search tests/tests.Rraw.bz2 for test number 1613.605.
In addition: Warning messages:
1: In Sys.setlocale("LC_CTYPE", "Chinese (Simplified)_China.936") :
  using locale code page other than 65001 ("UTF-8") may cause problems
2: In (function (category = "LC_ALL", locale = "")  :
  using locale code page other than 65001 ("UTF-8") may cause problems

sessionInfo()

R Under development (unstable) (2023-01-04 r83558 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)

Matrix products: default


locale:
[1] LC_COLLATE=English_United States.utf8  LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

time zone: Asia/Jerusalem
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] data.table_1.14.6

loaded via a namespace (and not attached):
[1] compiler_4.3.0 tools_4.3.0  

Activity

  1. aadler commented on Jan 30, 2023

    @aadler
    Author

    The error still exists in R-devel 83602.

    > library(data.table)
    data.table 1.14.6 using 6 threads (see ?getDTthreads).  Latest news: r-datatable.com
    > test.data.table()
    getDTthreads(verbose=TRUE):
      OpenMP version (_OPENMP)       201511
      omp_get_num_procs()            12
      R_DATATABLE_NUM_PROCS_PERCENT  unset (default 50)
      R_DATATABLE_NUM_THREADS        unset
      R_DATATABLE_THROTTLE           unset (default 1024)
      omp_get_thread_limit()         2147483647
      omp_get_max_threads()          12
      OMP_THREAD_LIMIT               unset
      OMP_NUM_THREADS                unset
      RestoreAfterFork               true
      data.table is using 6 threads with throttle==1024. See ?setDTthreads.
    test.data.table() running: C:/R/RCurrent/R-devel/library/data.table/tests/tests.Rraw.bz2 
    
    **** Suggested package bit64 is not installed. Tests using it will be skipped.
    
    Running test id 1613.605      Test 1613.605 ran without errors but failed check that x equals y:
    > x = all.equal(data.table(a = 1), try(stop("this wont work"), silent = TRUE),      check.attributes = FALSE) 
    First 1 of 1 (type 'character'): 
    [1] "Datasets have different column modes. First 3: a(numeric!=character)"
    > y = "target is data.table but current is not and failed to be coerced to it" 
    First 1 of 1 (type 'character'): 
    [1] "target is data.table but current is not and failed to be coerced to it"
    1 string mismatch
    Running test id 2163           
    Mon Jan 30 14:14:44 2023  endian==little, sizeof(long double)==16, longdouble.digits==64, sizeof(pointer)==8, TZ==unset, Sys.timezone()=='America/New_York', Sys.getlocale()=='LC_COLLATE=English_United States.utf8;LC_CTYPE=English_United States.utf8;LC_MONETARY=English_United States.utf8;LC_NUMERIC=C;LC_TIME=English_United States.utf8', l10n_info()=='MBCS=TRUE; UTF-8=TRUE; Latin-1=FALSE; codepage=65001; system.codepage=65001', getDTthreads()=='OpenMP version (_OPENMP)==201511; omp_get_num_procs()==12; R_DATATABLE_NUM_PROCS_PERCENT==unset (default 50); R_DATATABLE_NUM_THREADS==unset; R_DATATABLE_THROTTLE==unset (default 1024); omp_get_thread_limit()==2147483647; omp_get_max_threads()==12; OMP_THREAD_LIMIT==unset; OMP_NUM_THREADS==unset; RestoreAfterFork==true; data.table is using 6 threads with throttle==1024. See ?setDTthreads.', zlibVersion()==1.2.13 ZLIB_VERSION==1.2.13
    Error in test.data.table() : 
      1 error out of 9062. Search tests/tests.Rraw.bz2 for test number 1613.605.
    In addition: Warning messages:
    1: In Sys.setlocale("LC_CTYPE", "Chinese (Simplified)_China.936") :
      using locale code page other than 65001 ("UTF-8") may cause problems
    2: In (function (category = "LC_ALL", locale = "")  :
      using locale code page other than 65001 ("UTF-8") may cause problems
    > sessionInfo()
    R Under development (unstable) (2023-01-12 r83602 ucrt)
    Platform: x86_64-w64-mingw32/x64 (64-bit)
    Running under: Windows 10 x64 (build 19045)
    
    Matrix products: default
    
    
    locale:
    [1] LC_COLLATE=English_United States.utf8  LC_CTYPE=English_United States.utf8    LC_MONETARY=English_United States.utf8 LC_NUMERIC=C                          
    [5] LC_TIME=English_United States.utf8    
    
    time zone: America/New_York
    tzcode source: internal
    
    attached base packages:
    [1] stats     graphics  grDevices utils     datasets  methods   base     
    
    other attached packages:
    [1] R.utils_2.12.2    R.oo_1.25.0       R.methodsS3_1.8.2 data.table_1.14.6
    
    loaded via a namespace (and not attached):
    [1] compiler_4.3.0  tools_4.3.0     rstudioapi_0.14
  2. added this to the 1.14.8 milestone on Feb 16, 2023
  3. changed the title [-]Some tests fail with R r83558 ucrt built with Rtools43[/-] [+]Some tests fail with R-devel r83558[/+] on Feb 16, 2023
  4. aadler commented on Feb 20, 2023

    @aadler
    Author

    For the record with release 1.14.8:

    All 9062 tests (last 2163) in tests/tests.Rraw completed ok
    

    Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions