# bad args Code rec %>% step_factor2string(w, x) %>% prep(ex_dat, strings_as_factors = FALSE) Condition Error in `step_factor2string()`: Caused by error in `prep()`: ! All columns selected for the step should be factor, or ordered. # empty printing Code rec Message -- Recipe ---------------------------------------------------------------------- -- Inputs Number of variables by role outcome: 1 predictor: 10 -- Operations * Character variables from: --- Code rec Message -- Recipe ---------------------------------------------------------------------- -- Inputs Number of variables by role outcome: 1 predictor: 10 -- Training information Training data contained 32 data points and no incomplete rows. -- Operations * Character variables from: | Trained # printing Code print(rec) Message -- Recipe ---------------------------------------------------------------------- -- Inputs Number of variables by role predictor: 4 -- Operations * Character variables from: y, z --- Code prep(rec) Message -- Recipe ---------------------------------------------------------------------- -- Inputs Number of variables by role predictor: 4 -- Training information Training data contained 200 data points and no incomplete rows. -- Operations * Character variables from: y, z | Trained