From 57cd496d336bebde4c694d1c82d8ab0c5e6684a2 Mon Sep 17 00:00:00 2001 From: Sebastian Fischer Date: Sun, 18 Aug 2024 15:23:05 +0200 Subject: [PATCH] ... --- inst/testthat/helper_functions.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/testthat/helper_functions.R b/inst/testthat/helper_functions.R index b7a33e5c3..f05d640fe 100644 --- a/inst/testthat/helper_functions.R +++ b/inst/testthat/helper_functions.R @@ -445,7 +445,7 @@ expect_datapreproc_pipeop_class = function(poclass, constargs = list(), task, expect_true(task$nrow >= 5) # overlap between use and test rows - taskvalid = tasktrain$clone(deep = TRUE)$filter(tasktrain$row_roles$use[seq(n_use - 2, n_use)]) + tasktrain$internal_valid_task = tasktrain$clone(deep = TRUE)$filter(tasktrain$row_roles$use[seq(n_use - 2, n_use)]) tasktrain$row_roles$use = tasktrain$row_roles$use[seq(1, n_use - 2)]