Running ‘testthat.R’ [56s/165s]
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=17372 on localhost:11257 at 22:00:40.422
  starting worker pid=17658 on localhost:11257 at 22:00:41.032
  [1] "missForest imputation - in progress"
  There were 12 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=25151 on localhost:11257 at 22:00:56.916
  starting worker pid=25416 on localhost:11257 at 22:00:57.529
  Warning messages:
  1: algorithm did not converge 
  2: algorithm did not converge 
  3: algorithm did not converge 
  4: algorithm did not converge 
  5: algorithm did not converge 
  6: In .local(y, data, ...) :
    bayesglm() did not converge for variable sex on iteration 101
  [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=4406 on localhost:11257 at 22:01:26.010
  starting worker pid=4655 on localhost:11257 at 22:01:26.659
  [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=16961 on localhost:11257 at 22:01:54.777
  starting worker pid=17499 on localhost:11257 at 22:01:55.380
  [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=11687 on localhost:11257 at 22:02:43.234
  starting worker pid=12018 on localhost:11257 at 22:02:43.911
  starting worker pid=15781 on localhost:11257 at 22:02:52.640
  starting worker pid=16004 on localhost:11257 at 22:02:53.450
  starting worker pid=18610 on localhost:11257 at 22:03:01.311
  starting worker pid=18863 on localhost:11257 at 22:03:01.901
  [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