debugging <- function(input){
base::tryCatch(
if(base::isTRUE(debug)){
print(input)
}
, error = function(errro){
# nothing happens
}
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.