powered by
Base path of package (with DESCRIPTION file), per default at current getwd. Derived from devtools::package_file
packagePath(path = ".", file = NULL, warnonly = FALSE)
Path to (or below) package directory. DEFAULT: "."
Optional file name to be added to path. DEFAULT: NA
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
getwd
# NOT RUN { # packagePath() # may fail on cran checks # }
Run the code above in your browser using DataLab