Rdatatable / data.table

R's data.table package extends data.frame:
http://r-datatable.com
Mozilla Public License 2.0
3.62k stars 986 forks source link

Testsuite on PPC: 2 errors out of 1161 #5601

Open barracuda156 opened 1 year ago

barracuda156 commented 1 year ago
* checking tests ...
  Running ‘autoprint.R’
  Comparing ‘autoprint.Rout’ to ‘autoprint.Rout.save’ ... OK
  Running ‘froll.R’
 ERROR
Running the tests in ‘tests/froll.R’ failed.
Last 13 lines of output:
   [9] 4.333333 4.500000 4.142857 5.000000

  [[3]]
   [1]       NA 0.750000 1.250000       NA 1.375000 1.400000 2.000000 2.500000
   [9] 2.250000 2.333333 2.250000 2.666667

  [[4]]
   [1]       NA       NA 1.000000       NA 1.200000 1.250000 1.750000 2.250000
   [9] 2.166667 2.250000 2.071429 2.500000

  Sat Feb 18 12:12:00 2023  endian==big, sizeof(long double)==16, longdouble.digits==1024, sizeof(pointer)==4, TZ==unset, Sys.timezone()=='Asia/Taipei', Sys.getlocale()=='C/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8', l10n_info()=='MBCS=TRUE; UTF-8=TRUE; Latin-1=FALSE; codeset=UTF-8', 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.', zlibVersion()==1.2.13 ZLIB_VERSION==1.2.13
  Error in test.data.table(script = "froll.Rraw") : 
    2 errors out of 1161. Search tests/froll.Rraw for test numbers: 6000.137, 6000.138.
  Execution halted
barracuda156 commented 1 year ago

Detailed output for failures:


R version 4.2.2 (2022-10-31) -- "Innocent and Trusting"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.8.0 (32-bit)

> require(data.table)
Loading required package: data.table
> test.data.table(script="froll.Rraw")
getDTthreads(verbose=TRUE):
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.
test.data.table() running: /opt/local/var/macports/build/_opt_PPCRosettaPorts_R_R-data.table/R-data.table/work/data.table-1.14.8/data.table.Rcheck/data.table/tests/froll.Rraw 

**** Skipping 7 NaN/NA algo='exact' tests because .Machine$longdouble.digits==1024 (!=64); e.g. under valgrind

Test 6000.137 ran without errors but failed check that x equals y:
> x = ans1 
First 4 of 4 (type 'list'): 
[[1]]
 [1]       NA 1.500000 2.500000       NA 2.750000 2.800000 4.000000 5.000000
 [9] 4.500000 4.666667 4.500000 5.333333

[[2]]
 [1]       NA       NA 2.000000       NA 2.400000 2.500000 3.500000 4.500000
 [9] 4.333333 4.500000 4.142857 5.000000

[[3]]
 [1]       NA 0.750000 1.250000       NA 1.375000 1.400000 2.000000 2.500000
 [9] 2.250000 2.333333 2.250000 2.666667

[[4]]
 [1]       NA       NA 1.000000       NA 1.200000 1.250000 1.750000 2.250000
 [9] 2.166667 2.250000 2.071429 2.500000

> y = ans2 
First 4 of 4 (type 'list'): 
[[1]]
 [1]       NA 1.500000 2.500000       NA 2.750000 2.800000 4.000000 5.000000
 [9] 4.500000 4.666667 4.500000 5.333333

[[2]]
 [1]       NA       NA 2.000000       NA 2.400000 2.500000 3.500000 4.500000
 [9] 4.333333 4.500000 4.142857 5.000000

[[3]]
 [1]       NA 0.750000 1.250000       NA 1.375000 1.400000 2.000000 2.500000
 [9] 2.250000 2.333333 2.250000 2.666667

[[4]]
 [1]       NA       NA 1.000000       NA 1.200000 1.250000 1.750000 2.250000
 [9] 2.166667 2.250000 2.071429 2.500000

Test 6000.138 ran without errors but failed check that x equals y:
> x = ans1 
First 4 of 4 (type 'list'): 
[[1]]
 [1]       NA 1.500000 2.500000       NA 2.750000 2.800000 4.000000 5.000000
 [9] 4.500000 4.666667 4.500000 5.333333

[[2]]
 [1]       NA       NA 2.000000       NA 2.400000 2.500000 3.500000 4.500000
 [9] 4.333333 4.500000 4.142857 5.000000

[[3]]
 [1]       NA 0.750000 1.250000       NA 1.375000 1.400000 2.000000 2.500000
 [9] 2.250000 2.333333 2.250000 2.666667

[[4]]
 [1]       NA       NA 1.000000       NA 1.200000 1.250000 1.750000 2.250000
 [9] 2.166667 2.250000 2.071429 2.500000

> y = ans3 
First 4 of 4 (type 'list'): 
[[1]]
 [1]       NA 1.500000 2.500000       NA 2.750000 2.800000 4.000000 5.000000
 [9] 4.500000 4.666667 4.500000 5.333333

[[2]]
 [1]       NA       NA 2.000000       NA 2.400000 2.500000 3.500000 4.500000
 [9] 4.333333 4.500000 4.142857 5.000000

[[3]]
 [1]       NA 0.750000 1.250000       NA 1.375000 1.400000 2.000000 2.500000
 [9] 2.250000 2.333333 2.250000 2.666667

[[4]]
 [1]       NA       NA 1.000000       NA 1.200000 1.250000 1.750000 2.250000
 [9] 2.166667 2.250000 2.071429 2.500000

Sat Feb 18 12:12:00 2023  endian==big, sizeof(long double)==16, longdouble.digits==1024, sizeof(pointer)==4, TZ==unset, Sys.timezone()=='Asia/Taipei', Sys.getlocale()=='C/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8', l10n_info()=='MBCS=TRUE; UTF-8=TRUE; Latin-1=FALSE; codeset=UTF-8', 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.', zlibVersion()==1.2.13 ZLIB_VERSION==1.2.13
Error in test.data.table(script = "froll.Rraw") : 
  2 errors out of 1161. Search tests/froll.Rraw for test numbers: 6000.137, 6000.138.
Execution halted