* using log directory ‘/srv/hornik/tmp/CRAN_pretest/enhancer.Rcheck’ * using R Under development (unstable) (2026-04-07 r89803) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 21.1.8 (3+b1) Debian flang version 21.1.8 (3+b1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * current time: 2026-04-08 02:21:06 UTC * checking for file ‘enhancer/DESCRIPTION’ ... OK * this is package ‘enhancer’ version ‘1.1.1’ * checking CRAN incoming feasibility ... [4s/5s] OK * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘enhancer’ can be installed ... [6s/6s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [1s/1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [8s/8s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [1s/1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [10s/10s] ERROR Running examples in ‘enhancer-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: redmm > ### Title: Reduced Model Matrix > ### Aliases: redmm > > ### ** Examples > > > # data set including the covariate to be reduced > DT <- data.frame(Env=sort(rep(paste("e",1:5,sep="_"), 2))) > DT Env 1 e_1 2 e_1 3 e_2 4 e_2 5 e_3 6 e_3 7 e_4 8 e_4 9 e_5 10 e_5 > # GxE matrix > H0 <- matrix(rnorm(30), nrow=5, ncol=6) # 5 envs, 6 features > rownames(H0) <- paste("e",1:5,sep="_") > colnames(H0) <- paste("x",1:6,sep="_") > H0 x_1 x_2 x_3 x_4 x_5 x_6 e_1 -0.6264538 -0.8204684 1.5117812 -0.04493361 0.91897737 -0.05612874 e_2 0.1836433 0.4874291 0.3898432 -0.01619026 0.78213630 -0.15579551 e_3 -0.8356286 0.7383247 -0.6212406 0.94383621 0.07456498 -1.47075238 e_4 1.5952808 0.5757814 -2.2146999 0.82122120 -1.98935170 -0.47815006 e_5 0.3295078 -0.3053884 1.1249309 0.59390132 0.61982575 0.41794156 > # get compression > Z <- with(DT, redmm(Env, M = H0, nPC = 3)) Error: Please install the RSpectra package to use the redmm() function. Execution halted * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [2s/2s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR