Running ‘testthat.R’ [38s/87s]
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=31095 on localhost:11943 at 07:26:47.366
  starting worker pid=31550 on localhost:11943 at 07:26:48.079
  [1] "missForest imputation - in progress"
  There were 18 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=15894 on localhost:11943 at 07:27:02.330
  starting worker pid=16514 on localhost:11943 at 07:27:02.845
  There were 15 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=13225 on localhost:11943 at 07:27:24.798
  starting worker pid=13869 on localhost:11943 at 07:27:25.290
  [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=4501 on localhost:11943 at 07:27:47.808
  starting worker pid=4680 on localhost:11943 at 07:27:48.426
  [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