Inspect the usage section in an Rd object
Inspect the usage section in an Rd object.
an Rd object.
The usage section in the Rd object,
rdo, is extracted and
parsed. The usage of each function described in
obtained also from the actual installed function and compared to the
The return value is a list, with one element for each function usage
as returned by
One of the consequences of this is that an easy way to add a usage
description of a function, say
fu to an existing Rd file is to
simply add a line
fu() to the usage section of that file and
reprompt on it.
a list of comparison results as described in ‘Details’ (todo: give more details here)
Georgi N. Boshnakov
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.