Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bblodfon committed Jun 21, 2024
1 parent e9f0d66 commit 20347ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_ensemble_fselect.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test_that("ensemble feature selection works", {

# stability
expect_number(efsr$stability(stability_measure = "jaccard"))
expect_error(efs$stability(stability_args = list(20)), "have names")
expect_error(efsr$stability(stability_args = list(20)), "have names")
stability = efsr$stability(stability_measure = "jaccard", global = FALSE)
expect_numeric(stability, len = 2)
expect_names(names(stability), identical.to = c("classif.rpart", "classif.featureless"))
Expand Down

0 comments on commit 20347ed

Please sign in to comment.