From 77cc0bf01be4918b49bbdb344c245710d6c78e6f Mon Sep 17 00:00:00 2001 From: egillax Date: Mon, 18 Nov 2024 16:44:36 +0100 Subject: [PATCH] fix again --- tests/testthat/test-dataSplitting.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-dataSplitting.R b/tests/testthat/test-dataSplitting.R index f36c38ff..6ce17aaa 100644 --- a/tests/testthat/test-dataSplitting.R +++ b/tests/testthat/test-dataSplitting.R @@ -266,7 +266,7 @@ test_that("Data stratified splitting", { ) # fold creation check 1 (fixed) test <- randomSplitter(population = dsPopulation2, splitSettings = splitSettings) - test <- merge(DsPopulation2, test) + test <- merge(dsPopulation2, test) test <- table(test$outcomeCount, test$index) testReturned <- paste(test, collapse = "-") testExpected <- paste(matrix(c(47, 28, 28, 28, 27, 12, 8, 8, 7, 7), ncol = 5, byrow = TRUE), collapse = "-")