* using log directory ‘/srv/hornik/tmp/CRAN_pretest/CDsampling.Rcheck’ * using R Under development (unstable) (2024-09-28 r87201) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.8 (9) Debian flang-new version 18.1.8 (9) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘CDsampling/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘CDsampling’ version ‘0.1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Yifei Huang ’ New submission Possibly misspelled words in DESCRIPTION: CDsampling (8:199) EW (3:36) No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: c(person(given = "Yifei", family = "Huang", role = c("aut", "cre"), email = "yhuan39@uic.edu"), person(given = "Liping", family = "Tong", role = "aut"), person(given = "Jie", family = "Yang", role = "aut")) as necessary. * 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 serialization versions ... OK * checking whether package ‘CDsampling’ can be installed ... [2s/2s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... 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 ... [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 ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [4s/4s] 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 ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [0s/0s] ERROR Running examples in ‘CDsampling-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: Fi_func_MLM > ### Title: Generate Fisher information matrix F_x at a design point x_i for > ### Multinomial logistic regression model > ### Aliases: Fi_func_MLM > > ### ** Examples > > X_x_temp = c(1,0,0,0,1,0,0,0,1,0,0,0) > bvec_temp = c(-4.047, -2.225, -0.302, 1.386, 4.214, 3.519, + 2.420, 1.284, -0.131, -0.376, -0.237, -0.120) > link_temp = "cumulative" > Fi_func_MLM(X_x=X_x_temp, beta=bvec_temp, link=link_temp) Error in pi[J] <- 1/(1 + exp(eta_xi[J - 1])) : replacement has length zero Calls: Fi_func_MLM Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [2s/2s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE