Nothing
library(testit)
# test yaml_load() error handler (requires the yaml package)
if (loadable('yaml')) assert('yaml_load() shows helpful error message on invalid YAML', {
invalid_yaml = 'a: [\nunclosed bracket'
msgs = c()
tryCatch(
withCallingHandlers(
yaml_load(invalid_yaml),
message = function(m) {
msgs <<- c(msgs, conditionMessage(m)); invokeRestart('muffleMessage')
}
),
error = function(e) NULL
)
(gsub('^Failed to parse YAML:.*', '', msgs) %==% '')
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.