save_source {mark} | R Documentation |
Save source
Description
Source a file and save as file
Usage
save_source(env = parent.frame(), file = mark_temp("Rds"), name = NULL)
Arguments
env |
The parent environment |
file |
The file to save the environment to |
name |
An optional name for the environment (mostly cosmetic) |
Value
A source_env
/environment
object, created from env
[Package mark version 0.8.0 Index]