Get DataPackageR data path
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.
Examples
if(rmarkdown::pandoc_available()){
project_data_path( file = "data.rda" )
}
#> Warning: path[1]="/tmp/RtmpG5x6x8/file66326d2ca8a/data/data.rda": No such file or directory
#> [1] "/tmp/RtmpG5x6x8/file66326d2ca8a/data/data.rda"