* using log directory ‘/srv/hornik/tmp/CRAN/DIRMR.Rcheck’ * using R Under development (unstable) (2024-02-19 r85946) * 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 * this is package ‘DIRMR’ version ‘0.0.4’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Guangbao Guo ’ New submission License components with restrictions and base license permitting such: MIT + file LICENSE Possibly misspelled words in DESCRIPTION: DMO (7:18) Guo (7:199) The Title field should be in title case. Current version is: ‘Distributed imputation for random effects models with missing responses’ In title case that is: ‘Distributed Imputation for Random Effects Models with Missing Responses’ * 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 ... [2s/2s] WARNING Found the following significant warnings: Warning: /srv/hornik/tmp/CRAN/DIRMR.Rcheck/00_pkg_src/DIRMR/man/DECME.Rd:20: unexpected '}' 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 ... WARNING Invalid license file pointers: LICENSE * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R 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] NOTE DECME: no visible binding for global variable ‘ii’ DECME: no visible binding for global variable ‘n’ DECME: no visible binding for global variable ‘M’ DECME: no visible binding for global variable ‘p’ DECME: no visible binding for global variable ‘maxiter’ DECME: no visible global function definition for ‘tr’ DEM: no visible binding for global variable ‘ii’ DEM: no visible binding for global variable ‘dd.start’ DEM: no visible binding for global variable ‘sigma2_e.start’ DEM: no visible binding for global variable ‘n’ DEM: no visible binding for global variable ‘M’ DEM: no visible binding for global variable ‘p’ DEM: no visible binding for global variable ‘maxiter’ DEM: no visible global function definition for ‘tr’ DMCEM: no visible binding for global variable ‘ii’ DMCEM: no visible binding for global variable ‘n’ DMCEM: no visible binding for global variable ‘p’ DMCEM: no visible binding for global variable ‘maxiter’ DMICE: no visible binding for global variable ‘ii’ DMICE: no visible binding for global variable ‘n’ DMICE: no visible binding for global variable ‘M’ DMOPXEM: no visible binding for global variable ‘ii’ DMOPXEM: no visible binding for global variable ‘n’ DMOPXEM: no visible binding for global variable ‘M’ DMOPXEM: no visible binding for global variable ‘p’ DMOPXEM: no visible binding for global variable ‘maxiter’ DMOPXEM: no visible binding for global variable ‘omega’ DPXEM: no visible binding for global variable ‘ii’ DPXEM: no visible binding for global variable ‘n’ DPXEM: no visible binding for global variable ‘M’ DPXEM: no visible binding for global variable ‘p’ DPXEM: no visible binding for global variable ‘maxiter’ ECME: no visible binding for global variable ‘ii’ ECME: no visible binding for global variable ‘n’ ECME: no visible binding for global variable ‘nob’ ECME: no visible global function definition for ‘ginv’ ECME: no visible binding for global variable ‘maxiter’ ECME: no visible global function definition for ‘tr’ EM: no visible binding for global variable ‘ii’ EM: no visible binding for global variable ‘n’ EM: no visible binding for global variable ‘nob’ EM: no visible binding for global variable ‘dd.start’ EM: no visible binding for global variable ‘sigma2_e.start’ EM: no visible global function definition for ‘ginv’ EM: no visible binding for global variable ‘p’ EM: no visible binding for global variable ‘maxiter’ EM: no visible global function definition for ‘tr’ MCEM: no visible binding for global variable ‘ii’ MCEM: no visible binding for global variable ‘n’ MCEM: no visible binding for global variable ‘nob’ MCEM: no visible global function definition for ‘ginv’ MCEM: no visible binding for global variable ‘p’ MCEM: no visible binding for global variable ‘maxiter’ MOPXEM: no visible binding for global variable ‘ii’ MOPXEM: no visible binding for global variable ‘n’ MOPXEM: no visible binding for global variable ‘nob’ MOPXEM: no visible binding for global variable ‘maxiter’ MOPXEM: no visible binding for global variable ‘omega’ PXEM: no visible binding for global variable ‘ii’ PXEM: no visible binding for global variable ‘n’ PXEM: no visible binding for global variable ‘nob’ PXEM: no visible global function definition for ‘ginv’ PXEM: no visible binding for global variable ‘maxiter’ misra: no visible binding for global variable ‘n’ Undefined global functions or variables: M dd.start ginv ii maxiter n nob omega p sigma2_e.start tr * checking Rd files ... [0s/0s] WARNING prepare_Rd: ./man/DECME.Rd:20: unexpected '}' prepare_Rd: DECME.Rd:21-23: Dropping empty section \details prepare_Rd: DECME.Rd:34-36: Dropping empty section \note prepare_Rd: DECME.Rd:30-32: Dropping empty section \references prepare_Rd: DECME.Rd:40-42: Dropping empty section \seealso prepare_Rd: DEM.Rd:20-22: Dropping empty section \details prepare_Rd: DEM.Rd:34-36: Dropping empty section \note prepare_Rd: DEM.Rd:29-31: Dropping empty section \references prepare_Rd: DEM.Rd:40-42: Dropping empty section \seealso prepare_Rd: DMCEM.Rd:20-22: Dropping empty section \details prepare_Rd: DMCEM.Rd:34-36: Dropping empty section \note prepare_Rd: DMCEM.Rd:29-31: Dropping empty section \references prepare_Rd: DMCEM.Rd:40-42: Dropping empty section \seealso prepare_Rd: DMICE.Rd:20-22: Dropping empty section \details prepare_Rd: DMICE.Rd:33-35: Dropping empty section \note prepare_Rd: DMICE.Rd:29-31: Dropping empty section \references prepare_Rd: DMICE.Rd:39-41: Dropping empty section \seealso prepare_Rd: DMOPX-EM.Rd:19-21: Dropping empty section \details prepare_Rd: DMOPX-EM.Rd:31-33: Dropping empty section \note prepare_Rd: DMOPX-EM.Rd:27-29: Dropping empty section \references prepare_Rd: DMOPX-EM.Rd:37-39: Dropping empty section \seealso prepare_Rd: DPX-EM.Rd:19-21: Dropping empty section \details prepare_Rd: DPX-EM.Rd:32-34: Dropping empty section \note prepare_Rd: DPX-EM.Rd:28-30: Dropping empty section \references prepare_Rd: DPX-EM.Rd:38-40: Dropping empty section \seealso prepare_Rd: ECME.Rd:19-21: Dropping empty section \details prepare_Rd: ECME.Rd:30-32: Dropping empty section \note prepare_Rd: ECME.Rd:26-28: Dropping empty section \references prepare_Rd: ECME.Rd:36-38: Dropping empty section \seealso prepare_Rd: EM.Rd:20-22: Dropping empty section \details prepare_Rd: EM.Rd:31-33: Dropping empty section \note prepare_Rd: EM.Rd:27-29: Dropping empty section \references prepare_Rd: EM.Rd:37-39: Dropping empty section \seealso prepare_Rd: MCEM.Rd:19-21: Dropping empty section \details prepare_Rd: MCEM.Rd:30-32: Dropping empty section \note prepare_Rd: MCEM.Rd:26-28: Dropping empty section \references prepare_Rd: MCEM.Rd:36-38: Dropping empty section \seealso prepare_Rd: MICE.Rd:19-21: Dropping empty section \details prepare_Rd: MICE.Rd:29-31: Dropping empty section \note prepare_Rd: MICE.Rd:25-27: Dropping empty section \references prepare_Rd: MICE.Rd:35-37: Dropping empty section \seealso prepare_Rd: MOPX-EM.Rd:19-21: Dropping empty section \details prepare_Rd: MOPX-EM.Rd:30-32: Dropping empty section \note prepare_Rd: MOPX-EM.Rd:26-28: Dropping empty section \references prepare_Rd: MOPX-EM.Rd:36-38: Dropping empty section \seealso prepare_Rd: PX-EM.Rd:19-21: Dropping empty section \details prepare_Rd: PX-EM.Rd:30-32: Dropping empty section \note prepare_Rd: PX-EM.Rd:26-28: Dropping empty section \references prepare_Rd: PX-EM.Rd:36-38: Dropping empty section \seealso * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... WARNING Undocumented code objects: ‘DMOPXEM’ ‘DPXEM’ ‘MOPXEM’ ‘PXEM’ ‘df1’ ‘misra’ Undocumented data sets: ‘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 ... WARNING Functions or methods with usage in Rd file 'MICE.Rd' but not in code: ‘MICE’ * checking Rd \usage sections ... WARNING Undocumented arguments in Rd file 'DMOPX-EM.Rd' ‘DMOPX’ ‘EM(data, Y0, X0, Z0, seed)’ Objects in \usage without \alias in Rd file 'DMOPX-EM.Rd': ‘-’ Undocumented arguments in Rd file 'DPX-EM.Rd' ‘DPX’ ‘EM(data, Y0, X0, Z0, seed)’ Objects in \usage without \alias in Rd file 'DPX-EM.Rd': ‘-’ Undocumented arguments in Rd file 'MOPX-EM.Rd' ‘MOPX’ ‘EM(data, Y0, X0, Z0)’ Objects in \usage without \alias in Rd file 'MOPX-EM.Rd': ‘-’ Undocumented arguments in Rd file 'PX-EM.Rd' ‘PX’ ‘EM(data, Y0, X0, Z0)’ Objects in \usage without \alias in Rd file 'PX-EM.Rd': ‘-’ 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 ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [0s/0s] 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 > > n=600;p=10;q=5;M=5;ratio=0.1;maxiter=1500;ii=1 > 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) > data=misra(data=data0,ratio=0.1) > DECME(data,X0,Y0,Z0,seed) Error in matrix(rep(0, q, M), nrow = q, ncol = M) : non-numeric matrix extent Calls: DECME -> matrix 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, 6 WARNINGs, 2 NOTEs