Nothing
test_that("recognizes valid syntax", {
s = "
a = TRUE
b = c(1, 2, 3)
d = function(x) x ^ 2
f = d(b)
"
expect_true(valid_syntax(s))
})
test_that("recognizes invalid syntax", {
s = "
if (TRUE) {
a = c(1, 2)
"
expect_false(valid_syntax(s))
})
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.