get_path | R Documentation |
Safe Way to Access Module Package Files Using Relative Path
get_path(..., mustWork = FALSE, is_directory = FALSE)
... |
relative path to the file |
mustWork |
whether the file must exists |
is_directory |
whether required file is a directory |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.