Running ‘testthat.R’ [41s/93s]
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. Error: (unknown) (@test.get_data.R#14)  ──────────────────────────────────
  The melt generic in data.table has been passed a matrix, but data.table::melt currently only has a method for data.tables. Please confirm your input is a data.table, with setDT(na_cor) or as.data.table(na_cor). If you intend to use a method from reshape2, try installing that package first, but do note that reshape2 is deprecated and you should be migrating your code away from using it.
  Backtrace:
   1. missCompare::get_data(cleaned, matrixplot_sort = T)
   2. data.table::melt(na_cor)
   3. base::tryCatch(...)
   4. base:::tryCatchList(expr, classes, parentenv, handlers)
   5. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   6. value[[3L]](cond)
  
  [1] "random replacement imputation - in progress"
  [1] "mice mixed imputation - in progress"
  [1] "mi imputation - in progress"
  starting worker pid=18682 on localhost:11362 at 17:11:30.903
  starting worker pid=18681 on localhost:11362 at 17:11:31.011
  [1] "missForest imputation - in progress"
  There were 21 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=25835 on localhost:11362 at 17:11:45.823
  starting worker pid=25834 on localhost:11362 at 17:11:45.897
  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 
  [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=2357 on localhost:11362 at 17:12:11.297
  starting worker pid=2358 on localhost:11362 at 17:12:11.325
  [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=10660 on localhost:11362 at 17:12:35.688
  starting worker pid=10661 on localhost:11362 at 17:12:35.781
  [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"
  ── 2. Error: (unknown) (@test.imp_simulation.R#8)  ─────────────────────────────
  The melt generic in data.table has been passed a matrix, but data.table::melt currently only has a method for data.tables. Please confirm your input is a data.table, with setDT(na_cor) or as.data.table(na_cor). If you intend to use a method from reshape2, try installing that package first, but do note that reshape2 is deprecated and you should be migrating your code away from using it.
  Backtrace:
   1. missCompare::get_data(cleaned, matrixplot_sort = T)
   2. data.table::melt(na_cor)
   3. base::tryCatch(...)
   4. base:::tryCatchList(expr, classes, parentenv, handlers)
   5. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   6. value[[3L]](cond)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 27 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
  1. Error: (unknown) (@test.get_data.R#14) 
  2. Error: (unknown) (@test.imp_simulation.R#8) 
  
  Error: testthat unit tests failed
  Execution halted