print.envelope: Print a message object

View source: R/envelope.R

print.envelopeR Documentation

Print a message object

Description

The message body will be printed if details is TRUE or if the envelope_details option is TRUE.

Usage

## S3 method for class 'envelope'
print(x, details = NA, ...)

Arguments

x

A message object.

details

Whether or not to display full message content.

...

Further arguments passed to or from other methods.

Examples

msg <- envelope() %>% text("Hello, World!")

print(msg)
print(msg, details = TRUE)

options(envelope_details = TRUE)
print(msg)

emayili documentation built on Aug. 30, 2023, 5:12 p.m.