Skip to contents

Add a lamina to the project space

Usage

build_lamina(lamina_name, stratum_path, order = 1, skip_if_fail = FALSE)

Arguments

lamina_name

Name of lamina

stratum_path

Path to stratum folder

order

Execution order, default is 1

skip_if_fail

Skip this lamina if it fails, default is FALSE

Value

invisibly returns fs::path to lamina

Examples

tmp <- fs::dir_create(fs::file_temp())
result_stratum_path <- build_stratum("my_stratum_name", tmp)
result_lamina_path <- build_lamina("my_lamina_name", result_stratum_path)
result_lamina_path
#> /tmp/RtmpRK1XGV/file163d408c6bf3/strata/my_stratum_name/my_lamina_name
fs::dir_delete(tmp)