Add or query subject of message.
Usage
subject(
msg,
subject = NULL,
prefix = NA,
suffix = NA,
interpolate = TRUE,
.open = "{{",
.close = "}}",
.envir = NULL
)
Arguments
- msg
A message object.
- subject
A subject for the message.
- prefix
A subject prefix.
- suffix
A subject suffix.
- interpolate
Whether or not to interpolate into input using glue.
- .open
The opening delimiter.
- .close
The closing delimiter.
- .envir
Environment used for
glue
interpolation. Defaults toparent.frame()
.
Details
The prefix
and suffix
can be used to add extra
subject
abbreviations.