powered by
Returns the path to a file within the FastRet package.
pkg_file(path, mustWork = FALSE)
The path to the file.
The path to the file within the package.
If TRUE, an error is thrown if the file does not exist.
path <- pkg_file("extdata/RP.xlsx")
Run the code above in your browser using DataLab