Build a path inside the active project
Usage
np_project_path(
stage = "",
file = NULL,
create = FALSE,
project = np_project_root()
)Arguments
- stage
Stage directory: a canonical name (
"01_stage1"), a short alias ("stage1","bmf","final"), or""for the project root.- file
Optional path below the stage directory, e.g.
"stage1_yes.csv"or"batches/shards".- create
Create the directory (of
stage, or offile's parent) if it does not exist. DefaultFALSE.- project
Project root. Defaults to
np_project_root().