get_warnings | R Documentation |
qenv
objectRetrieve all warnings raised during code evaluation in a qenv
.
get_warnings(object)
object |
( |
character
containing warning information or NULL
if no warnings.
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_warnings(warning_qenv))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.