Package: cpi Check: tests New result: ERROR Running ‘testthat.R’ [6s/6s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(cpi) > > test_check("cpi") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-check_args.R:55:3'): fails with Gaussian knockoffs and factors ── Error: Element with key 'boston_housing' not found in DictionaryTask! Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-check_args.R:55:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─cpi::cpi(...) 8. └─mlr3::tsk("boston_housing") 9. └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...) 10. └─mlr3misc:::dictionary_get(dict, .key) 11. └─mlr3misc:::dictionary_retrieve_item(self, key) 12. └─mlr3misc::stopf(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ] Error: Test failures Execution halted Package: mlr3benchmark Check: examples New result: ERROR Running examples in ‘mlr3benchmark-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: BenchmarkAggr > ### Title: Aggregated Benchmark Result Object > ### Aliases: BenchmarkAggr > > ### ** Examples > > # Not restricted to mlr3 objects > df = data.frame(tasks = factor(rep(c("A", "B"), each = 5), + levels = c("A", "B")), + learners = factor(paste0("L", 1:5)), + RMSE = runif(10), MAE = runif(10)) > as_benchmark_aggr(df, task_id = "tasks", learner_id = "learners") of 10 rows with 2 tasks, 5 learners and 2 measures tasks learners RMSE MAE 1: A L1 0.26550866 0.2059746 2: A L2 0.37212390 0.1765568 3: A L3 0.57285336 0.6870228 4: A L4 0.90820779 0.3841037 5: A L5 0.20168193 0.7698414 6: B L1 0.89838968 0.4976992 7: B L2 0.94467527 0.7176185 8: B L3 0.66079779 0.9919061 9: B L4 0.62911404 0.3800352 10: B L5 0.06178627 0.7774452 > > if (requireNamespaces(c("mlr3", "rpart"))) { + library(mlr3) + task = tsks(c("boston_housing", "mtcars")) + learns = lrns(c("regr.featureless", "regr.rpart")) + bm = benchmark(benchmark_grid(task, learns, rsmp("cv", folds = 2))) + + # coercion + as_benchmark_aggr(bm) + } Error: Element with key 'boston_housing' not found in DictionaryTask! Execution halted Package: mlr3benchmark Check: tests New result: ERROR Running ‘testthat.R’ [4s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + library("testthat") + library("checkmate") # for more expect_*() functions + library("mlr3benchmark") + test_check("mlr3benchmark") + } INFO [21:36:08.676] [mlr3] Running benchmark with 18 resampling iterations INFO [21:36:08.808] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 1/3) INFO [21:36:08.855] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 2/3) INFO [21:36:08.874] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 3/3) INFO [21:36:08.942] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 1/3) INFO [21:36:08.972] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 2/3) INFO [21:36:08.998] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 3/3) INFO [21:36:09.024] [mlr3] Applying learner 'rpart2' on task 'iris' (iter 1/3) INFO [21:36:09.050] [mlr3] Applying learner 'rpart2' on task 'iris' (iter 2/3) INFO [21:36:09.077] [mlr3] Applying learner 'rpart2' on task 'iris' (iter 3/3) INFO [21:36:09.103] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/3) INFO [21:36:09.121] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/3) INFO [21:36:09.139] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/3) INFO [21:36:09.152] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/3) INFO [21:36:09.188] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/3) INFO [21:36:09.221] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/3) INFO [21:36:09.252] [mlr3] Applying learner 'rpart2' on task 'sonar' (iter 1/3) INFO [21:36:09.291] [mlr3] Applying learner 'rpart2' on task 'sonar' (iter 2/3) INFO [21:36:09.337] [mlr3] Applying learner 'rpart2' on task 'sonar' (iter 3/3) INFO [21:36:09.383] [mlr3] Finished benchmark [ FAIL 1 | WARN 4 | SKIP 0 | PASS 50 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_BenchmarkAggr.R:99:3'): mlr3 coercions ───────────────────────── Error: Element with key 'boston_housing' not found in DictionaryTask! Backtrace: ▆ 1. └─mlr3::tsks(c("boston_housing", "mtcars")) at test_BenchmarkAggr.R:99:3 2. └─mlr3misc::dictionary_sugar_mget(dict = mlr_tasks, .keys, ...) 3. └─base::lapply(.keys, dictionary_sugar_get, dict = dict, ...) 4. └─mlr3misc (local) FUN(X[[i]], ...) 5. └─mlr3misc:::dictionary_get(dict, .key) 6. └─mlr3misc:::dictionary_retrieve_item(self, key) 7. └─mlr3misc::stopf(...) [ FAIL 1 | WARN 4 | SKIP 0 | PASS 50 ] Error: Test failures Execution halted Package: mlr3spatiotempcv Check: tests New result: ERROR Running ‘testthat.R’ [87s/44s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + library("checkmate") + library("testthat") + library("mlr3spatiotempcv") + test_check("mlr3spatiotempcv") + } Loading required package: mlr3 Starting 2 test processes [ FAIL 1 | WARN 1 | SKIP 24 | PASS 1206 ] ══ Skipped tests (24) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-1-autoplot.R:40:3', 'test-1-autoplot.R:72:3', 'test-1-autoplot.R:98:3', 'test-1-autoplot.R:130:3', 'test-1-autoplot.R:157:3', 'test-1-autoplot.R:189:3', 'test-1-autoplot.R:224:3', 'test-1-autoplot.R:257:3', 'test-1-autoplot.R:268:3', 'test-1-autoplot.R:315:3', 'test-1-autoplot.R:343:3', 'test-1-autoplot.R:377:3', 'test-2-autoplot.R:129:3', 'test-2-autoplot.R:182:3', 'test-2-autoplot.R:204:3', 'test-2-autoplot.R:246:3', 'test-2-autoplot.R:300:3', 'test-2-autoplot.R:352:3', 'test-autoplot_buffer.R:19:3' • On Linux (2): 'test-2-autoplot.R:8:3', 'test-2-autoplot.R:54:3' • empty test (1): 'test-helper-DataBackend.R:1:1' • raster cannot be loaded (1): 'test-mlr3pipelines-graph-integration.R:4:3' • skmeans cannot be loaded (1): 'test-mlr_sptcv_generic.R:70:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-TaskClassifST.R:16:3'): Supplying a non-spatio temporal task gives descriptive error message ── Error: Element with key 'boston_housing' not found in DictionaryTask! Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-TaskClassifST.R:16:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─rsmp("spcv_coords")$instantiate(tsk("boston_housing")) 8. │ └─mlr3spatiotempcv:::.__ResamplingSpCVCoords__instantiate(...) 9. │ └─mlr3::assert_task(task) 10. │ └─checkmate::assert_class(task, "Task", .var.name = .var.name) 11. │ └─checkmate::checkClass(x, classes, ordered, null.ok) 12. └─mlr3::tsk("boston_housing") 13. └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...) 14. └─mlr3misc:::dictionary_get(dict, .key) 15. └─mlr3misc:::dictionary_retrieve_item(self, key) 16. └─mlr3misc::stopf(...) [ FAIL 1 | WARN 1 | SKIP 24 | PASS 1206 ] Deleting unused snapshots: • 1-autoplot/autoplot-show-blocks-true-show-labels-true.svg • 1-autoplot/custom-cv-fold-1-2-sample-fold-n.svg • 1-autoplot/custom-cv-fold-1-2.svg • 1-autoplot/custom-cv-fold-1-sample-fold-n.svg • 1-autoplot/custom-cv-fold-1.svg • 1-autoplot/custom-cv-sample-fold-n.svg • 1-autoplot/cv-fold-1-2-groups-col-role.svg • 1-autoplot/cv-fold-1-2-sample-fold-n.svg • 1-autoplot/cv-fold-1-2.svg • 1-autoplot/cv-fold-1-groups-col-role.svg • 1-autoplot/cv-fold-1-sample-fold-n.svg • 1-autoplot/cv-fold-1.svg • 1-autoplot/cv-sample-fold-n.svg • 1-autoplot/repcv-fold-1-2-rep-1.svg • 1-autoplot/repcv-fold-1-2-rep-2.svg • 1-autoplot/repcv-fold-1-rep-1.svg • 1-autoplot/repcv-fold-1-rep-2.svg • 1-autoplot/repspcvblock-fold-1-2-rep-1.svg • 1-autoplot/repspcvblock-fold-1-2-rep-2.svg • 1-autoplot/repspcvblock-fold-1-rep-1.svg • 1-autoplot/repspcvblock-fold-1-rep-2.svg • 1-autoplot/repspcvcoords-fold-1-2-rep-1.svg • 1-autoplot/repspcvcoords-fold-1-2-rep-2.svg • 1-autoplot/repspcvcoords-fold-1-2-sample-fold-n.svg • 1-autoplot/repspcvcoords-fold-1-rep-1.svg • 1-autoplot/repspcvcoords-fold-1-rep-2.svg • 1-autoplot/repspcvcoords-fold-1-sample-fold-n.svg • 1-autoplot/repspcvcoords-sample-fold-n.svg • 1-autoplot/repspcvenv-fold-1-2-rep-1.svg • 1-autoplot/repspcvenv-fold-1-2-rep-2.svg • 1-autoplot/repspcvenv-fold-1-rep-1.svg • 1-autoplot/repspcvenv-fold-1-rep-2.svg • 1-autoplot/spcvblock-fold-1-2-sample-fold-n.svg • 1-autoplot/spcvblock-fold-1-2.svg • 1-autoplot/spcvblock-fold-1-sample-fold-n.svg • 1-autoplot/spcvblock-fold-1.svg • 1-autoplot/spcvblock-sample-fold-n.svg • 1-autoplot/spcvcoords-fold-1-2.svg • 1-autoplot/spcvcoords-fold-1.svg • 1-autoplot/spcvenv-fold-1-2-sample-fold-n.svg • 1-autoplot/spcvenv-fold-1-2.svg • 1-autoplot/spcvenv-fold-1-sample-fold-n.svg • 1-autoplot/spcvenv-fold-1.svg • 1-autoplot/spcvenv-sample-fold-n.svg • 2-autoplot/repspcvdisc-fold-1-2-rep-2.svg • 2-autoplot/repspcvdisc-fold-1-2-sample-fold-n.svg • 2-autoplot/repspcvdisc-fold-1-rep-1-sample-n-fold.svg • 2-autoplot/repspcvdisc-fold-1-rep-2.svg • 2-autoplot/repspcvdisc-fold-1-sample-fold-n.svg • 2-autoplot/repspcvdisc-sample-fold-n.svg • 2-autoplot/repspcvknndm-fold-1-2-rep-2.svg • 2-autoplot/repspcvknndm-fold-1-2-sample-fold-n.svg • 2-autoplot/repspcvknndm-fold-1-rep-1-sample-n-fold.svg • 2-autoplot/repspcvknndm-fold-1-rep-2.svg • 2-autoplot/repspcvknndm-fold-1-sample-fold-n.svg • 2-autoplot/repspcvknndm-sample-fold-n.svg • 2-autoplot/repspcvtiles-fold-1-2-rep-2.svg • 2-autoplot/repspcvtiles-fold-1-2-sample-fold-n.svg • 2-autoplot/repspcvtiles-fold-1-2.svg • 2-autoplot/repspcvtiles-fold-1-rep-2.svg • 2-autoplot/repspcvtiles-fold-1-sample-fold-n.svg • 2-autoplot/repspcvtiles-fold-1.svg • 2-autoplot/repspcvtiles-sample-fold-n.svg • 2-autoplot/repspcvtiles-show-omitted.svg • 2-autoplot/repsptcvcstf-2d-space-var-fold-1-2-rep-2.svg • 2-autoplot/repsptcvcstf-2d-space-var-fold-1-rep-2.svg • 2-autoplot/repsptcvcstf-fold-1-2-rep-1.svg • 2-autoplot/repsptcvcstf-fold-1-2-rep-2.svg • 2-autoplot/repsptcvcstf-fold-1-rep-1-sample-fold-n.svg • 2-autoplot/repsptcvcstf-fold-1-rep-2.svg • 2-autoplot/spcvdisc-fold-1-2.svg • 2-autoplot/spcvdisc-fold-1.svg • 2-autoplot/spcvdisc-show-omitted.svg • 2-autoplot/spcvknndm-fold-1-2.svg • 2-autoplot/spcvknndm-fold-1.svg • 2-autoplot/sptcvcstf-2d-space-var-all-test-sets.svg • 2-autoplot/sptcvcstf-2d-space-var-fold-1-2.svg • 2-autoplot/sptcvcstf-2d-space-var-fold-1.svg • 2-autoplot/sptcvcstf-2d-time-var-all-test-sets.svg • 2-autoplot/sptcvcstf-2d-time-var-fold-1-2-rep-2.svg • 2-autoplot/sptcvcstf-2d-time-var-fold-1-2-sample-fold-n.svg • 2-autoplot/sptcvcstf-2d-time-var-fold-1-2.svg • 2-autoplot/sptcvcstf-2d-time-var-fold-1-rep-2.svg • 2-autoplot/sptcvcstf-2d-time-var-fold-1-sample-fold-n.svg • 2-autoplot/sptcvcstf-2d-time-var-fold-1.svg • 2-autoplot/sptcvcstf-2d-time-var-sample-fold-n.svg • 2-autoplot/sptcvcstf-3d-time-var-fold-1-2-sample-fold-n.svg • 2-autoplot/sptcvcstf-3d-time-var-fold-1-2.svg • 2-autoplot/sptcvcstf-3d-time-var-fold-1-sample-fold-n.svg • autoplot_buffer/spcvbuffer-fold-1-2.svg Error: Test failures Execution halted