Learn R Programming

DataPackageR (version 0.15.9)

project_extdata_path: Get DataPackageR extdata path

Description

Get DataPackageR extdata path

Usage

project_extdata_path(file = NULL)

Value

character

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.

Examples

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

Run the code above in your browser using DataLab