Compiles the Rdoc help comments in a package by parsing the source code files and writes Rd help files.
compileRdoc(pkgname=NULL, path=pkgname, ..., verbose=TRUE)
Returns nothing.
A character
string specifying the package name.
If NULL
, the package name is inferred from the DESCRIPTION file
that is automatically search for in the subdirectories.
A character
string specifying the path of the
package source directory.
Additional arguments passed to Rdoc\$compile()
.
If TRUE
, verbose output is printed, otherwise not.
Henrik Bengtsson
To compile all Rdoc comments in a package 'PkgA' that is located
under the current working directory (e.g. PkgA/R/*.R
) from
the system command line, do:
Rscript -e R.oo::compileRdoc()
See the Rdoc
class.