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