-
Notifications
You must be signed in to change notification settings - Fork 105
Closed
Labels
upkeepmaintenance, infrastructure, and similarmaintenance, infrastructure, and similar
Description
as an example the following test https://github.com/tidymodels/parsnip/blob/main/tests/testthat/test_decision_tree.R#L15-L18
expect_snapshot_error({
bt <- decision_tree(cost_complexity = -1) %>% set_engine("rpart")
fit(bt, class ~ ., hpc)
})is expected to test that cost_complexity isn’t good, but it instead tests that the mode isn’t set
#> Error in `fit()`:
#> ! Please set the mode in the model specification.Metadata
Metadata
Assignees
Labels
upkeepmaintenance, infrastructure, and similarmaintenance, infrastructure, and similar