Skip to contents

Joins path pieces to the project root with fs::path(). Nothing is created on disk.

Usage

project_path(..., root = project_root())

Arguments

...

Path pieces, as in fs::path().

root

Folder to join to. Defaults to project_root(), which is only searched for when root is not given.

Value

An fs_path.

Examples

project_path("data", "manifest.csv", root = "/study")
#> /study/data/manifest.csv