project_extdata_path {DataPackageR}R Documentation

Get DataPackageR extdata path

Description

Get DataPackageR extdata path

Usage

project_extdata_path(file = NULL)

Arguments

file

character or NULL (default).

Details

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

Value

character

Examples

if(rmarkdown::pandoc_available()){
project_extdata_path(file = "mydata.csv")
}

[Package DataPackageR version 0.16.0 Index]