project_data_path: Get DataPackageR data path

Description Usage Arguments Details Value Examples

View source: R/processData.R

Description

Get DataPackageR data path

Usage

1

Arguments

file

character or NULL (default).

Details

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

Value

character

Examples

1
2
3
if(rmarkdown::pandoc_available()){
project_data_path( file = "data.rda" )
}

DataPackageR documentation built on March 17, 2021, 5:07 p.m.