Running 'testthat.R' [3s/4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(mipred)
  > 
  > test_check("mipred")
  NULL
  NULL
  == Skipped tests ===============================================================
  * association tests mipred (1)
  * association tests mipred.cv (1)
  * seeduse tests mipred (1)
  * seeduse tests mipred.cv (1)
  
  == Failed tests ================================================================
  -- Error (test-inputchecking-mipred.R:63:3): argument m in mice.options is ignored --
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'nnet'
  Backtrace:
       x
    1. +-testthat::expect_warning(...) test-inputchecking-mipred.R:63:2
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-mipred::mipred(...)
    7. | \-mipred:::.glm.mipred.cmb1(...)
    8. |   \-mipred:::.impute(...)
    9. |     \-mice::mice(...)
   10. |       \-mice:::sampler(...)
   11. |         \-mice:::sampler.univ(...)
   12. |           +-base::do.call(f, args = args)
   13. |           \-mice::mice.impute.polyreg(...)
   14. \-base::loadNamespace(x)
   15.   \-base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   16.     \-base:::withOneRestart(expr, restarts[[1L]])
   17.       \-base:::doWithOneRestart(return(expr), restart)
  -- Error (test-inputchecking-mipred.cv.R:58:3): argument m in mice.options is ignored --
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'nnet'
  Backtrace:
       x
    1. +-testthat::expect_warning(...) test-inputchecking-mipred.cv.R:58:2
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-mipred::mipred.cv(...)
    7. | \-mipred:::.glm.mipred.cmb1.cv(...)
    8. |   \-mipred:::.impute(...)
    9. |     \-mice::mice(...)
   10. |       \-mice:::sampler(...)
   11. |         \-mice:::sampler.univ(...)
   12. |           +-base::do.call(f, args = args)
   13. |           \-mice::mice.impute.polyreg(...)
   14. \-base::loadNamespace(x)
   15.   \-base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   16.     \-base:::withOneRestart(expr, restarts[[1L]])
   17.       \-base:::doWithOneRestart(return(expr), restart)
  
  [ FAIL 2 | WARN 0 | SKIP 4 | PASS 49 ]
  Error: Test failures
  Execution halted