View source: R/run_covr_modes.R
| remove_new_globals | R Documentation |
This function removes objects from an environment that were added after a recorded initial state. Optionally filters by pattern.
remove_new_globals(env, initial_state, patterns = NULL, dry_run = FALSE)
env |
Environment to clean. |
initial_state |
Character vector of object names before setup. |
patterns |
Optional regex patterns to filter objects. |
dry_run |
Logical. If TRUE, only prints what would be removed. |
Invisibly returns a character vector of removed object names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.