* using log directory 'd:/RCompile/CRANincoming/R-devel/DIRMR.Rcheck' * using R Under development (unstable) (2024-06-11 r86723 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 'DIRMR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'DIRMR' version '0.4.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Guangbao Guo ' New submission Possibly misspelled words in DESCRIPTION: Guo (10:313) MOPXEM (10:67) PXEM (10:50) * 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 'DIRMR' can be installed ... WARNING Found the following significant warnings: Warning: replacing previous import 'matrixcalc::vec' by 'lava::vec' when loading 'DIRMR' See 'd:/RCompile/CRANincoming/R-devel/DIRMR.Rcheck/00install.out' for details. * 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 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 ... WARNING Undocumented code objects: 'data' 'df1' Undocumented data sets: 'data' 'df1' All user-level objects in a package should have documentation entries. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... WARNING Undocumented arguments in Rd file 'DPXEM.Rd' 'data' 'df1' Documented arguments not in \usage in Rd file 'DPXEM.Rd': 'data1' 'data2' Functions with \usage entries need to have the appropriate \alias entries, and all their arguments documented. The \usage entries must correspond to syntactically valid R code. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * 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 ... [374s] ERROR Running examples in 'DIRMR-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: MCEM > ### Title: MCEM > ### Aliases: MCEM > > ### ** Examples > > set.seed(99) > library(MASS) > library(matrixcalc) > library(mvtnorm) > n=600;p=10;q=5;M=5;omega=0.15;ratio=0.1;maxiter=1500;nob=round(n-(n*ratio)) > dd.start=1;sigma2_e.start=1 > X0=matrix(runif(n*p,0,2),ncol=p) > beta=matrix(rnorm(p*1,0,3),nrow=p) > Z0=matrix(runif(n*q,2,3),ncol=q) > e=matrix(rnorm(n*1,0,sigma2_e.start),n,1) > b=matrix(rnorm(q*1,0,1),q,1) > Y0=X0 > df1=data.frame(Y=Y0,X=X0,Z=Z0) > misra=function(data,ratio){ + nob=round(n-(n*ratio)) + data[sample(n,n-nob),1]=NA + return(data)} > data=misra(data=df1,ratio=0.1) > MCEM(data,df1,maxiter=1500) Error: object 'Kappa' not found Execution halted Examples with CPU (user + system) or elapsed time > 10s user system elapsed ECME 342.29 4.20 346.50 DECME 20.76 0.99 21.75 * checking PDF version of manual ... [12s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 3 WARNINGs, 1 NOTE