Learn R Programming

HTSeqGenie (version 4.2.0)

getPackageFile: Get a package file

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

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