* using log directory 'd:/RCompile/CRANincoming/R-devel/CDsampling.Rcheck' * using R Under development (unstable) (2024-09-28 r87201 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * 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 ... NOTE Maintainer: 'Yifei Huang ' New submission Possibly misspelled words in DESCRIPTION: CDsampling (8:199) EW (3:36) multinomial (8:753) 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 hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'CDsampling' can be installed ... OK * checking installed package size ... 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 ... 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 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 ... 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... 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 ... OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE