Running ‘testthat.R’ [231s/185s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("checkmate")
  +   library("testthat")
  +   library("mlr3")
  +   library("paradox")
  +   library("mlr3pipelines")
  +   test_check("mlr3pipelines")
  + }
  Starting 2 test processes
  [ FAIL 1 | WARN 0 | SKIP 79 | PASS 12703 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (77)
  • empty test (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_pipeop_smote.R:27:3'): compare to smotefamily::SMOT ────────────
  Error in `get.knnx(data, query, k, algorithm)`: DLL requires the use of native symbols
  This happened PipeOp smote's $train()
  Backtrace:
       ▆
    1. ├─mlr3pipelines:::train_pipeop(op, inputs = list(task)) at test_pipeop_smote.R:27:2
    2. │ └─po$train(inputs) at tests/testthat/helper_functions.R:423:2
    3. │   └─mlr3pipelines:::.__PipeOp__train(...)
    4. │     ├─base::withCallingHandlers(...)
    5. │     └─private$.train(input)
    6. │       └─mlr3pipelines:::.__PipeOpTaskPreproc__.train(...)
    7. │         └─private$.train_task(intask)
    8. │           └─mlr3pipelines:::.__PipeOpSmote__.train_task(...)
    9. │             ├─data.table::setDT(...)
   10. │             ├─mlr3misc::invoke(...)
   11. │             │ └─base::eval.parent(expr, n = 1L)
   12. │             │   └─base::eval(expr, p)
   13. │             │     └─base::eval(expr, p)
   14. │             └─smotefamily::SMOTE(X = dt, target = task$truth(), K = 3L)
   15. │               └─smotefamily::knearest(P_set, P_set, K)
   16. │                 └─FNN::knnx.index(D, P, k = (n_clust + 1), algo = "kd_tree")
   17. │                   └─FNN::get.knnx(data, query, k, algorithm)
   18. └─base::.handleSimpleError(...)
   19.   └─mlr3pipelines (local) h(simpleError(msg, call))
  
  [ FAIL 1 | WARN 0 | SKIP 79 | PASS 12703 ]
  Error: Test failures
  Execution halted