Description
Source a file and save as file
Usage
save_source(env = parent.frame(), file = mark_temp("Rds"), name = NULL)
Value
A source_env
/environment
object, created from env
Arguments
- env
The parent environment
- file
The file to save the environment to
- name
An optional name for the environment (mostly cosmetic)