From 7ba6ef47384d0f7706ce805538a266408fc08623 Mon Sep 17 00:00:00 2001 From: be-marc Date: Fri, 15 Dec 2023 21:32:15 +0100 Subject: [PATCH] test: bracket --- tests/testthat/test_FSelectorRFE.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test_FSelectorRFE.R b/tests/testthat/test_FSelectorRFE.R index c0ab2751..759f6bf3 100644 --- a/tests/testthat/test_FSelectorRFE.R +++ b/tests/testthat/test_FSelectorRFE.R @@ -1,7 +1,7 @@ test_that("importance is stored in the archive", { z = test_fselector("rfe", store_models = TRUE) a = z$inst$archive$data - expect_names(names(z$inst$result), must.include = "importance")) + expect_names(names(z$inst$result), must.include = "importance") expect_character(z$inst$result$importance[[1]]) expect_names(names(z$inst$archive$data), must.include = "importance") pwalk(a, function(x1, x2, x3, x4, importance, ...) expect_equal(x1 + x2 + x3 + x4, length(importance)))