Skip to content

Commit 6e2fb00

Browse files
committed
delete failing test
1 parent bbe0732 commit 6e2fb00

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/testthat/test-rand_forest_ranger.R

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -475,16 +475,6 @@ test_that('ranger and sparse matrices', {
475475

476476
expect_equal(extract_fit_engine(from_df), extract_fit_engine(from_mat))
477477
expect_equal(extract_fit_engine(from_df), extract_fit_engine(from_sparse))
478-
479-
rf_spec <-
480-
rand_forest(trees = 10) %>%
481-
set_engine("randomForest", seed = 2) %>%
482-
set_mode("regression")
483-
expect_error(
484-
rf_spec %>% fit_xy(mtcar_smat, mtcars$mpg),
485-
"Sparse matrices not supported"
486-
)
487-
488478
})
489479

490480

0 commit comments

Comments
 (0)