msg <- envelope() %>% text("Hello!")
# Using {glue} interpolation.
#
name <- "Alice"
msg <- envelope() %>% text("Hello {name}.")
print(msg, details = TRUE)
# Disable {glue} interpolation.
#
msg <- envelope() %>% text("This is a set: {1, 2, 3}.", interpolate = FALSE)
Run the code above in your browser using DataLab