CRAN Package Check Results for Package bootImpute

Last updated on 2025-03-26 11:53:23 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.27 32.73 34.00 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.1 85.04 OK
r-devel-linux-x86_64-fedora-gcc 1.2.2 82.59 OK
r-devel-macos-arm64 1.2.2 37.00 OK
r-devel-macos-x86_64 1.2.2 79.00 OK
r-devel-windows-x86_64 1.2.1 4.00 88.00 92.00 OK
r-patched-linux-x86_64 1.2.1 2.34 44.84 47.18 ERROR
r-release-linux-x86_64 1.2.1 1.92 46.83 48.75 OK
r-release-macos-arm64 1.2.2 27.00 ERROR
r-release-macos-x86_64 1.2.2 62.00 OK
r-release-windows-x86_64 1.2.2 5.00 88.00 93.00 OK
r-oldrel-macos-arm64 1.2.2 41.00 OK
r-oldrel-macos-x86_64 1.2.2 69.00 OK
r-oldrel-windows-x86_64 1.2.2 4.00 104.00 108.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: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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 Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 1.2.2
Check: examples
Result: ERROR Running examples in ‘bootImpute-Ex.R’ failed The error most likely occurred in: > ### Name: bootImpute > ### Title: Bootstrap then impute an incomplete dataset > ### Aliases: bootImpute > > ### ** Examples > > #this example shows how you can use bootImpute to impute using the mice > #package. If you do want to impute using MICE you can instead use the > #bootMice function, which essentially contains the code below > library(mice) Error: package or namespace load failed for ‘mice’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘pan’ Execution halted Flavor: r-release-macos-arm64

Version: 1.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(bootImpute) > > test_check("bootImpute") Estimate Std. error 95% CI lower 95% CI upper p (Intercept) 0.08137426 0.19129077 -0.2965280 0.4592765 6.711440e-01 x 0.87123930 0.16282446 0.5497412 1.1927374 2.902025e-07 x2 -0.01941161 0.06178557 -0.1422755 0.1034522 7.541639e-01 Estimate Std. error 95% CI lower 95% CI upper p [1,] 1 0 NaN NaN NaN Estimate Std. error 95% CI lower 95% CI upper p (Intercept) 0.08137426 0.19129077 -0.2965280 0.4592765 6.711440e-01 x 0.87123930 0.16282446 0.5497412 1.1927374 2.902025e-07 x2 -0.01941161 0.06178557 -0.1422755 0.1034522 7.541639e-01 Estimate Std. error 95% CI lower 95% CI upper p (Intercept) 0.08137426 0.19129077 -0.2965280 0.4592765 6.711440e-01 x 0.87123930 0.16282446 0.5497412 1.1927374 2.902025e-07 x2 -0.01941161 0.06178557 -0.1422755 0.1034522 7.541639e-01 Estimate Std. error 95% CI lower 95% CI upper p (Intercept) 0.05996528 0.1594198 -0.2547882 0.3747187 7.072883e-01 x 0.86829902 0.1480554 0.5760088 1.1605892 2.330791e-08 Estimate Std. error 95% CI lower 95% CI upper p (Intercept) 0.05996528 0.1594198 -0.2547882 0.3747187 7.072883e-01 x 0.86829902 0.1480554 0.5760088 1.1605892 2.330791e-08 [ FAIL 4 | WARN 0 | SKIP 0 | PASS 9 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_bootImpute.r:147:3'): Testing bootMice works ───────────────── `{ ... }` did not produce any warnings. ── Error ('test_bootImpute.r:160:7'): Testing bootSmcfcs works ───────────────── Error: package or namespace load failed for 'mice' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called 'pan' Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test_bootImpute.r:158:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─base::library(mice) at test_bootImpute.r:160:7 7. └─base::tryCatch(...) 8. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. └─value[[3L]](cond) ── Error ('test_parallel.R:73:5'): Test bootImpute runs using multiple cores with mice ── <packageNotFoundError/error/condition> Error in `loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])`: there is no package called 'pan' Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test_parallel.R:64:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─bootImpute::bootMice(...) at test_parallel.R:73:5 7. │ └─bootImpute::bootImpute(...) 8. │ └─bootImpute (local) impfun(obsdata, ...) 9. └─base::loadNamespace(x) 10. ├─base::namespaceImportFrom(...) 11. │ └─base::asNamespace(ns) 12. └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 13. ├─base::namespaceImport(...) 14. └─base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) 15. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 16. └─base (local) withOneRestart(expr, restarts[[1L]]) 17. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_parallel.R:87:5'): Test bootImpute runs using multiple cores with mice with extra arguments ── <packageNotFoundError/error/condition> Error in `loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])`: there is no package called 'pan' Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test_parallel.R:78:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─bootImpute::bootMice(...) at test_parallel.R:87:5 7. │ └─bootImpute::bootImpute(...) 8. │ └─bootImpute (local) impfun(obsdata, ...) 9. └─base::loadNamespace(x) 10. ├─base::namespaceImportFrom(...) 11. │ └─base::asNamespace(ns) 12. └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 13. ├─base::namespaceImport(...) 14. └─base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) 15. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 16. └─base (local) withOneRestart(expr, restarts[[1L]]) 17. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 9 ] Error: Test failures Execution halted Flavor: r-release-macos-arm64

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.