check_new_data {recipes} | R Documentation |
When baking a step, create an information error message when a column that
is used by the step is not present in new_data
.
check_new_data(req, object, new_data)
req |
A character vector of required columns. |
object |
A step object. |
new_data |
A tibble of data being baked. |
Invisible NULL. Side effects are the focus of the function.