Running ‘testthat.R’ [56s/162s]
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=29829 on localhost:11215 at 22:01:55.514
  starting worker pid=30360 on localhost:11215 at 22:01:56.234
  [1] "missForest imputation - in progress"
  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 
  [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=5985 on localhost:11215 at 22:02:14.325
  starting worker pid=6117 on localhost:11215 at 22:02:14.951
  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: algorithm did not converge 
  7: algorithm did not converge 
  8: algorithm did not converge 
  9: algorithm did not converge 
  [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=18095 on localhost:11215 at 22:02:44.260
  starting worker pid=18465 on localhost:11215 at 22:02:45.044
  [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=498 on localhost:11215 at 22:03:10.183
  starting worker pid=970 on localhost:11215 at 22:03:10.936
  [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=22174 on localhost:11215 at 22:03:56.277
  starting worker pid=22435 on localhost:11215 at 22:03:56.840
  starting worker pid=26219 on localhost:11215 at 22:04:05.442
  starting worker pid=26704 on localhost:11215 at 22:04:06.275
  starting worker pid=29421 on localhost:11215 at 22:04:12.567
  starting worker pid=29673 on localhost:11215 at 22:04:13.252
  [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