View source: R/getAttributeNames.R
getAttributeNames | R Documentation |
This finds names that are literal strings
in the calls to attr
, attributes
(and their assignment equivalents) and structure
.
It currently doesn't do constant propagation, look backs or inference to handle indirect references to attributes, i.e., via a variable containing the attribute name.
getAttributeNames(x)
x |
the R code object to analyze |
A character vector giving the names of the attributes found in the code. The name of each element of the character vector indicates the function in which that attribute names was found.
Duncan Temple Lang
findCallsTo
findUsedOptions
getAttributeNames(tools:::.install_packages)
getAttributeNames(tools::prepare_Rd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.