CRAN Package Check Results for Package mlr3resampling

Last updated on 2024-09-08 06:50:12 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2024.7.7 4.18 180.44 184.62 ERROR
r-devel-linux-x86_64-debian-gcc 2024.7.7 3.34 170.43 173.77 OK
r-devel-linux-x86_64-fedora-clang 2024.7.7 400.87 OK
r-devel-linux-x86_64-fedora-gcc 2024.7.7 407.40 OK
r-devel-windows-x86_64 2024.7.7 6.00 179.00 185.00 ERROR
r-patched-linux-x86_64 2024.7.7 4.75 226.40 231.15 OK
r-release-linux-x86_64 2024.7.7 4.35 224.83 229.18 OK
r-release-macos-arm64 2024.7.7 135.00 OK
r-release-macos-x86_64 2024.7.7 277.00 OK
r-release-windows-x86_64 2024.7.7 5.00 218.00 223.00 OK
r-oldrel-macos-arm64 2024.7.7 171.00 OK
r-oldrel-macos-x86_64 2024.7.7 366.00 OK
r-oldrel-windows-x86_64 2024.7.7 7.00 300.00 307.00 OK

Check Details

Version: 2024.7.7
Check: examples
Result: ERROR Running examples in ‘mlr3resampling-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: score > ### Title: Score benchmark results > ### Aliases: score > > ### ** Examples > > > N <- 100 > library(data.table) > set.seed(1) > reg.dt <- data.table( + x=runif(N, -2, 2), + person=rep(1:2, each=0.5*N)) > reg.pattern.list <- list( + easy=function(x, person)x^2, + impossible=function(x, person)(x^2+person*3)*(-1)^person) > reg.task.list <- list() > for(pattern in names(reg.pattern.list)){ + f <- reg.pattern.list[[pattern]] + yname <- paste0("y_",pattern) + reg.dt[, (yname) := f(x,person)+rnorm(N, sd=0.5)][] + task.dt <- reg.dt[, c("x","person",yname), with=FALSE] + task.obj <- mlr3::TaskRegr$new( + pattern, task.dt, target=yname) + task.obj$col_roles$stratum <- "person" + task.obj$col_roles$subset <- "person" + reg.task.list[[pattern]] <- task.obj + } > same_other <- mlr3resampling::ResamplingSameOtherSizesCV$new() > reg.learner.list <- list( + mlr3::LearnerRegrFeatureless$new()) > if(requireNamespace("rpart")){ + reg.learner.list$rpart <- mlr3::LearnerRegrRpart$new() + } Loading required namespace: rpart > (bench.grid <- mlr3::benchmark_grid( + reg.task.list, + reg.learner.list, + same_other)) task learner resampling <char> <char> <char> 1: easy regr.featureless same_other_sizes_cv 2: easy regr.rpart same_other_sizes_cv 3: impossible regr.featureless same_other_sizes_cv 4: impossible regr.rpart same_other_sizes_cv > bench.result <- mlr3::benchmark(bench.grid) INFO [01:20:17.472] [mlr3] Running benchmark with 72 resampling iterations INFO [01:20:17.672] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 1/18) INFO [01:20:17.730] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 2/18) INFO [01:20:17.754] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 3/18) INFO [01:20:17.771] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 4/18) INFO [01:20:17.788] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 5/18) INFO [01:20:17.806] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 6/18) INFO [01:20:17.832] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 7/18) INFO [01:20:17.866] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 8/18) INFO [01:20:17.900] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 9/18) INFO [01:20:17.935] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 10/18) INFO [01:20:17.973] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 11/18) INFO [01:20:18.012] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 12/18) INFO [01:20:18.045] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 13/18) INFO [01:20:18.075] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 14/18) INFO [01:20:18.121] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 15/18) INFO [01:20:18.159] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 16/18) INFO [01:20:18.193] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 17/18) INFO [01:20:18.232] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 18/18) INFO [01:20:18.266] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 1/18) INFO [01:20:18.314] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 2/18) INFO [01:20:18.337] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 3/18) INFO [01:20:18.361] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 4/18) INFO [01:20:18.386] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 5/18) INFO [01:20:18.410] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 6/18) INFO [01:20:18.439] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 7/18) INFO [01:20:18.463] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 8/18) INFO [01:20:18.491] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 9/18) INFO [01:20:18.515] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 10/18) INFO [01:20:18.539] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 11/18) INFO [01:20:18.564] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 12/18) INFO [01:20:18.588] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 13/18) INFO [01:20:18.612] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 14/18) INFO [01:20:18.636] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 15/18) INFO [01:20:18.665] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 16/18) INFO [01:20:18.697] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 17/18) INFO [01:20:18.747] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 18/18) INFO [01:20:18.802] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 1/18) INFO [01:20:18.840] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 2/18) INFO [01:20:18.892] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 3/18) INFO [01:20:18.929] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 4/18) INFO [01:20:18.967] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 5/18) INFO [01:20:19.001] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 6/18) INFO [01:20:19.039] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 7/18) INFO [01:20:19.084] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 8/18) INFO [01:20:19.127] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 9/18) INFO [01:20:19.152] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 10/18) INFO [01:20:19.169] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 11/18) INFO [01:20:19.186] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 12/18) INFO [01:20:19.203] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 13/18) INFO [01:20:19.219] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 14/18) INFO [01:20:19.236] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 15/18) INFO [01:20:19.253] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 16/18) INFO [01:20:19.287] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 17/18) INFO [01:20:19.322] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 18/18) INFO [01:20:19.339] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 1/18) INFO [01:20:19.363] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 2/18) INFO [01:20:19.391] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 3/18) INFO [01:20:19.414] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 4/18) INFO [01:20:19.437] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 5/18) INFO [01:20:19.460] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 6/18) INFO [01:20:19.483] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 7/18) INFO [01:20:19.505] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 8/18) INFO [01:20:19.529] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 9/18) INFO [01:20:19.552] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 10/18) INFO [01:20:19.580] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 11/18) INFO [01:20:19.603] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 12/18) INFO [01:20:19.643] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 13/18) INFO [01:20:19.692] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 14/18) INFO [01:20:19.744] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 15/18) INFO [01:20:19.792] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 16/18) INFO [01:20:19.840] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 17/18) INFO [01:20:19.872] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 18/18) INFO [01:20:19.938] [mlr3] Finished benchmark > bench.score <- mlr3resampling::score(bench.result) > if(require(animint2)){ + ggplot()+ + geom_point(aes( + regr.mse, train.subsets, color=algorithm), + shape=1, + data=bench.score)+ + facet_grid( + test.subset ~ task_id, + labeller=label_both, + scales="free")+ + scale_x_log10() + } Loading required package: animint2 Error: Cannot create zero-length unit vector ("unit" subsetting) Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 2024.7.7
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘Newer_resamplers.Rmd’ using knitr ** Processing: figure/simulationScatter-1.png 432x432 pixels, 8 bits/pixel, 254 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 4572 bytes Input file size = 5424 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 4060 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 4060 Output IDAT size = 4060 bytes (512 bytes decrease) Output file size = 4138 bytes (1286 bytes = 23.71% decrease) ** Processing: figure/SameOtherCV-1.png 432x432 pixels, 3x8 bits/pixel, RGB Input IDAT size = 20858 bytes Input file size = 20960 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 17280 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 17280 Output IDAT size = 17280 bytes (3578 bytes decrease) Output file size = 17358 bytes (3602 bytes = 17.19% decrease) ** Processing: figure/SameOtherCV-2.png 432x432 pixels, 3x8 bits/pixel, RGB Input IDAT size = 19147 bytes Input file size = 19249 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 15678 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 15678 Output IDAT size = 15678 bytes (3469 bytes decrease) Output file size = 15756 bytes (3493 bytes = 18.15% decrease) ** Processing: figure/unnamed-chunk-4-1.png 432x432 pixels, 3x8 bits/pixel, RGB Input IDAT size = 41886 bytes Input file size = 42024 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 32829 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 32829 Output IDAT size = 32829 bytes (9057 bytes decrease) Output file size = 32907 bytes (9117 bytes = 21.69% decrease) ** Processing: figure/unnamed-chunk-7-1.png 432x432 pixels, 3x8 bits/pixel, RGB Input IDAT size = 32619 bytes Input file size = 32733 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 26435 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 26435 Output IDAT size = 26435 bytes (6184 bytes decrease) Output file size = 26513 bytes (6220 bytes = 19.00% decrease) ** Processing: figure/simulationShort-1.png 432x432 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 10245 bytes Input file size = 11115 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9608 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 9605 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 9605 Output IDAT size = 9605 bytes (640 bytes decrease) Output file size = 9683 bytes (1432 bytes = 12.88% decrease) ** Processing: figure/unnamed-chunk-9-1.png 432x432 pixels, 3x8 bits/pixel, RGB Input IDAT size = 14774 bytes Input file size = 14864 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 12217 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 12217 Output IDAT size = 12217 bytes (2557 bytes decrease) Output file size = 12295 bytes (2569 bytes = 17.28% decrease) ** Processing: figure/unnamed-chunk-10-1.png 432x432 pixels, 3x8 bits/pixel, RGB Input IDAT size = 22752 bytes Input file size = 22854 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 17953 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 17953 Output IDAT size = 17953 bytes (4799 bytes decrease) Output file size = 18031 bytes (4823 bytes = 21.10% decrease) ** Processing: figure/unnamed-chunk-10-2.png 432x432 pixels, 3x8 bits/pixel, RGB Input IDAT size = 22696 bytes Input file size = 22798 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 18065 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 18065 Output IDAT size = 18065 bytes (4631 bytes decrease) Output file size = 18143 bytes (4655 bytes = 20.42% decrease) ** Processing: figure/unnamed-chunk-11-1.png 432x432 pixels, 3x8 bits/pixel, RGB Input IDAT size = 40850 bytes Input file size = 40976 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 31873 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 31873 Output IDAT size = 31873 bytes (8977 bytes decrease) Output file size = 31951 bytes (9025 bytes = 22.03% decrease) ** Processing: figure/unnamed-chunk-11-2.png 432x432 pixels, 3x8 bits/pixel, RGB Input IDAT size = 31231 bytes Input file size = 31345 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 23396 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 23396 Output IDAT size = 23396 bytes (7835 bytes decrease) Output file size = 23474 bytes (7871 bytes = 25.11% decrease) ** Processing: figure/unnamed-chunk-18-1.png 432x432 pixels, 8 bits/pixel, 235 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 8613 bytes Input file size = 9420 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 7733 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 7733 Output IDAT size = 7733 bytes (880 bytes decrease) Output file size = 7811 bytes (1609 bytes = 17.08% decrease) ** Processing: figure/unnamed-chunk-20-1.png 432x432 pixels, 3x8 bits/pixel, RGB Input IDAT size = 18282 bytes Input file size = 18384 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 13946 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 13946 Output IDAT size = 13946 bytes (4336 bytes decrease) Output file size = 14024 bytes (4360 bytes = 23.72% decrease) ** Processing: figure/unnamed-chunk-21-1.png 432x432 pixels, 8 bits/pixel, 244 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 5907 bytes Input file size = 6729 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 4972 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 4972 Output IDAT size = 4972 bytes (935 bytes decrease) Output file size = 5050 bytes (1679 bytes = 24.95% decrease) ** Processing: figure/unnamed-chunk-22-1.png 432x432 pixels, 3x8 bits/pixel, RGB Input IDAT size = 21995 bytes Input file size = 22097 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 17440 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 17440 Output IDAT size = 17440 bytes (4555 bytes decrease) Output file size = 17518 bytes (4579 bytes = 20.72% decrease) ** Processing: figure/unnamed-chunk-28-1.png 432x432 pixels, 3x8 bits/pixel, RGB Input IDAT size = 25438 bytes Input file size = 25552 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 18836 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 18836 Output IDAT size = 18836 bytes (6602 bytes decrease) Output file size = 18914 bytes (6638 bytes = 25.98% decrease) ** Processing: figure/unnamed-chunk-29-1.png 432x432 pixels, 3x8 bits/pixel, RGB Input IDAT size = 28911 bytes Input file size = 29025 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 21212 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 21212 Output IDAT size = 21212 bytes (7699 bytes decrease) Output file size = 21290 bytes (7735 bytes = 26.65% decrease) --- finished re-building ‘Newer_resamplers.Rmd’ --- re-building ‘Older_resamplers.Rmd’ using knitr Quitting from lines 105-118 [unnamed-chunk-3] (Older_resamplers.Rmd) Error: processing vignette 'Older_resamplers.Rmd' failed with diagnostics: Cannot create zero-length unit vector ("unit" subsetting) --- failed re-building ‘Older_resamplers.Rmd’ SUMMARY: processing the following file failed: ‘Older_resamplers.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 2024.7.7
Check: examples
Result: ERROR Running examples in 'mlr3resampling-Ex.R' failed The error most likely occurred in: > ### Name: score > ### Title: Score benchmark results > ### Aliases: score > > ### ** Examples > > > N <- 100 > library(data.table) > set.seed(1) > reg.dt <- data.table( + x=runif(N, -2, 2), + person=rep(1:2, each=0.5*N)) > reg.pattern.list <- list( + easy=function(x, person)x^2, + impossible=function(x, person)(x^2+person*3)*(-1)^person) > reg.task.list <- list() > for(pattern in names(reg.pattern.list)){ + f <- reg.pattern.list[[pattern]] + yname <- paste0("y_",pattern) + reg.dt[, (yname) := f(x,person)+rnorm(N, sd=0.5)][] + task.dt <- reg.dt[, c("x","person",yname), with=FALSE] + task.obj <- mlr3::TaskRegr$new( + pattern, task.dt, target=yname) + task.obj$col_roles$stratum <- "person" + task.obj$col_roles$subset <- "person" + reg.task.list[[pattern]] <- task.obj + } > same_other <- mlr3resampling::ResamplingSameOtherSizesCV$new() > reg.learner.list <- list( + mlr3::LearnerRegrFeatureless$new()) > if(requireNamespace("rpart")){ + reg.learner.list$rpart <- mlr3::LearnerRegrRpart$new() + } Loading required namespace: rpart > (bench.grid <- mlr3::benchmark_grid( + reg.task.list, + reg.learner.list, + same_other)) task learner resampling <char> <char> <char> 1: easy regr.featureless same_other_sizes_cv 2: easy regr.rpart same_other_sizes_cv 3: impossible regr.featureless same_other_sizes_cv 4: impossible regr.rpart same_other_sizes_cv > bench.result <- mlr3::benchmark(bench.grid) INFO [11:44:51.942] [mlr3] Running benchmark with 72 resampling iterations INFO [11:44:52.070] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 1/18) INFO [11:44:52.106] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 2/18) INFO [11:44:52.121] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 3/18) INFO [11:44:52.136] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 4/18) INFO [11:44:52.150] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 5/18) INFO [11:44:52.164] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 6/18) INFO [11:44:52.180] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 7/18) INFO [11:44:52.190] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 8/18) INFO [11:44:52.199] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 9/18) INFO [11:44:52.214] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 10/18) INFO [11:44:52.227] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 11/18) INFO [11:44:52.238] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 12/18) INFO [11:44:52.248] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 13/18) INFO [11:44:52.258] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 14/18) INFO [11:44:52.269] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 15/18) INFO [11:44:52.283] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 16/18) INFO [11:44:52.298] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 17/18) INFO [11:44:52.313] [mlr3] Applying learner 'regr.featureless' on task 'easy' (iter 18/18) INFO [11:44:52.332] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 1/18) INFO [11:44:52.356] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 2/18) INFO [11:44:52.371] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 3/18) INFO [11:44:52.386] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 4/18) INFO [11:44:52.407] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 5/18) INFO [11:44:52.427] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 6/18) INFO [11:44:52.452] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 7/18) INFO [11:44:52.472] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 8/18) INFO [11:44:52.493] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 9/18) INFO [11:44:52.515] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 10/18) INFO [11:44:52.536] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 11/18) INFO [11:44:52.556] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 12/18) INFO [11:44:52.582] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 13/18) INFO [11:44:52.602] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 14/18) INFO [11:44:52.619] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 15/18) INFO [11:44:52.638] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 16/18) INFO [11:44:52.655] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 17/18) INFO [11:44:52.668] [mlr3] Applying learner 'regr.rpart' on task 'easy' (iter 18/18) INFO [11:44:52.685] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 1/18) INFO [11:44:52.698] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 2/18) INFO [11:44:52.710] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 3/18) INFO [11:44:52.723] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 4/18) INFO [11:44:52.740] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 5/18) INFO [11:44:52.756] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 6/18) INFO [11:44:52.771] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 7/18) INFO [11:44:52.786] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 8/18) INFO [11:44:52.808] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 9/18) INFO [11:44:52.825] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 10/18) INFO [11:44:52.841] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 11/18) INFO [11:44:52.858] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 12/18) INFO [11:44:52.873] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 13/18) INFO [11:44:52.887] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 14/18) INFO [11:44:52.907] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 15/18) INFO [11:44:52.923] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 16/18) INFO [11:44:52.939] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 17/18) INFO [11:44:52.961] [mlr3] Applying learner 'regr.featureless' on task 'impossible' (iter 18/18) INFO [11:44:52.978] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 1/18) INFO [11:44:52.998] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 2/18) INFO [11:44:53.020] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 3/18) INFO [11:44:53.041] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 4/18) INFO [11:44:53.062] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 5/18) INFO [11:44:53.089] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 6/18) INFO [11:44:53.106] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 7/18) INFO [11:44:53.122] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 8/18) INFO [11:44:53.143] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 9/18) INFO [11:44:53.164] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 10/18) INFO [11:44:53.186] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 11/18) INFO [11:44:53.212] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 12/18) INFO [11:44:53.235] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 13/18) INFO [11:44:53.257] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 14/18) INFO [11:44:53.279] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 15/18) INFO [11:44:53.302] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 16/18) INFO [11:44:53.324] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 17/18) INFO [11:44:53.350] [mlr3] Applying learner 'regr.rpart' on task 'impossible' (iter 18/18) INFO [11:44:53.402] [mlr3] Finished benchmark > bench.score <- mlr3resampling::score(bench.result) > if(require(animint2)){ + ggplot()+ + geom_point(aes( + regr.mse, train.subsets, color=algorithm), + shape=1, + data=bench.score)+ + facet_grid( + test.subset ~ task_id, + labeller=label_both, + scales="free")+ + scale_x_log10() + } Loading required package: animint2 Error: Cannot create zero-length unit vector ("unit" subsetting) Execution halted Flavor: r-devel-windows-x86_64

Version: 2024.7.7
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'Newer_resamplers.Rmd' using knitr --- finished re-building 'Newer_resamplers.Rmd' --- re-building 'Older_resamplers.Rmd' using knitr Quitting from lines 105-118 [unnamed-chunk-3] (Older_resamplers.Rmd) Error: processing vignette 'Older_resamplers.Rmd' failed with diagnostics: Cannot create zero-length unit vector ("unit" subsetting) --- failed re-building 'Older_resamplers.Rmd' SUMMARY: processing the following file failed: 'Older_resamplers.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64