Code
writeLines(eval_outside("log_messages()", "message(42)"))
Output
INFO 42
Code
writeLines(eval_outside("log_warnings(TRUE)", "warning(42)", "log(-1)"))
Output
WARN 42
WARN NaNs produced
Code
writeLines(eval_outside("log_errors()", "stop(42)"))
Output
ERROR 42
Code
writeLines(eval_outside("log_errors()", "foobar"))
Output
ERROR object 'foobar' not found
Code
writeLines(eval_outside("log_errors()", "f<-function(x) {42 * \"foobar\"}; f()"))
Output
ERROR non-numeric argument to binary operator
Code
writeLines(obs)
Output
INFO mock-session Default Shiny inputs initialized: {}
Code
writeLines(obs)
Output
ERROR mock-session Default Shiny inputs initialized: {}
Code
writeLines(obs)
Output
INFO mock-session Default Shiny inputs initialized: {}
INFO mock-session Shiny input change detected in a: NULL -> 2
Code
writeLines(obs)
Output
ERROR mock-session Default Shiny inputs initialized: {}
ERROR mock-session Shiny input change detected in a: NULL -> 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.