Skip to contents

Add a stratum to the project space

Usage

build_stratum(stratum_name, project_path, order = 1)

Arguments

stratum_name

Name of stratum

project_path

A path to strata project folder.

order

Execution order, default is 1

Value

invisibly returns fs::path to stratum

Examples

tmp <- fs::dir_create(fs::file_temp())
result <- build_stratum("my_stratum_name", tmp)
result
#> /tmp/RtmpRK1XGV/file163d5c4bc9ea/strata/my_stratum_name
fs::dir_delete(tmp)