pkg_root | R Documentation |
Unexported helper to find the root of the R package. Returns an error if the path specified is not an R package.
pkg_root(pkg_path = ".", ...)
pkg_path |
Path to the package directory. Default is |
... |
Arguments passed to rprojroot::find_package_root_file. |
A file path of the package root. If no package is found at the root then the function will stop
with an error message.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.