Running ‘testthat.R’ [63s/134s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(missCompare)
  
  Attaching package: 'missCompare'
  
  The following object is masked from 'package:stats':
  
      simulate
  
  > 
  > test_check("missCompare")
  [1] "random replacement imputation - in progress"
  [1] "mice mixed imputation - in progress"
  [1] "mi imputation - in progress"
  starting worker pid=4195 on localhost:11418 at 07:30:07.167
  starting worker pid=4414 on localhost:11418 at 07:30:07.740
  [1] "missForest imputation - in progress"
  There were 11 warnings (use warnings() to see them)
  [1] "Hmisc aregImpute imputation - in progress"
  [1] "VIM kNN imputation - in progress"
  [1] "random replacement imputation - in progress"
  [1] "mice mixed imputation - in progress"
  [1] "mi imputation - in progress"
  starting worker pid=10781 on localhost:11418 at 07:30:22.757
  starting worker pid=11138 on localhost:11418 at 07:30:23.218
  There were 18 warnings (use warnings() to see them)
  [1] "missForest imputation - in progress"
  [1] "Hmisc aregImpute imputation - in progress"
  [1] "VIM kNN imputation - in progress"
  [1] "random replacement imputation - in progress"
  [1] "Median imputation - in progress"
  [1] "Mean imputation - in progress"
  [1] "missMDA regularized imputation - in progress"
  [1] "missMDA EM imputation - in progress"
  [1] "pcaMethods PPCA imputation - in progress"
  [1] "pcaMethods svdImpute imputation - in progress"
  [1] "pcaMethods BPCA imputation - in progress"
  [1] "pcaMethods NIPALS imputation - in progress"
  [1] "pcaMethods NLPCA imputation - in progress"
  [1] "mice mixed imputation - in progress"
  [1] "mi imputation - in progress"
  starting worker pid=20506 on localhost:11418 at 07:30:45.269
  starting worker pid=20718 on localhost:11418 at 07:30:45.641
  [1] "Amelia II imputation - in progress"
  [1] "missForest imputation - in progress"
  [1] "Hmisc aregImpute imputation - in progress"
  [1] "VIM kNN imputation - in progress"
  [1] "random replacement imputation - in progress"
  [1] "Median imputation - in progress"
  [1] "Mean imputation - in progress"
  [1] "missMDA regularized imputation - in progress"
  [1] "missMDA EM imputation - in progress"
  [1] "pcaMethods PPCA imputation - in progress"
  [1] "pcaMethods svdImpute imputation - in progress"
  [1] "pcaMethods BPCA imputation - in progress"
  [1] "pcaMethods NIPALS imputation - in progress"
  [1] "pcaMethods NLPCA imputation - in progress"
  [1] "mice mixed imputation - in progress"
  [1] "mi imputation - in progress"
  starting worker pid=29048 on localhost:11418 at 07:31:06.608
  starting worker pid=29159 on localhost:11418 at 07:31:07.153
  [1] "Amelia II imputation - in progress"
  [1] "missForest imputation - in progress"
  [1] "Hmisc aregImpute imputation - in progress"
  [1] "VIM kNN imputation - in progress"
  [1] "Median imputation - in progress"
  [1] "Mean imputation - in progress"
  [1] "missMDA regularized imputation - in progress"
  [1] "missMDA EM imputation - in progress"
  [1] "pcaMethods svdImpute imputation - in progress"
  [1] "pcaMethods BPCA imputation - in progress"
  [1] "pcaMethods NIPALS imputation - in progress"
  [1] "VIM kNN imputation - in progress"
  [1] "random replacement imputation - in progress"
  [1] "ITERATION 1 OF TOTAL 2 - IN PROGRESS"
  [1] "random replacement imputation - in progress"
  [1] "Median imputation - in progress"
  [1] "Mean imputation - in progress"
  [1] "missMDA regularized imputation - in progress"
  [1] "missMDA EM imputation - in progress"
  [1] "pcaMethods PPCA imputation - in progress"
  [1] "pcaMethods svdImpute imputation - in progress"
  [1] "pcaMethods BPCA imputation - in progress"
  [1] "pcaMethods NIPALS imputation - in progress"
  [1] "pcaMethods NLPCA imputation - in progress"
  [1] "mice mixed imputation - in progress"
  [1] "mi imputation - in progress"
  starting worker pid=7230 on localhost:11418 at 07:31:47.772
  starting worker pid=7424 on localhost:11418 at 07:31:48.379
  starting worker pid=11496 on localhost:11418 at 07:31:54.637
  starting worker pid=11877 on localhost:11418 at 07:31:55.348
  starting worker pid=16643 on localhost:11418 at 07:32:01.249
  starting worker pid=16966 on localhost:11418 at 07:32:01.735
  [1] "Amelia II imputation - in progress"
  [1] "missForest imputation - in progress"
  [1] "Hmisc aregImpute imputation - in progress"
  [1] "VIM kNN imputation - in progress"
  [1] "ITERATION 2 OF TOTAL 2 - IN PROGRESS"
  ── 1. Failure: simulation runs without errors (@test.imp_simulation.R#17)  ─────
  `impute_simulated(...)` threw an error.
  Message: missing value where TRUE/FALSE needed
  Class:   simpleError/error/condition
  Backtrace:
    1. base::suppressWarnings(...)
    8. missCompare::impute_simulated(...)
    9. missCompare::all_patterns(...)
   10. missCompare::MAR(...)
   11. mice::ampute(...)
   12. mice::ampute.continuous(...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 35 | SKIPPED: 0 | WARNINGS: 9 | FAILED: 1 ]
  1. Failure: simulation runs without errors (@test.imp_simulation.R#17) 
  
  Error: testthat unit tests failed
  Execution halted