Description
Returns report tag vales (usually regexes): either user-defined, or the default ones.
Usage
get.tags(
tag.type = c("all", "header.open", "header.close", "comment.open", "comment.close"),
preset = c("user", "default")
)
Value
either a list (default) or a character value with tag regexes
Arguments
- tag.type
a character value with tag value name
- preset
a character value specifying which preset to return
Details
Default parameters are read from options
:
'header.open',
'header.close',
'comment.open',
'comment.close'.
Examples
Run this codeif (FALSE) {
get.tags() # same as 'get.tags("all")'
get.tags("header.open")
}
Run the code above in your browser using DataLab