Running ‘testthat.R’ [359s/166s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(NADIA)
  Loading required package: mlr3
  Loading required package: mlr3pipelines
  Loading required package: paradox
  > 
  > test_check("NADIA")
  INFO  [11:07:13.497] [mlr3]  Applying learner 'impute_missMDA_MCA_PCA_FMAD_A.classif.glmnet' on task 'pima' (iter 3/5) 
  [1] "Error in doTryCatch(return(expr), name, parentenv, handler): No values with no missing values\n"
  INFO  [11:09:39.387] [mlr3]  Applying learner 'impute_mice_B.encodeimpact.classif.glmnet' on task 'test' (iter 2/2) 
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (18)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_A.R:51:3): Testing missMDA in A approach ────────────────────────
  Error: need at least two non-NA values to interpolate
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test_A.R:51:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─mlr3::resample(tsk("pima"), learner, rsmp("cv", folds = 5))
    5.   └─future.apply::future_lapply(...)
    6.     └─future.apply:::future_xapply(...)
    7.       ├─future::value(fs)
    8.       └─future:::value.list(fs)
    9.         ├─future::resolve(...)
   10.         └─future:::resolve.list(...)
   11.           └─future:::signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   12.             └─future:::signalConditions(...)
  ── Error (test_mlworkflow.R:92:5): Testing imputation with learnerimpute_mice_B ──
  Error: need at least two non-NA values to interpolate
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test_mlworkflow.R:92:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─mlr3::resample(...)
    5.   └─future.apply::future_lapply(...)
    6.     └─future.apply:::future_xapply(...)
    7.       ├─future::value(fs)
    8.       └─future:::value.list(fs)
    9.         ├─future::resolve(...)
   10.         └─future:::resolve.list(...)
   11.           └─future:::signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   12.             └─future:::signalConditions(...)
  
  [ FAIL 2 | WARN 0 | SKIP 18 | PASS 84 ]
  Error: Test failures
  Execution halted