Running ‘testthat.R’ [46s/62s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > data.table::setDTthreads(1L)
  > if(require(testthat))test_check("mlr3resampling")
  Loading required package: testthat
  Loading required package: mlr3resampling
  INFO  [17:49:03.705] [mlr3] Running benchmark with 32 resampling iterations
  INFO  [17:49:04.176] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 1/16)
  INFO  [17:49:04.213] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 2/16)
  INFO  [17:49:04.233] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 3/16)
  INFO  [17:49:04.251] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 4/16)
  INFO  [17:49:04.269] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 5/16)
  INFO  [17:49:04.288] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 6/16)
  INFO  [17:49:04.303] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 7/16)
  INFO  [17:49:04.325] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 8/16)
  INFO  [17:49:04.349] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 9/16)
  INFO  [17:49:04.376] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 10/16)
  INFO  [17:49:04.432] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 11/16)
  INFO  [17:49:04.496] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 12/16)
  INFO  [17:49:04.539] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 13/16)
  INFO  [17:49:04.581] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 14/16)
  INFO  [17:49:04.604] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 15/16)
  INFO  [17:49:04.622] [mlr3] Applying learner 'regr.featureless' on task 'toy_soak' (iter 16/16)
  INFO  [17:49:04.640] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 1/16)
  INFO  [17:49:04.670] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 2/16)
  INFO  [17:49:04.693] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 3/16)
  INFO  [17:49:04.717] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 4/16)
  INFO  [17:49:04.742] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 5/16)
  INFO  [17:49:04.789] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 6/16)
  INFO  [17:49:04.854] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 7/16)
  INFO  [17:49:04.903] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 8/16)
  INFO  [17:49:04.930] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 9/16)
  INFO  [17:49:04.954] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 10/16)
  INFO  [17:49:04.977] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 11/16)
  INFO  [17:49:05.027] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 12/16)
  INFO  [17:49:05.050] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 13/16)
  INFO  [17:49:05.072] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 14/16)
  INFO  [17:49:05.094] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 15/16)
  INFO  [17:49:05.117] [mlr3] Applying learner 'regr.rpart' on task 'toy_soak' (iter 16/16)
  INFO  [17:49:05.153] [mlr3] Finished benchmark
  INFO  [17:49:07.310] [mlr3] Running benchmark with 20 resampling iterations
  INFO  [17:49:07.341] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 1/20)
  INFO  [17:49:07.375] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 2/20)
  INFO  [17:49:07.400] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 3/20)
  INFO  [17:49:07.427] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 4/20)
  INFO  [17:49:07.454] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 5/20)
  INFO  [17:49:07.495] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 6/20)
  INFO  [17:49:07.534] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 7/20)
  INFO  [17:49:07.559] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 8/20)
  INFO  [17:49:07.583] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 9/20)
  INFO  [17:49:07.607] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 10/20)
  INFO  [17:49:07.631] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 11/20)
  INFO  [17:49:07.658] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 12/20)
  INFO  [17:49:07.683] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 13/20)
  INFO  [17:49:07.707] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 14/20)
  INFO  [17:49:07.731] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 15/20)
  INFO  [17:49:07.758] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 16/20)
  INFO  [17:49:07.784] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 17/20)
  INFO  [17:49:07.819] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 18/20)
  INFO  [17:49:07.845] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 19/20)
  INFO  [17:49:07.872] [mlr3] Applying learner 'regr.rpart' on task 'iid_easy' (iter 20/20)
  INFO  [17:49:07.908] [mlr3] Finished benchmark
  Saving _problems/test-CRAN-475.R
  Saving _problems/test-CRAN-756.R
  Saving _problems/test-CRAN-804.R
  [ FAIL 3 | WARN 4 | SKIP 0 | PASS 124 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-CRAN.R:475:3'): regular K fold CV works in proj ────────────────
  Error in `gzfile(file, mode)`: cannot open the connection
  Backtrace:
      ▆
   1. └─mlr3resampling::proj_compute(2, pkg.proj.dir) at test-CRAN.R:475:3
   2.   └─base::saveRDS(result.row, result.rds)
   3.     └─base::gzfile(file, mode)
  ── Error ('test-CRAN.R:754:3'): fold role works for reproducibility ────────────
  Error in `gzfile(file, mode)`: cannot open the connection
  Backtrace:
      ▆
   1. └─mlr3resampling::proj_grid(...) at test-CRAN.R:754:3
   2.   └─base::saveRDS(resampling_list, resampling.rds)
   3.     └─base::gzfile(file, mode)
  ── Error ('test-CRAN.R:802:3'): fold and stratum roles work for reproducibility ──
  Error in `gzfile(file, mode)`: cannot open the connection
  Backtrace:
      ▆
   1. └─mlr3resampling::proj_compute_all(proj_dir) at test-CRAN.R:802:3
   2.   └─mlr3resampling (local) LAPPLY(todo.i.vec, proj_compute, proj_dir, verbose)
   3.     └─future.apply::future_lapply(..., future.seed = NULL)
   4.       └─future.apply:::future_xapply(...)
   5.         └─base::tryCatch(...)
   6.           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   7.             └─base (local) tryCatchOne(...)
   8.               └─value[[3L]](cond)
   9.                 └─future.apply:::onError(e, futures = fs, debug = debug)
  
  [ FAIL 3 | WARN 4 | SKIP 0 | PASS 124 ]
  Error:
  ! Test failures.
  Execution halted