View source: R/package_functions.R
fake_package | R Documentation |
To build documentation for a single code file, we need a temporary package. Of course the code file should contain roxygen2 comments.
fake_package(file_name, working_directory = NULL, dependencies = NULL, ...)
file_name |
The name of the R code file to be documented. |
working_directory |
A working directory. Keep the default. |
dependencies |
A character vector of package names the functions depend on. |
... |
Arguments passed to
|
A string containing the path to the faked package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.