* using log directory ‘/srv/hornik/tmp/CRAN_pretest/ELIC.Rcheck’ * using R Under development (unstable) (2025-08-20 r88662) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3+b1) Debian flang-new version 19.1.7 (3+b1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘ELIC/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘ELIC’ version ‘0.1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Guangbao Guo ’ New submission Possibly misspelled words in DESCRIPTION: ELIC (10:92) Guo (10:299) LIC (3:8, 10:103) * 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 ‘ELIC’ can be installed ... [1s/1s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... NOTE Dependence on R version ‘4.4.2’ not with patchlevel 0 * 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... WARNING Missing or unexported object: ‘distrEllipse::r’ * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [2s/2s] NOTE eerr: no visible global function definition for ‘rnorm’ Undefined global functions or variables: rnorm Consider adding importFrom("stats", "rnorm") to your NAMESPACE file. * 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 examples ... [0s/0s] ERROR Running examples in ‘ELIC-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: ELIC > ### Title: A General Length and Information Criterion (LIC) Function > ### Aliases: ELIC > > ### ** Examples > > # Example with T-distributed error data (like TLIC) > set.seed(12) > n <- 200 > p <- 5 > X_t <- matrix(stats::runif(n * p), ncol = p) > beta_t <- sort(stats::runif(p, 1, 5)) > e_t <- stats::rt(n, df = 5) > Y_t <- X_t %*% beta_t + e_t > result_t <- ELIC(X_t, Y_t, dist_type = "student_t") > str(result_t) List of 6 $ MUopt : num [1:20, 1] 9.23 3.19 8.47 6.66 7.26 ... $ Bopt : num [1:5, 1] 1.22 1.79 2.67 3.65 2.94 $ MAEMUopt: num 0.616 $ MSEMUopt: num [1, 1] 0.602 $ opt : num [1:20] 120 6 78 36 174 71 48 8 97 177 ... $ Yopt : num [1:20] 9.14 3.02 8.46 5.59 6.65 ... > > # Example with Skew-Normal error data (like SLIC) > if (requireNamespace("sn", quietly = TRUE)) { + set.seed(123) + n <- 200 + p <- 5 + X_s <- matrix(stats::rnorm(n * p), ncol = p) + beta_s <- stats::runif(p, 1, 2) + e_s <- sn::rsn(n = n, xi = 0, omega = 1, alpha = 5) + Y_s <- X_s %*% beta_s + e_s + result_s <- ELIC(X_s, Y_s, dist_type = "skew_normal") + str(result_s) + } Error in solve.default(crossprod(Xopt)) : system is computationally singular: reciprocal condition number = 2.31599e-20 Calls: ELIC -> solve -> solve.default Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [1s/1s] OK Running ‘testthat.R’ [0s/0s] * checking PDF version of manual ... [2s/2s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 WARNING, 3 NOTEs