Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Hannah Frick <[email protected]>
  • Loading branch information
topepo and hfrick authored Jan 29, 2025
1 parent 039d511 commit 8dc16e0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/testthat/test-decision_tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@ test_that('bad input', {
)
})

test_that('rpart_train is stop-deprecated when it ought to be (#1044)', {
skip_on_cran()

# once this test fails, transition `rpart_train()` to `deprecate_stop()`
# and transition this test to fail if `rpart_train()` still exists after a year.
if (Sys.Date() > "2025-02-01") {
expect_snapshot(error = TRUE, rpart_train(mpg ~ ., mtcars))
}
})

# ------------------------------------------------------------------------------

test_that('argument checks for data dimensions', {
Expand Down

0 comments on commit 8dc16e0

Please sign in to comment.