[R-pkg-team] Bug#1070009: r-cran-data.table: Update to current upstream

Andreas Tille andreas at an3as.eu
Tue Apr 30 07:43:21 BST 2024


Hi Dirk,

thanks for the bug report.  I even tried to upgrade to 1.15.0 in Februar
but stumbled about a test suite error[1] of the Debian package which
prevented me from uploading.

Am Sun, Apr 28, 2024 at 09:03:08AM -0500 schrieb Dirk Eddelbuettel:
> 
> This should likely reduce some autopkgtest noise too in both data.table
> itself and some of the packages depending on it.


The autopkgtest of current version 1.15.4 has[2]:

> test.data.table()  # runs the main test suite of 5,000+ tests in /inst/tests/tests.Rraw
getDTthreads(verbose=TRUE):
  OpenMP version (_OPENMP)       201511
  omp_get_num_procs()            2
  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()          2
  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: /usr/lib/R/site-library/data.table/tests/tests.Rraw.bz2
Test 2194.7 produced 0 errors but expected 1
Expected: Internal error.*types or lengths incorrect
Observed: 
Tue Apr 30 05:47:51 2024  endian==little, sizeof(long double)==16, longdouble.digits==64, sizeof(pointer)==8, TZ==unset, Sys.timezone()=='Etc/UTC', Sys.getlocale()=='C', l10n_info()=='MBCS=FALSE; UTF-8=FALSE; Latin-1=FALSE; codeset=ANSI_X3.4-1968', getDTthreads()=='OpenMP version (_OPENMP)==201511; omp_get_num_procs()==2; 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()==2; OMP_THREAD_LIMIT==unset; OMP_NUM_THREADS==unset; RestoreAfterFork==true; data.table is using 1 threads with throttle==1024. See ?setDTthreads.', zlibVersion()==1.3 ZLIB_VERSION==1.3
Error: 1 error(s) out of 11067. Search tests/tests.Rraw.bz2 for test number(s) 2194.7. Duration: 42.5s elapsed (41.9s cpu).
In addition: Warning message:
In readLines(testDir("issue_563_fread.txt")) :
  invalid input found on input connection '/usr/lib/R/site-library/data.table/tests/issue_563_fread.txt'
Execution halted

I've checked the two files 

   /usr/lib/R/site-library/data.table/tests/tests.Rraw.bz2
   /usr/lib/R/site-library/data.table/tests/issue_563_fread.txt

which do not look suspicious in any way.

Any hint how to fix this test would be welcome.

Kind regards
    Andreas.

[1] https://salsa.debian.org/r-pkg-team/r-cran-data.table/-/jobs/5291564
[2] https://salsa.debian.org/r-pkg-team/r-cran-data.table/-/jobs/5660288 

-- 
https://fam-tille.de



More information about the R-pkg-team mailing list