get_messages | R Documentation |
qenv
objectRetrieve all messages raised during code evaluation in a qenv
.
get_messages(object)
object |
( |
character
containing warning information or NULL
if no messages.
data_q <- qenv()
data_q <- eval_code(data_q, "iris_data <- iris")
warning_qenv <- eval_code(
data_q,
bquote(p <- hist(iris_data[, .("Sepal.Length")], ff = ""))
)
cat(get_messages(warning_qenv))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.