Remove the environment(s) attached to modeling objects as they are
not required in the downstream analysis pipeline. If found,
the environment is replaced with rlang::base_env()
.
axe_env(x, verbose = FALSE, ...)
Model object with empty environments.
A model object.
Print information each time an axe method is executed.
Notes how much memory is released and what functions are
disabled. Default is FALSE
.
Any additional arguments related to axing.
butcher:::methods_rd("axe_env")