packagePath | R Documentation |
Base path of package (with DESCRIPTION file), per default at current getwd. Derived from devtools::package_file
packagePath(path = ".", file = NULL, warnonly = FALSE)
path |
Path to (or below) package directory. DEFAULT: "." |
file |
Optional file name to be added to path. DEFAULT: NA |
warnonly |
Logical: if no part of the path is a package, give a warning and return the original input instead of stopping with an error. DEFAULT: FALSE |
Path character string
Berry Boessenkool, berry-b@gmx.de, Sep 2017
getwd
# packagePath() # may fail on cran checks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.