test_that("hello works", {
expect_equal(hello("Sanjana"), "Hello Sanjana")
})
test_that("add works", {
expect_equal(add(1, 1), 2)
expect_error(add(1, "Sanjana"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.