You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tidy.recipe() should return a zero row tibble for empty recipes instead of throwing an error. This is making step_detect() error when used on empty recipes.
library(recipes)
recipe(~., data=mtcars) %>%
step_center(all_predictors()) %>%
tidy()
#> # A tibble: 1 × 6#> number operation type trained skip id #> <int> <chr> <chr> <lgl> <lgl> <chr> #> 1 1 step center FALSE FALSE center_uXNNk
recipe(~., data=mtcars) %>%
tidy()
#> Error: No steps in recipe.
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex https://reprex.tidyverse.org) and link to this issue.
tidy.recipe()
should return a zero row tibble for empty recipes instead of throwing an error. This is makingstep_detect()
error when used on empty recipes.The text was updated successfully, but these errors were encountered: