Skip to content

Commit

Permalink
test: bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Dec 15, 2023
1 parent c8fa649 commit 7ba6ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_FSelectorRFE.R
Original file line number Diff line number Diff line change
@@ -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)))
Expand Down

0 comments on commit 7ba6ef4

Please sign in to comment.