CRAN Package Check Results for Package mice

Last updated on 2022-01-23 05:57:57 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.14.0 44.14 252.35 296.49 OK
r-devel-linux-x86_64-debian-gcc 3.14.0 34.81 196.01 230.82 OK
r-devel-linux-x86_64-fedora-clang 3.14.0 364.86 OK
r-devel-linux-x86_64-fedora-gcc 3.14.0 345.41 OK
r-devel-windows-x86_64-new-UL 3.14.0 166.00 337.00 503.00 OK
r-devel-windows-x86_64-new-TK 3.14.0 ERROR
r-patched-linux-x86_64 3.14.0 32.27 240.23 272.50 OK
r-release-linux-x86_64 3.14.0 41.17 237.47 278.64 OK
r-release-macos-arm64 3.14.0 OK
r-release-macos-x86_64 3.14.0 OK
r-release-windows-ix86+x86_64 3.14.0 112.00 518.00 630.00 OK
r-oldrel-macos-x86_64 3.14.0 OK
r-oldrel-windows-ix86+x86_64 3.14.0 118.00 529.00 647.00 OK

Check Details

Version: 3.14.0
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking: 'lme4', 'mitml'
Flavor: r-devel-windows-x86_64-new-TK

Version: 3.14.0
Check: Rd cross-references
Result: NOTE
    Package unavailable to check Rd xrefs: 'mitml'
Flavor: r-devel-windows-x86_64-new-TK

Version: 3.14.0
Check: examples
Result: ERROR
    Running examples in 'mice-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: D1
    > ### Title: Compare two nested models using D1-statistic
    > ### Aliases: D1
    >
    > ### ** Examples
    >
    > # Compare two linear models:
    > imp <- mice(nhanes2, seed = 51009, print = FALSE)
    > mi1 <- with(data = imp, expr = lm(bmi ~ age + hyp + chl))
    > mi0 <- with(data = imp, expr = lm(bmi ~ age + hyp))
    > D1(mi1, mi0)
    Error in loadNamespace(x) : there is no package called 'mitml'
    Calls: D1 ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
    Execution halted
Flavor: r-devel-windows-x86_64-new-TK

Version: 3.14.0
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(mice)
    
     Attaching package: 'mice'
    
     The following object is masked from 'package:stats':
    
     filter
    
     The following objects are masked from 'package:base':
    
     cbind, rbind
    
     >
     > test_check("mice")
     [ FAIL 12 | WARN 0 | SKIP 0 | PASS 329 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-D1.R:17:1): (code run outside of `test_that()`) ─────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mitml'
     Backtrace:
     █
     1. ├─mice::D1(fit1, fit0) test-D1.R:17:0
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-D3.R:15:1): (code run outside of `test_that()`) ─────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mitml'
     Backtrace:
     █
     1. └─base::loadNamespace(x) test-D3.R:15:0
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-anova.R:9:3): anova.mira() produces silent D1 and D3 ────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mitml'
     Backtrace:
     █
     1. ├─testthat::expect_silent(z1 <- anova(m2, m1, m0)) test-anova.R:9:2
     2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
     3. │ ├─testthat:::.capture(...)
     4. │ │ ├─withr::with_output_sink(...)
     5. │ │ │ └─base::force(code)
     6. │ │ ├─base::withCallingHandlers(...)
     7. │ │ └─base::withVisible(code)
     8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     9. ├─stats::anova(m2, m1, m0)
     10. ├─mice:::anova.mira(m2, m1, m0)
     11. │ ├─base::do.call(method, args = args)
     12. │ └─mice::D1(fit1 = modlist[[j]], fit0 = modlist[[j + 1L]], dfcom = as.numeric(unlist(dfcom[j])))
     13. └─base::loadNamespace(x)
     14. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     15. └─base:::withOneRestart(expr, restarts[[1L]])
     16. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-anova.R:14:3): anova.mira() produces silent with D2 ─────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mitml'
     Backtrace:
     █
     1. ├─testthat::expect_silent(z2a <- anova(m2, m1, m0, method = "D2")) test-anova.R:14:2
     2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
     3. │ ├─testthat:::.capture(...)
     4. │ │ ├─withr::with_output_sink(...)
     5. │ │ │ └─base::force(code)
     6. │ │ ├─base::withCallingHandlers(...)
     7. │ │ └─base::withVisible(code)
     8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     9. ├─stats::anova(m2, m1, m0, method = "D2")
     10. ├─mice:::anova.mira(m2, m1, m0, method = "D2")
     11. │ ├─base::do.call(method, args = args)
     12. │ └─mice::D2(fit1 = modlist[[j]], fit0 = modlist[[j + 1L]], use = use)
     13. └─base::loadNamespace(x)
     14. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     15. └─base:::withOneRestart(expr, restarts[[1L]])
     16. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-anova.R:34:3): runs tests for the Cox model ─────────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mitml'
     Backtrace:
     █
     1. ├─testthat::expect_silent(D1(m2, m1)) test-anova.R:34:2
     2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
     3. │ ├─testthat:::.capture(...)
     4. │ │ ├─withr::with_output_sink(...)
     5. │ │ │ └─base::force(code)
     6. │ │ ├─base::withCallingHandlers(...)
     7. │ │ └─base::withVisible(code)
     8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     9. ├─mice::D1(m2, m1)
     10. └─base::loadNamespace(x)
     11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     12. └─base:::withOneRestart(expr, restarts[[1L]])
     13. └─base:::doWithOneRestart(return(expr), restart)
     ── Failure (test-mice.impute.2l.bin.R:18:3): mice::mice.impute.2l.bin() accepts factor outcome ──
     `... <- NULL` produced warnings.
     ── Failure (test-mice.impute.2l.bin.R:32:3): mice::mice.impute.2l.bin() accepts 0/1 outcome ──
     `... <- NULL` produced warnings.
     ── Failure (test-mice.impute.2l.lmer.R:8:3): mice::mice.impute.2l.lmer() runs empty model ──
     `... <- NULL` produced warnings.
     ── Failure (test-mice.impute.2l.lmer.R:18:3): 2l.lmer() runs random intercept, one predictor ──
     `... <- NULL` produced warnings.
     ── Error (test-mice.impute.jomoImpute.R:7:1): (code run outside of `test_that()`) ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mitml'
     Backtrace:
     █
     1. ├─mice::mice.impute.jomoImpute(data = data, type = type, format = "native") test-mice.impute.jomoImpute.R:7:0
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-mice.impute.panImpute.R:7:1): (code run outside of `test_that()`) ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mitml'
     Backtrace:
     █
     1. ├─mice::mice.impute.panImpute(data = data, type = type, format = "native") test-mice.impute.panImpute.R:7:0
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-pool.R:29:1): (code run outside of `test_that()`) ───────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mitml'
     Backtrace:
     █
     1. ├─mice::D1(fit1, fit0) test-pool.R:29:0
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::doWithOneRestart(return(expr), restart)
    
     [ FAIL 12 | WARN 0 | SKIP 0 | PASS 329 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-TK