Learn R Programming

FastRet (version 1.3.0)

pkg_file: Get package file

Description

Returns the path to a file within the FastRet package.

Usage

pkg_file(path, mustWork = FALSE)

Value

The path to the file.

Arguments

path

The path to the file within the package.

mustWork

If TRUE, an error is thrown if the file does not exist.

Examples

Run this code
path <- pkg_file("extdata/RP.xlsx")

Run the code above in your browser using DataLab