Learn R Programming

R.oo (version 1.2.7)

compile.Rdoc: Compile source code files containing Rdoc comments into Rd files

Description

Compile source code files containing Rdoc comments into Rd files. Note, the class and methods to be compiled have to be loaded into Rby for instance library() or source() before calling this method.

Usage

Rdoc$compile(filename=".*[.]R$", destPath=getManPath(this), showDeprecated=FALSE, addTimestamp=TRUE, verbose=FALSE, source=FALSE, check=TRUE, debug=FALSE, ...)

Arguments

filename
The pathname or filename pattern of the Rdoc files to be compiled.
destPath
The path where the generated Rd files should be saved.
showDeprecated
If TRUE, Rd files are generated for deprecated objects too, otherwise not.
addTimestamp
If TRUE, a date and time stamp is added to the Rd header comments. This timestamp might be confusing for version control systems, which is why it can be turned off with
source
If TRUE, the Rdoc files will be source()'ed first. This work of course only for Rdoc files that are R source files.
verbose
If TRUE, detailed compilation information is printed.
debug
If TRUE, extra debug information is printed.
...
Not used.

Value

  • Returns nothing.

synopsis

compile.Rdoc(this, filename=".*[.]R$", destPath=getManPath(this), showDeprecated=FALSE, addTimestamp=TRUE, verbose=FALSE, source=FALSE, check=TRUE, debug=FALSE, ...)

See Also

For more information see Rdoc.