render_refman {Rd2md} | R Documentation |
Create Markdown Reference Manual
Description
This is a wrapper to combine the Rd files of a package source or binary into a reference manual in markdown format.
Usage
render_refman(pkg = getwd(), output_file = NULL, output_format = md_document())
Arguments
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 |
References
Murdoch, D. (2010). Parsing Rd files
See Also
Package Rd2markdown, on which the original version was based on.
Package pkgdown, on which the current (refactored) version is based on.
Examples
## give source directory of your package
pkg_dir = "~/git/MyPackage"
## create reference manual
## render_refman(pkg_dir)
[Package Rd2md version 1.0.1 Index]