extdataFile: Path to File in Installed Package

extdataFileR Documentation

Path to File in Installed Package

Description

Path to File in Installed Package

Usage

extdataFile(..., must_exist = TRUE)

Arguments

...

parts of the file path to be passed to system.file

must_exist

if TRUE (the default) and the specified file does not exist, the program stops with an error message

Value

path to file in the package installation folder in the R library or "" if the path does not exist

path to the specified file

Examples

# List the files provided in the "extdata" folder of kwb.logger
dir(extdataFile())

KWB-R/kwb.logger documentation built on June 18, 2022, 1:49 a.m.