Running 'testthat.R' [43s/48s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(doMIsaul)
  > 
  > test_check("doMIsaul")
  Loading required namespace: mclust
  Package 'mclust' version 5.4.10
  Type 'citation("mclust")' for citing this R package in publications.
  Loading required namespace: CPE
  Failed with error:  'there is no package called 'CPE''
  Loading required namespace: igraph
  Loading required namespace: RColorBrewer
  Loading required namespace: dbscan
  Loading required namespace: cluster
  Loading required namespace: e1071
  [ FAIL 2 | WARN 1 | SKIP 1 | PASS 65 ]
  
  == Skipped tests ===============================================================
  * empty test (1)
  
  == Failed tests ================================================================
  -- Error (test-other.R:32:3): mi impute for censored ---------------------------
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'censReg'
  Backtrace:
       x
    1. +-testthat::expect_equal(...) at test-other.R:32:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-doMIsaul::MImpute_lcens(...)
    5. | \-mice::mice(...)
    6. |   \-mice:::sampler(...)
    7. |     \-mice:::sampler.univ(...)
    8. |       +-base::do.call(f, args = args)
    9. |       \-mice mice.impute.cens(...)
   10. |         \-doMIsaul doMI.cens.draw3(y = yy, ry = ryy, x = x, lod.j = lod.j)
   11. \-base::loadNamespace(x)
   12.   \-base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   13.     \-base withOneRestart(expr, restarts[[1L]])
   14.       \-base doWithOneRestart(return(expr), restart)
  -- Error (test-unsupMI.R:29:3): UnsupMI it self --------------------------------
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'censReg'
  Backtrace:
       x
    1. +-testthat::expect_equal(...) at test-unsupMI.R:29:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-doMIsaul::unsupMI(...)
    5. | \-doMIsaul::MImpute_lcens(...)
    6. |   \-mice::mice(...)
    7. |     \-mice:::sampler(...)
    8. |       \-mice:::sampler.univ(...)
    9. |         +-base::do.call(f, args = args)
   10. |         \-mice mice.impute.cens(...)
   11. |           \-doMIsaul doMI.cens.draw3(y = yy, ry = ryy, x = x, lod.j = lod.j)
   12. \-base::loadNamespace(x)
   13.   \-base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   14.     \-base withOneRestart(expr, restarts[[1L]])
   15.       \-base doWithOneRestart(return(expr), restart)
  
  [ FAIL 2 | WARN 1 | SKIP 1 | PASS 65 ]
  Error: Test failures
  Execution halted