Running 'testthat.R' [12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(mipred)
  > 
  > test_check("mipred")
  NULL
  Package nnet needed. Install from CRAN? (Yes/no/cancel) 
  trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.2/nnet_7.3-16.zip'
  Content length 123708 bytes (120 KB)
  ==================================================
  downloaded 120 KB
  
  package 'nnet' successfully unpacked and MD5 sums checked
  NULL
  Package nnet needed. Install from CRAN? (Yes/no/cancel) 
  trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.2/nnet_7.3-16.zip'
  Content length 123708 bytes (120 KB)
  ==================================================
  downloaded 120 KB
  
  package 'nnet' successfully unpacked and MD5 sums checked
  ══ 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 ──
  Error in `unpackPkgZip(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib, libs_only, 
      lock)`: package 'nnet' not installed because it is not built for UCRT
  Backtrace:
       █
    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.               └─mice:::install.on.demand("nnet", ...)
   15.                 └─utils::install.packages(...)
   16.                   └─utils:::.install.winbinary(...)
   17.                     └─utils:::unpackPkgZip(...)
  ── Error (test-inputchecking-mipred.cv.R:58:3): argument m in mice.options is ignored ──
  Error in `unpackPkgZip(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib, libs_only, 
      lock)`: package 'nnet' not installed because it is not built for UCRT
  Backtrace:
       █
    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.               └─mice:::install.on.demand("nnet", ...)
   15.                 └─utils::install.packages(...)
   16.                   └─utils:::.install.winbinary(...)
   17.                     └─utils:::unpackPkgZip(...)
  
  [ FAIL 2 | WARN 0 | SKIP 4 | PASS 49 ]
  Error: Test failures
  Execution halted