Last updated on 2025-03-25 16:56:15 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
bootImpute | 1 | 14 | |
dejaVu | 15 | ||
gFormulaMI | 15 | ||
InformativeCensoring | 15 | ||
mlmi | 12 | 3 | |
smcfcs | 15 |
Current CRAN status: ERROR: 1, OK: 14
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
Current CRAN status: OK: 15
Current CRAN status: OK: 15
Current CRAN status: OK: 15
Current CRAN status: NOTE: 12, OK: 3
Version: 1.1.2
Check: Rd files
Result: NOTE
checkRd: (-1) refBasedCts.Rd:44: Lost braces
44 | using reference based imputation as proposed by \doi{10.1080/10543406.2013.834911}{Carpenter et al (2013)}. This approach
| ^
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-arm64, r-devel-macos-x86_64, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
Current CRAN status: OK: 15
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.