From 043c71c813eeb88c1d37b630e3fc2ac6c53fc5e2 Mon Sep 17 00:00:00 2001 From: be-marc Date: Sat, 23 Nov 2024 21:18:08 +0100 Subject: [PATCH] ... --- tests/testthat/test_Task.R | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/testthat/test_Task.R b/tests/testthat/test_Task.R index 442caeefa..e97e03360 100644 --- a/tests/testthat/test_Task.R +++ b/tests/testthat/test_Task.R @@ -689,9 +689,9 @@ test_that("$characteristics works", { resampling = rsmp("cv", folds = 3) design = benchmark_grid( - task = list(tsk_1, tsk_2), - learner = learner, - resampling = resampling + tasks = list(tsk_1, tsk_2), + learners = learner, + resamplings = resampling ) bmr = benchmark(design) @@ -703,9 +703,9 @@ test_that("$characteristics works", { tsk_2$characteristics = list(n = 200, f = 2) design = benchmark_grid( - task = list(tsk_1, tsk_2), - learner = learner, - resampling = resampling + tasks = list(tsk_1, tsk_2), + learners = learner, + resamplings = resampling ) bmr = benchmark(design) @@ -718,9 +718,9 @@ test_that("$characteristics works", { tsk_2$characteristics = list(n = 200) design = benchmark_grid( - task = list(tsk_1, tsk_2), - learner = learner, - resampling = resampling + tasks = list(tsk_1, tsk_2), + learners = learner, + resamplings = resampling ) bmr = benchmark(design)