rapport (version 1.0)

get.tags: Tag Values

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"))

Arguments

tag.type

a character value with tag value name

preset

a character value specifying which preset to return

Value

either a list (default) or a character value with tag regexes

Details

Default parameters are read from options:

  • 'header.open',

  • 'header.close',

  • 'comment.open',

  • 'comment.close'.

Examples

Run this code
# NOT RUN {
get.tags()        # same as 'get.tags("all")'
get.tags("header.open")
# }

Run the code above in your browser using DataCamp Workspace