package_file | R Documentation |
It always starts by walking up the path until it finds the root directory,
i.e. a directory containing DESCRIPTION
. If it cannot find the root
directory, or it can't find the specified path, it will throw an error.
package_file(..., path = ".")
... |
Components of the path. |
path |
Place to start search for package directory. |
## Not run: package_file("figures", "figure_1") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.