Get DataPackageR extdata path
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
if(rmarkdown::pandoc_available()){
project_extdata_path(file = "mydata.csv")
}
#> [1] "/tmp/Rtmp11uskJ/file8ed52ad5819/inst/extdata/mydata.csv"