-
Notifications
You must be signed in to change notification settings - Fork 123
Closed
Labels
featurea feature request or enhancementa feature request or enhancement
Description
Not all steps report which step they are produced inside. It can lead to slowness when debugging. This is a more general issue that contains #394.
library(recipes)
recipe(~ ., data = iris) %>%
step_dummy(Sepal.Length) %>%
step_center(all_predictors()) %>%
step_scale(all_predictors()) %>%
prep()
#> Warning: The following variables are not factor vectors and will be ignored:
#> `Sepal.Length`
#> Error: The `terms` argument in `step_dummy` did not select any factor columns.
recipe(~ ., data = iris) %>%
step_discretize(Species) %>%
step_center(all_predictors()) %>%
step_scale(all_predictors()) %>%
prep()
#> Error: All columns selected for the step should be numericCreated on 2019-12-01 by the reprex package (v0.3.0)
simonpcouch
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement