Running ‘testthat.R’ [68s/87s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("testthat")
  +   library("mlr3learners")
  +   test_check("mlr3learners")
  + }
  Loading required package: mlr3
  Saving _problems/test_classif_cv_glmnet-12.R
  Saving _problems/test_classif_glmnet-9.R
  Saving _problems/test_classif_kknn-6.R
  Saving _problems/test_classif_lda-6.R
  Saving _problems/test_classif_log_reg-4.R
  Saving _problems/test_classif_qda-6.R
  Saving _problems/test_classif_ranger-7.R
  Saving _problems/test_classif_ranger-105.R
  Saving _problems/test_classif_svm-6.R
  Saving _problems/test_regr_cv_glmnet-12.R
  Saving _problems/test_regr_glmnet-9.R
  Saving _problems/test_regr_kknn-6.R
  Saving _problems/test_regr_lm-4.R
  Saving _problems/test_regr_ranger-6.R
  Saving _problems/test_regr_ranger-433.R
  Saving _problems/test_regr_svm-6.R
  Saving _problems/test_regr_svm-14.R
  [ FAIL 21 | WARN 0 | SKIP 4 | PASS 614 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test_classif_nnet.R:2:1', 'test_classif_xgboost.R:2:1',
    'test_regr_nnet.R:2:1', 'test_regr_xgboost.R:2:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_classif_cv_glmnet.R:12:3'): autotest ───────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner, exclude = "feat_single", N = 100L) at test_classif_cv_glmnet.R:12:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_classif_glmnet.R:9:3'): autotest ───────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner, exclude = "feat_single") at test_classif_glmnet.R:9:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_classif_kknn.R:6:3'): autotest ─────────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner) at test_classif_kknn.R:6:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_classif_lda.R:6:3'): autotest ──────────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner, exclude = "feat_single") at test_classif_lda.R:6:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_classif_log_reg.R:4:3'): autotest ──────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner) at test_classif_log_reg.R:4:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_classif_multinom.R:6:19'): autotest ────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─utils::capture.output(...) at test_classif_multinom.R:6:3
    2. │ └─base::withVisible(...elt(i))
    3. └─global run_autotest(learner) at test_classif_multinom.R:6:19
    4.   └─global run_experiment(task, learner, NULL, configure_learner)
    5.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
    6.       └─ResultData$new(data, data_extra, store_backends = store_backends)
    7.         └─mlr3 (local) initialize(...)
    8.           └─mlr3:::.__ResultData__initialize(...)
    9.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   10.             └─data.table:::`[.data.table`(...)
  ── Error ('test_classif_naive_bayes.R:6:19'): autotest ─────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─utils::capture.output(...) at test_classif_naive_bayes.R:6:3
    2. │ └─base::withVisible(...elt(i))
    3. └─global run_autotest(learner) at test_classif_naive_bayes.R:6:19
    4.   └─global run_experiment(task, learner, NULL, configure_learner)
    5.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
    6.       └─ResultData$new(data, data_extra, store_backends = store_backends)
    7.         └─mlr3 (local) initialize(...)
    8.           └─mlr3:::.__ResultData__initialize(...)
    9.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   10.             └─data.table:::`[.data.table`(...)
  ── Error ('test_classif_qda.R:6:3'): autotest ──────────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner, N = 100L, exclude = "feat_single") at test_classif_qda.R:6:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_classif_ranger.R:7:3'): autotest ───────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner) at test_classif_ranger.R:7:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_classif_ranger.R:105:3'): oob_error available without stored model ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3::resample(task, learner, rsmp("holdout"), store_models = FALSE) at test_classif_ranger.R:105:3
   2.   └─ResultData$new(data, data_extra, store_backends = store_backends)
   3.     └─mlr3 (local) initialize(...)
   4.       └─mlr3:::.__ResultData__initialize(...)
   5.         ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   6.         └─data.table:::`[.data.table`(...)
  ── Error ('test_classif_svm.R:6:3'): autotest ──────────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner) at test_classif_svm.R:6:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_regr_cv_glmnet.R:12:3'): autotest ──────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner, exclude = "feat_single") at test_regr_cv_glmnet.R:12:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_regr_glmnet.R:9:3'): autotest ──────────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner, exclude = "feat_single") at test_regr_glmnet.R:9:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_regr_kknn.R:6:3'): autotest ────────────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner) at test_regr_kknn.R:6:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_regr_km.R:6:19'): autotest ─────────────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─utils::capture.output(...) at test_regr_km.R:6:3
    2. │ └─base::withVisible(...elt(i))
    3. └─global run_autotest(learner, exclude = "feat_single", N = 50) at test_regr_km.R:6:19
    4.   └─global run_experiment(task, learner, NULL, configure_learner)
    5.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
    6.       └─ResultData$new(data, data_extra, store_backends = store_backends)
    7.         └─mlr3 (local) initialize(...)
    8.           └─mlr3:::.__ResultData__initialize(...)
    9.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   10.             └─data.table:::`[.data.table`(...)
  ── Error ('test_regr_km.R:13:19'): autotest w/ jitter ──────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─utils::capture.output(...) at test_regr_km.R:13:3
    2. │ └─base::withVisible(...elt(i))
    3. └─global run_autotest(learner, exclude = "feat_single|reordered", N = 50) at test_regr_km.R:13:19
    4.   └─global run_experiment(task, learner, NULL, configure_learner)
    5.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
    6.       └─ResultData$new(data, data_extra, store_backends = store_backends)
    7.         └─mlr3 (local) initialize(...)
    8.           └─mlr3:::.__ResultData__initialize(...)
    9.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   10.             └─data.table:::`[.data.table`(...)
  ── Error ('test_regr_lm.R:4:3'): autotest ──────────────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner) at test_regr_lm.R:4:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_regr_ranger.R:6:3'): autotest ──────────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner, N = 50L) at test_regr_ranger.R:6:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_regr_ranger.R:433:3'): oob_error available without stored model ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3::resample(task, learner, rsmp("holdout"), store_models = FALSE) at test_regr_ranger.R:433:3
   2.   └─ResultData$new(data, data_extra, store_backends = store_backends)
   3.     └─mlr3 (local) initialize(...)
   4.       └─mlr3:::.__ResultData__initialize(...)
   5.         ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   6.         └─data.table:::`[.data.table`(...)
  ── Error ('test_regr_svm.R:6:3'): autotest ─────────────────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner) at test_regr_svm.R:6:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  ── Error ('test_regr_svm.R:14:3'): autotest with type nu-regression (#209) ─────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─global run_autotest(learner) at test_regr_svm.R:14:3
   2.   └─global run_experiment(task, learner, NULL, configure_learner)
   3.     └─mlr3::resample(task, learner_encapsulated, rsmp("holdout"), store_models = TRUE)
   4.       └─ResultData$new(data, data_extra, store_backends = store_backends)
   5.         └─mlr3 (local) initialize(...)
   6.           └─mlr3:::.__ResultData__initialize(...)
   7.             ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   8.             └─data.table:::`[.data.table`(...)
  
  [ FAIL 21 | WARN 0 | SKIP 4 | PASS 614 ]
  Error:
  ! Test failures.
  Execution halted