pkg_file: Get package file

View source: R/util.R

pkg_fileR Documentation

Get package file

Description

Returns the path to a file within the FastRet package.

Usage

pkg_file(path, mustWork = FALSE)

Arguments

path

The path to the file within the package.

mustWork

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

Value

The path to the file.

Examples

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

FastRet documentation built on June 25, 2024, 5:07 p.m.