.lst_results_as_df | R Documentation |
Function takes the results from eval_capture_conditions()
, which is a
named list, e.g. list(result=, warning=, error=)
, and converts it to a data
frame.
.lst_results_as_df(x, variable, fun_name)
x |
(named |
variable |
( |
fun_name |
( |
a data frame
msgs <- eval_capture_conditions({
warning("Warning 1")
warning("Warning 2")
letters[1:2]
})
cards:::.lst_results_as_df(msgs, "result", "mean")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.