View source: R/render_refman.R
render_refman | R Documentation |
This is a wrapper to combine the Rd files of a package source or binary into a reference manual in markdown format.
render_refman(pkg = getwd(), output_file = NULL, output_format = md_document())
pkg |
Full path to package directory.
Default value is the current working directory.
Alternatively, a package name can be passed as string.
If this is the case, |
output_file |
Specify outputfile, including file extension |
output_format |
Output format function. See |
Murdoch, D. (2010). Parsing Rd files
Package Rd2markdown, on which the original version was based on.
Package pkgdown, on which the current (refactored) version is based on.
## give source directory of your package
pkg_dir = "~/git/MyPackage"
## create reference manual
## render_refman(pkg_dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.