save_source: Save source

View source: R/sourcing.R

save_sourceR 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


mark documentation built on Oct. 23, 2023, 9:06 a.m.