Running 'testthat.R' [22s/28s]
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  
  [ FAIL 2 | WARN 1 | SKIP 5 | PASS 1284 ]
  
  == Skipped tests ===============================================================
  * On CRAN (5)
  
  == Failed tests ================================================================
  -- Failure ('test_mlr_learners_clust_dbscan.R:11'): autotest -------------------
  `result` is not TRUE
  
  `actual` is a list
  `expected` is a logical vector (TRUE)
  [predict()] learner 'clust.dbscan:partition' on task 'sanity' failed: predict log has errors: argument is of length zero
  -- Error ('test_mlr_learners_clust_dbscan.R:32'): Learner properties are respected --
  Error in `if (object$dist != "euclidean") warning("dbscan used non-Euclidean distances, predict assigns new points using Euclidean distances!")`: argument is of length zero
  Backtrace:
       x
    1. \-learner$train(task)$predict(task) at test_mlr_learners_clust_dbscan.R:32: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 (local) .f(task = `<TaskClst>`, learner = `<LCDBSCAN>`)
   10.           \-get_private(learner)$.predict(task)
   11.             \-mlr3cluster:::.__LearnerClustDBSCAN__.predict(...)
   12.               +-stats::predict(self$model, newdata = task$data(), self$model$data)
   13.               \-dbscan:::predict.dbscan_fast(...)
  
  [ FAIL 2 | WARN 1 | SKIP 5 | PASS 1284 ]
  Error: Test failures
  Execution halted