getPackageFile: Get a package file

Description Usage Arguments Value

View source: R/tools.R

Description

Magically get package files from the inst directory, which will be in different location, depending on whether we run in: - local mode: if interactive() is TRUE - package mode: if interactive() is FALSE

Usage

1
getPackageFile(filename, package = "HTSeqGenie", mustWork = TRUE)

Arguments

filename

Name of package file

package

Name of the package the file is coming from

mustWork

Boolean, will stop the code if set tot TRUE and file not found otherwise returns Nothing.

Value

relative path to requested file


HTSeqGenie documentation built on Nov. 8, 2020, 6:12 p.m.