Recipe objects used by Tidymodels sometimes become bloated due
to quosures and saved factor levels. This function will strip all data from
a recipe object except the data necessary to use bake
.
This saves an enormous amount of disk space for certain complicated recipes that need to be saved and re-used.
axe_recipe(x)
A prepped recipe object created by the recipe package.
Recipe object from x
but with environment and factor level
data removed.