Safe Way to Access Module Package Files Using Relative Path
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.