Running 'testthat.R' [84s]
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=198796 on localhost:11091 at 00:54:01.663
  starting worker pid=176076 on localhost:11091 at 00:54:02.126
  There were 11 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] "mice mixed imputation - in progress"
  [1] "mi imputation - in progress"
  starting worker pid=97788 on localhost:11091 at 00:54:16.197
  starting worker pid=164516 on localhost:11091 at 00:54:16.493
  There were 13 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=184728 on localhost:11091 at 00:54:38.193
  starting worker pid=36644 on localhost:11091 at 00:54:38.583
  [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=15976 on localhost:11091 at 00:54:59.906
  starting worker pid=39728 on localhost:11091 at 00:55:00.155
  [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
  1: all_patterns(X_hat = simulated$Simulated_matrix, MD_pattern = y$MD_Pattern, NA_fraction = y$Fraction_missingness, 
         min_PDM = 2) at testthat/test.imp_simulation.R:10
  2: MAR(X_hat, MD_pattern = MD_pattern, NA_fraction = NA_fraction, min_PDM = min_PDM)
  3: mice::ampute(X_hat, prop = NA_fraction, patterns = MD_pattern_simple, freq = myfreq, 
         bycases = F, mech = "MAR")
  4: ampute.continuous(P = P, scores = scores, prop = round(prop, 3), type = type)
  
  == testthat results  ===========================================================
  OK: 35 SKIPPED: 0 FAILED: 1
  1. Error: (unknown) (@test.imp_simulation.R#10) 
  
  Error: testthat unit tests failed
  Execution halted