* using log directory 'd:/RCompile/CRANincoming/R-devel/DIRMR.Rcheck' * using R Under development (unstable) (2024-04-23 r86473 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 (9:313) MOPXEM (9:67) PXEM (9: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 ... [15s] 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 ... 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 ... ERROR Running examples in 'DIRMR-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: DECME > ### Title: DECME > ### Aliases: DECME > > ### ** 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 > data0=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=data0,ratio=0.1) > DECME(data,Y0,M=5,maxiter=1500) Error in Y100/Y111 : non-conformable arrays Calls: DECME Execution halted * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 WARNINGs, 1 NOTE