# basic rename Code prep(rec, training = iris %>% slice(1:75)) Condition Error in `step_rm()`: Caused by error in `prep()`: ! Can't rename variables in this context. # empty printing Code rec Message -- Recipe ---------------------------------------------------------------------- -- Inputs Number of variables by role outcome: 1 predictor: 10 -- Operations * Variables removed: --- 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 * Variables removed: | Trained # printing Code print(rec) Message -- Recipe ---------------------------------------------------------------------- -- Inputs Number of variables by role predictor: 11 -- Operations * Variables removed: disp --- Code prep(rec) Message -- Recipe ---------------------------------------------------------------------- -- Inputs Number of variables by role predictor: 11 -- Training information Training data contained 32 data points and no incomplete rows. -- Operations * Variables removed: disp | Trained