Compile source code files containing Rdoc comments into Rd files.
Note, the class and methods to be compiled have to be loaded into
R by for instance library()
or source()
before calling
this method.
## Static method (use this):
## Rdoc$compile(filename=".*[.]R$", destPath=getManPath(this), showDeprecated=FALSE,
## addTimestamp=FALSE, locale="C", verbose=FALSE, source=FALSE, check=TRUE,
## debug=FALSE, ...)## Don't use the below:
# S3 method for Rdoc
compile(this, filename=".*[.]R$", destPath=getManPath(this), showDeprecated=FALSE,
addTimestamp=FALSE, locale="C", verbose=FALSE, source=FALSE, check=TRUE, debug=FALSE,
...)
The pathname or filename pattern of the Rdoc files to be compiled.
The path where the generated Rd files should be saved.
If TRUE
, Rd files are generated for deprecated
objects too, otherwise not.
The locale to be set/used when compiling Rdoc comments. This help assuring strings are sorted the same way across systems.
If TRUE
, the Rdoc files will be source()
:ed first.
This work of course only for Rdoc files that are R source files.
If TRUE
, detailed compilation information is printed.
If TRUE
, extra debug information is printed.
Not used.
Returns nothing.
For more information see Rdoc
.