add <- function(x, y) {
x + y
}
add(1, 3) # runs fine
add("a", 3) # expect type error
x <- "a"
add(x, 3) # expect type error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.