local_muggle_file: Temporarily get muggle files

Description Usage Arguments

View source: R/helpers.R

Description

Copies muggle files (get_muggle_file()) to the working directory. Files are deleted when .local_envir expires. If file already exists, only a warning is thrown. Useful to avoid pasting boilerplate files in muggle packages.

Usage

1
local_muggle_file(muggle_file, .local_envir = parent.frame())

Arguments

muggle_file

File to copy, relative path from built package root.

.local_envir

[environment]
The environment to use for scoping.


subugoe/muggle documentation built on Nov. 26, 2021, 11:42 p.m.