* using log directory 'd:/RCompile/CRANincoming/R-devel/enhancer.Rcheck' * using R version 4.6.0 alpha (2026-04-07 r89797 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-04-08 05:13:39 UTC * checking for file 'enhancer/DESCRIPTION' ... OK * this is package 'enhancer' version '1.1.1' * checking CRAN incoming feasibility ... [10s] 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'enhancer' can be installed ... OK * checking installed package size ... 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... 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 ... [16s] OK * checking Rd files ... 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 ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [23s] 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 ... [22s] OK * checking HTML version of manual ... [12s] OK * DONE Status: 1 ERROR