library(tidymodels)
bag_spec <- decision_tree() %>%
set_engine("C5.0")
workflow(mpg ~ ., bag_spec) %>%
fit(mtcars)
#> Error in `pull_workflow_spec_encoding_tbl()`:
#> ! Exactly 1 model/engine/mode combination must be located.
#> ℹ This is an internal error in the workflows package, please report it to the package authors.