Running ‘testthat.R’ [4s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(checkmate) # for more expect_*() functions
  > library(mlr3benchmark)
  > 
  > test_check("mlr3benchmark")
  INFO  [00:29:02.355] [mlr3]  Running benchmark with 4 resampling iterations 
  INFO  [00:29:02.831] [mlr3]  Applying learner 'regr.featureless' on task 'mtcars' (iter 1/1) 
  INFO  [00:29:02.858] [mlr3]  Applying learner 'regr.featureless' on task 'boston_housing' (iter 1/1) 
  INFO  [00:29:02.883] [mlr3]  Applying learner 'regr.rpart' on task 'boston_housing' (iter 1/1) 
  INFO  [00:29:02.916] [mlr3]  Applying learner 'regr.rpart' on task 'mtcars' (iter 1/1) 
  INFO  [00:29:02.958] [mlr3]  Finished benchmark 
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_BenchmarkAggr.R:69:3): public methods ───────────────────────────
  <defunctError/error/condition>
  Error: 'posthoc.friedman.nemenyi.test.default' is defunct.
  Use 'PMCMRplus::frdAllPairsNemenyiTest' instead.
  See help("Defunct") and help("PMCMR-defunct").
  Backtrace:
       █
    1. ├─testthat::expect_silent(ba$friedman_posthoc(p.value = 0.9, meas = "RMSE")) test_BenchmarkAggr.R:69:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat:::.capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─ba$friedman_posthoc(p.value = 0.9, meas = "RMSE")
   10.   └─mlr3benchmark:::.__BenchmarkAggr__friedman_posthoc(...)
   11.     ├─PMCMR::posthoc.friedman.nemenyi.test(form, data = private$.dt)
   12.     └─PMCMR:::posthoc.friedman.nemenyi.test.formula(form, data = private$.dt)
   13.       ├─base::do.call("posthoc.friedman.nemenyi.test", as.list(mf))
   14.       ├─PMCMR::posthoc.friedman.nemenyi.test(...)
   15.       └─PMCMR:::posthoc.friedman.nemenyi.test.default(...)
   16.         └─base::.Defunct(new = "PMCMRplus::frdAllPairsNemenyiTest", package = "PMCMR")
  ── Error (test_autoplot_BenchmarkAggr.R:12:3): autoplot.BenchmarkAggr ──────────
  <defunctError/error/condition>
  Error: 'posthoc.friedman.nemenyi.test.default' is defunct.
  Use 'PMCMRplus::frdAllPairsNemenyiTest' instead.
  See help("Defunct") and help("PMCMR-defunct").
  Backtrace:
       █
    1. ├─testthat::expect_true(is.ggplot(autoplot(ba, type = "fn"))) test_autoplot_BenchmarkAggr.R:12:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─ggplot2::is.ggplot(autoplot(ba, type = "fn"))
    5. ├─ggplot2::autoplot(ba, type = "fn")
    6. └─mlr3benchmark:::autoplot.BenchmarkAggr(ba, type = "fn")
    7.   ├─base::tryCatch(...)
    8.   │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
    9.   │   └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.   │     └─base:::doTryCatch(return(expr), name, parentenv, handler)
   11.   └─obj$friedman_posthoc(meas, p.value)
   12.     └─mlr3benchmark:::.__BenchmarkAggr__friedman_posthoc(...)
   13.       ├─PMCMR::posthoc.friedman.nemenyi.test(form, data = private$.dt)
   14.       └─PMCMR:::posthoc.friedman.nemenyi.test.formula(form, data = private$.dt)
   15.         ├─base::do.call("posthoc.friedman.nemenyi.test", as.list(mf))
   16.         ├─PMCMR::posthoc.friedman.nemenyi.test(...)
   17.         └─PMCMR:::posthoc.friedman.nemenyi.test.default(...)
   18.           └─base::.Defunct(new = "PMCMRplus::frdAllPairsNemenyiTest", package = "PMCMR")
  ── Error (test_autoplot_BenchmarkAggr.R:26:3): autoplot.BenchmarkAggr cd ───────
  <defunctError/error/condition>
  Error: 'posthoc.friedman.nemenyi.test.default' is defunct.
  Use 'PMCMRplus::frdAllPairsNemenyiTest' instead.
  See help("Defunct") and help("PMCMR-defunct").
  Backtrace:
       █
    1. ├─testthat::expect_silent(...) test_autoplot_BenchmarkAggr.R:26:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat:::.capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─ggplot2::is.ggplot(autoplot(ba, type = "fn", p.value = 1, test = "bd"))
   10. ├─ggplot2::autoplot(ba, type = "fn", p.value = 1, test = "bd")
   11. └─mlr3benchmark:::autoplot.BenchmarkAggr(...)
   12.   ├─base::tryCatch(...)
   13.   │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
   14.   │   └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   15.   │     └─base:::doTryCatch(return(expr), name, parentenv, handler)
   16.   └─obj$friedman_posthoc(meas, p.value)
   17.     └─mlr3benchmark:::.__BenchmarkAggr__friedman_posthoc(...)
   18.       ├─PMCMR::posthoc.friedman.nemenyi.test(form, data = private$.dt)
   19.       └─PMCMR:::posthoc.friedman.nemenyi.test.formula(form, data = private$.dt)
   20.         ├─base::do.call("posthoc.friedman.nemenyi.test", as.list(mf))
   21.         ├─PMCMR::posthoc.friedman.nemenyi.test(...)
   22.         └─PMCMR:::posthoc.friedman.nemenyi.test.default(...)
   23.           └─base::.Defunct(new = "PMCMRplus::frdAllPairsNemenyiTest", package = "PMCMR")
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 36 ]
  Error: Test failures
  Execution halted