better error when passing a preprocessor with a workflow #912
Labels
feature
a feature request or enhancement
tidy-dev-day 🤓
Tidyverse Developer Day rstd.io/tidy-dev-day
In the code below, the
tune_grid
function takes a workflow and (inappropriately) a recipe. The code interprets the recipe as going to the...
and issues an unhelpful warning.We should see if the
...
contain any of the preprocessor classes and give a better errorlibrary(tidymodels)
Created on 2024-06-24 with reprex v2.1.0
This is probably also true of the other tune functions as well as those in finetune (tidymodels/finetune#114).
The text was updated successfully, but these errors were encountered: