Running ‘testthat.R’ [15s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library(checkmate)
  +   library(testthat)
  +   library(mlr3)
  +   library(mlr3cluster)
  + 
  +   test_check("mlr3cluster")
  + }
   Setting default kernel parameters  
  Using automatic sigma estimation (sigest) for RBF or laplace kernel 
   Setting default kernel parameters  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (5)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_mlr_learners_clust_ap.R:31:5): Learner properties are respected ──
  Error in `sim_func(rbind(exemplar_data, task$data()), sel = (1:nrow(task$data())) + 
      nrow(exemplar_data))`: no correlation for vector or list
  Backtrace:
       █
    1. └─learner$train(task)$predict(task) test_mlr_learners_clust_ap.R:31:4
    2.   └─mlr3:::.__Learner__predict(...)
    3.     └─mlr3:::learner_predict(self, task, row_ids)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3:::.f(task = <environment>, learner = <environment>)
   10.           └─get_private(learner)$.predict(task)
   11.             └─apcluster:::sim_func(...)
  ── Failure (test_mlr_learners_clust_meanshift.R:10:3): autotest ────────────────
  `result` is not TRUE
  
  `actual` is a list
  `expected` is a logical vector (TRUE)
  [train()] learner 'clust.meanshift:partition' on task 'sanity' failed: train log has errors: non-numeric argument to binary operator
  ── Error (test_mlr_learners_clust_meanshift.R:30:5): Learner properties are respected ──
  Error in `FUN(x, aperm(array(STATS, dims[perm]), order(perm)), ...)`: non-numeric argument to binary operator
  Backtrace:
       █
    1. ├─base::suppressWarnings(learner$train(task)$predict(task), classes = "predictionUselessWarning") test_mlr_learners_clust_meanshift.R:30:4
    2. │ └─base::withCallingHandlers(...)
    3. └─learner$train(task)
    4.   └─mlr3:::.__Learner__train(...)
    5.     └─mlr3:::learner_train(learner, task, row_ids, mode)
    6.       └─mlr3misc::encapsulate(...)
    7.         ├─mlr3misc::invoke(...)
    8.         │ └─base::eval.parent(expr, n = 1L)
    9.         │   └─base::eval(expr, p)
   10.         │     └─base::eval(expr, p)
   11.         └─mlr3:::.f(learner = <environment>, task = <environment>)
   12.           └─get_private(learner)$.train(task)
   13.             ├─mlr3misc::invoke(LPCM::ms, X = task$data(), .args = pv)
   14.             │ └─base::eval.parent(expr, n = 1L)
   15.             │   └─base::eval(expr, p)
   16.             │     └─base::eval(expr, p)
   17.             └─LPCM::ms(X = task$data(), h = 2L)
   18.               └─base::sweep(X, 2, s1, "/")
  
  [ FAIL 3 | WARN 1 | SKIP 5 | PASS 1077 ]
  Error: Test failures
  Execution halted