compileRdoc: Compiles the Rdoc help comments in a package

View source: R/compileRdoc.R

compileRdocR Documentation

Compiles the Rdoc help comments in a package

Description

Compiles the Rdoc help comments in a package by parsing the source code files and writes Rd help files.

Usage

compileRdoc(pkgname=NULL, path=pkgname, ..., verbose=TRUE)

Arguments

pkgname

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.

path

A character string specifying the path of the package source directory.

...

Additional arguments passed to Rdoc\$compile().

verbose

If TRUE, verbose output is printed, otherwise not.

Details

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()
  

Value

Returns nothing.

Author(s)

Henrik Bengtsson

See Also

See the Rdoc class.


R.oo documentation built on Nov. 2, 2024, 1:07 a.m.