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


jmbarbone/jordan documentation built on April 1, 2024, 7:46 p.m.