get_path: Safe Way to Access Module Package Files Using Relative Path

View source: R/module-conf.R

get_pathR Documentation

Safe Way to Access Module Package Files Using Relative Path

Description

Safe Way to Access Module Package Files Using Relative Path

Usage

get_path(..., mustWork = FALSE, is_directory = FALSE)

Arguments

...

relative path to the file

mustWork

whether the file must exists

is_directory

whether required file is a directory

Value

If you are developing the package, get_path returns the absolute file path, otherwise it uses system.file to get the file from package library.


beauchamplab/rave documentation built on Feb. 23, 2024, 7:20 a.m.