Running ‘testthat.R’ [31s/51s]
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")
  [1] "Error in doTryCatch(return(expr), name, parentenv, handler): No values with no missing values\n"
  INFO  [17:06:24.161] [mlr3] Applying learner 'impute_mice_B.encodeimpact.classif.glmnet' on task 'test' (iter 1/2)
  INFO  [17:06:27.673] [mlr3] Applying learner 'impute_mice_B.encodeimpact.classif.glmnet' on task 'test' (iter 2/2)
  [ FAIL 4 | WARN 2 | SKIP 27 | PASS 63 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (27)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_advancePipeline.R:75:3'): Adavance pipe simple imputation  ─────
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  This happened PipeOp impute_missRanger_B's $train()
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test_advancePipeline.R:75:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─PipeOpmissRanger$new()$train(list(task))
    5. │ └─mlr3pipelines:::.__PipeOp__train(...)
    6. │   ├─base::withCallingHandlers(...)
    7. │   └─private$.train(input)
    8. │     └─mlr3pipelines:::.__PipeOpImpute__.train(...)
    9. │       └─mlr3misc::imap(...)
   10. │         ├─stats::setNames(mapply_list(.f, list(.x, .nn), list(...)), names(.x))
   11. │         └─mlr3misc:::mapply_list(.f, list(.x, .nn), list(...))
   12. │           └─base::.mapply(.f, .dots, .args)
   13. │             └─mlr3pipelines (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
   14. │               └─private$.train_imputer(col, type, context)
   15. │                 └─NADIA (local) imp_function(data_to_impute)
   16. │                   └─NADIA::autotune_missRanger(...)
   17. │                     └─base::tryCatch(...)
   18. │                       └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   19. │                         └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   20. │                           └─value[[3L]](cond)
   21. │                             └─base::stop(e)
   22. └─mlr3pipelines (local) `<fn>`(`<smplErrr>`)
  ── Error ('test_autotune.R:45:3'): Modyfied iris set missRanger ────────────────
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test_autotune.R:45:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─NADIA::autotune_missRanger(test_set, percent_of_missing = percent_of_missing)
   5.   └─base::tryCatch(...)
   6.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   7.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   8.         └─value[[3L]](cond)
  ── Error ('test_autotune.R:112:3'): Small numeric data set missRanger ──────────
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test_autotune.R:112:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─NADIA::autotune_missRanger(test_set, percent_of_missing = percent_of_missing)
   5.   └─base::tryCatch(...)
   6.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   7.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   8.         └─value[[3L]](cond)
  ── Error ('test_autotune.R:192:3'): Corect class return missRanger ─────────────
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─NADIA::autotune_missRanger(test_set, percent_of_missing = percent_of_missing) at test_autotune.R:192:2
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  
  [ FAIL 4 | WARN 2 | SKIP 27 | PASS 63 ]
  Error: Test failures
  Execution halted