Skip to contents

Get DataPackageR Project Root Path

Usage

project_path(file = NULL)

Arguments

file

character or NULL (default).

Value

character

Details

Returns the path to the data package project root, or constructs a path to a file in the project root from the file argument.

Examples

if(rmarkdown::pandoc_available()){
project_path( file = "DESCRIPTION" )
}
#> [1] "/tmp/RtmpqmnlRG/file5b31767e0aa/DESCRIPTION"