View source: R/packageDevelopment.R
getPkgKeywords | R Documentation |
This function retrieves keywords from all package documentation files located
in the /man
directory of the specified R package. It can return a unique
list of keywords or a frequency distribution of these keywords as a table
object, sorted by the keys.
Note that the "internal" keyword is ignored.
getPkgKeywords(pkg = ".", asDistribution = FALSE)
pkg |
The path to the R package directory. |
asDistribution |
Logical; if FALSE, returns a character vector of unique keywords. If TRUE, returns a table with the frequency of each keyword. |
If asDistribution
is FALSE, a sorted character vector of
unique keywords is returned. If asDistribution
is TRUE, a table of
keywords and their frequencies is returned. If no keywords were detected,
returns a character of length 0.
getPkgKeywords()
getPkgKeywords(asDistribution = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.