butcher (version 0.3.4)

axe_env: Axe an environment.

Description

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().

Usage

axe_env(x, verbose = FALSE, ...)

Value

Model object with empty environments.

Arguments

x

A model object.

verbose

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.

Methods

butcher:::methods_rd("axe_env")