Closed tdhock closed 8 months ago
this is affecting 1.15.0 release https://github.com/Rdatatable/data.table/issues/5823
* installing *source* package 'tcltk2' ...
** package 'tcltk2' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error: package or namespace load failed for 'tcltk':
.onLoad failed in loadNamespace() for 'tcltk', details:
call: fun(libname, pkgname)
error: Tcl/Tk support is not available on this system
In addition: Warning message:
S3 methods 'as.character.tclObj', 'as.character.tclVar', 'as.double.tclObj', 'as.integer.tclObj', 'as.logical.tclObj', 'as.raw.tclObj', 'print.tclObj', '[[.tclArray', '[[<-.tclArray', '$.tclArray', '$<-.tclArray', 'names.tclArray', 'names<-.tclArray', 'length.tclArray', 'length<-.tclArray', 'tclObj.tclVar', 'tclObj<-.tclVar', 'tclvalue.default', 'tclvalue.tclObj', 'tclvalue.tclVar', 'tclvalue<-.default', 'tclvalue<-.tclVar', 'close.tkProgressBar' were declared in NAMESPACE but not found
Execution halted
ERROR: lazy loading failed for package 'tcltk2'
* removing '/tmp/th798/7253742/R-devel/1045/library/tcltk2'
...
ERROR: dependency 'tcltk2' is not available for package 'Rcmdr'
* removing '/tmp/th798/7253742/R-devel/1045/library/Rcmdr'
...
* installing *source* package 'tkrplot' ...
** package 'tkrplot' successfully unpacked and MD5 sums checked
** using staged installation
./configure: line 1747: R_TCLTK: command not found
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: 'gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20)'
gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fpic -g -O2 -c tcltkimg.c -o tcltkimg.o
gcc -shared -L/home/th798/.conda/envs/emacs1/lib -Wl,-rpath=/home/th798/.conda/envs/emacs1/lib -L/home/th798/lib -Wl,-rpath=/home/th798/lib -L/home/th798/lib64 -Wl,-rpath=/home/th798/lib64 -o tkrplot.so tcltkimg.o
installing to /tmp/th798/7253742/R-devel/1045/library/00LOCK-tkrplot/00new/tkrplot/libs
** R
** byte-compile and prepare package for lazy loading
Error: package or namespace load failed for 'tcltk':
.onLoad failed in loadNamespace() for 'tcltk', details:
call: fun(libname, pkgname)
error: Tcl/Tk support is not available on this system
In addition: Warning message:
S3 methods 'as.character.tclObj', 'as.character.tclVar', 'as.double.tclObj', 'as.integer.tclObj', 'as.logical.tclObj', 'as.raw.tclObj', 'print.tclObj', '[[.tclArray', '[[<-.tclArray', '$.tclArray', '$<-.tclArray', 'names.tclArray', 'names<-.tclArray', 'length.tclArray', 'length<-.tclArray', 'tclObj.tclVar', 'tclObj<-.tclVar', 'tclvalue.default', 'tclvalue.tclObj', 'tclvalue.tclVar', 'tclvalue<-.default', 'tclvalue<-.tclVar', 'close.tkProgressBar' were declared in NAMESPACE but not found
Execution halted
ERROR: lazy loading failed for package 'tkrplot'
* removing '/tmp/th798/7253742/R-devel/1045/library/tkrplot'
below we see the following check result, using both versions of data.table.
* using log directory '/tmp/th798/7253742/R-devel/1045/RcmdrPlugin.RiskDemo.Rcheck'
* using R Under development (unstable) (2024-01-14 r85805)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20)
GNU Fortran (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20)
* running under: Red Hat Enterprise Linux 8.9 (Ootpa)
* using session charset: ASCII
* checking for file 'RcmdrPlugin.RiskDemo/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'RcmdrPlugin.RiskDemo' version '3.1'
* checking package namespace information ... OK
* checking package dependencies ... ERROR
Package required but not available: 'Rcmdr'
Package suggested but not available for checking: 'tkrplot'
See section 'The DESCRIPTION file' in the 'Writing R Extensions'
manual.
* DONE
Status: 1 ERROR
See
'/tmp/th798/7253742/R-devel/1045/RcmdrPlugin.RiskDemo.Rcheck/00check.log'
for details.
This is a false negative (there is a significant difference here, but it is not being reported).
Looks like the common thread is the following, which could be parsed and reported, just like "configuration failed"
ERROR: lazy loading failed for package 'tkrplot'
grep.config.fail <- paste(
"grep 'configuration failed for package'",
log.file.glob)
config.fail.vec <- suppressWarnings({
system(grep.config.fail, intern=TRUE)
})
using new code https://github.com/tdhock/data.table-revdeps/commit/01787e8cb7e386ab8342e037997ace803085050f we get output in the report as below
https://rcdata.nau.edu/genomic-ml/data.table-revdeps/analyze/2023-04-11/FIESTA.txt says
FIESTAutils installs OK for R-devel
but it fails for R-release:
This is problematic for two reasons.
old build April 5 has
current CRAN build has
current monsoon build has the same (data.table issue masked by other issue which is also on CRAN, nothing to fix in our check system).