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