* using log directory ‘/srv/hornik/tmp/CRAN/DIRMR.Rcheck’ * using R Under development (unstable) (2024-04-24 r86483) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (5) Debian flang-new version 17.0.6 (5) * running under: Debian GNU/Linux trixie/sid * 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 ... [3s/3s] 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 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 ‘DIRMR’ can be installed ... [4s/4s] WARNING Found the following significant warnings: Warning: replacing previous import ‘matrixcalc::vec’ by ‘lava::vec’ when loading ‘DIRMR’ See ‘/srv/hornik/tmp/CRAN/DIRMR.Rcheck/00install.out’ for details. * 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] 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 ... [7s/7s] 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 ... 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 ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [1s/1s] 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 ... [3s/3s] 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, 2 WARNINGs, 1 NOTE