CRAN Package Check Results for Package bootImpute

Last updated on 2025-03-25 08:58:49 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.1 2.10 51.69 53.79 OK
r-devel-linux-x86_64-debian-gcc 1.2.1 1.54 37.87 39.41 OK
r-devel-linux-x86_64-fedora-clang 1.2.1 85.04 OK
r-devel-linux-x86_64-fedora-gcc 1.2.1 77.82 ERROR
r-devel-macos-arm64 1.2.1 42.00 OK
r-devel-macos-x86_64 1.2.1 71.00 OK
r-devel-windows-x86_64 1.2.1 4.00 87.00 91.00 OK
r-patched-linux-x86_64 1.2.1 2.25 48.57 50.82 OK
r-release-linux-x86_64 1.2.1 1.92 46.83 48.75 OK
r-release-macos-arm64 1.2.1 44.00 OK
r-release-macos-x86_64 1.2.1 60.00 OK
r-release-windows-x86_64 1.2.1 4.00 90.00 94.00 OK
r-oldrel-macos-arm64 1.2.1 OK
r-oldrel-macos-x86_64 1.2.1 71.00 OK
r-oldrel-windows-x86_64 1.2.1 4.00 114.00 118.00 OK

Check Details

Version: 1.2.1
Check: examples
Result: ERROR Running examples in ‘bootImpute-Ex.R’ failed The error most likely occurred in: > ### Name: bootSmcfcs > ### Title: Bootstrap then impute using smcfcs > ### Aliases: bootSmcfcs > > ### ** Examples > > library(smcfcs) Attaching package: ‘smcfcs’ The following object is masked from ‘package:bootImpute’: ex_linquad > > head(ex_linquad) y z x v 1 -0.3404639 -1.2053334 -1.2070657 -2.1808844 2 2.1699185 0.3014667 0.2774292 0.1777980 3 2.0293128 -1.5391452 1.0844412 0.9737062 4 6.6311247 0.6353707 -2.3456977 -1.1535031 5 3.9096291 0.7029518 0.4291247 -1.2267612 6 -0.5019313 -1.9058829 NA -0.5395874 > #bootstrap twice and impute each twice > #in practice you should bootstrap many more times, e.g. at least 200 > imps <- bootSmcfcs(ex_linquad, nBoot=2, nImp=2, + smtype="lm", smformula="y~z+x+xsq", + method=c("","","norm","x^2",""), seed=564764) Warning in bootImpute(obsdata, smcfcsImpM, nBoot = nBoot, nImp = nImp, M = nImp, : It is recommended to use at least 200 bootstraps. Error in smcfcs.core(originaldata, smtype, smformula, method, predictorMatrix, : Method argument must have the same length as the number of columns in the data frame. Calls: bootSmcfcs -> bootImpute -> impfun -> <Anonymous> -> smcfcs.core Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc