Running ‘testthat.R’ [37s/86s]
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=724 on localhost:11614 at 07:26:45.300
  starting worker pid=856 on localhost:11614 at 07:26:45.846
  [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 
  6: 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=6582 on localhost:11614 at 07:26:59.871
  starting worker pid=6796 on localhost:11614 at 07:27:00.502
  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: 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=15506 on localhost:11614 at 07:27:21.928
  starting worker pid=15726 on localhost:11614 at 07:27:22.376
  [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=23922 on localhost:11614 at 07:27:44.140
  starting worker pid=23986 on localhost:11614 at 07:27:44.713
  [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. Error: (unknown) (@test.imp_simulation.R#10)  ────────────────────────────
  missing value where TRUE/FALSE needed
  Backtrace:
   1. missCompare::all_patterns(...)
   2. missCompare::MNAR(...)
   3. mice::ampute(...)
   4. mice::ampute.continuous(...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 35 | SKIPPED: 0 | WARNINGS: 9 | FAILED: 1 ]
  1. Error: (unknown) (@test.imp_simulation.R#10) 
  
  Error: testthat unit tests failed
  Execution halted