sandbox: Utility function to create a copy of a project in a temp...

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Utility function to create a copy of a project in a temp directory

Usage

1
2
3
sandbox(path)

test_project(path)

Arguments

path

A character vector of one or more paths.

Value

Path to a temp directory identical to your original directory.

Examples

1
2
test_dir <- sandbox(system.file("extdata/project_noob.zip", package = "fertile"))
list.files(test_dir)

beanumber/fertile documentation built on April 17, 2021, 4:33 a.m.