Running 'testthat.R' [119s]
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=38416 on localhost:11152 at 10:39:21.049
  starting worker pid=19372 on localhost:11152 at 10:39:21.533
  [1] "missForest imputation - in progress"
  [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=115868 on localhost:11152 at 10:39:40.095
  starting worker pid=212528 on localhost:11152 at 10:39:40.594
  Warning messages:
  1: algorithm did not converge 
  2: algorithm did not converge 
  3: algorithm did not converge 
  4: algorithm did not converge 
  5: In .local(y, data, ...) :
    bayesglm() did not converge for variable sex on iteration 100
  6: algorithm did not converge 
  7: 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=202572 on localhost:11152 at 10:40:13.508
  starting worker pid=95744 on localhost:11152 at 10:40:14.022
  [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=11816 on localhost:11152 at 10:40:43.800
  starting worker pid=37368 on localhost:11152 at 10:40:44.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] "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. 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