This function scans Rd documentation files in the specified package's \man
directory to identify which functions lack certain documentation sections
like \examples
. If there are no missing sections in all the Rd files, then
the output is a character(0)
Usage
findMissingRdSections(
sectionName,
pkg = ".",
ignore = NULL,
.ignore = "-package$"
)
fmrs(sectionName, pkg = ".", ignore = NULL, .ignore = "-package$")
Arguments
- sectionName
A character vector of the Rd sections to look for.
- pkg
The path to the package directory, defaulting to the current directory.
- ignore
Additional Regexes of function names to be ignored in the output.
- .ignore
More regexes of functions to ignore set by default. Will be appended with the
ignore
regexes and unioned withjoinRegex()
.