context("Say hola")
testthat::test_that("Say hola returns an error when no name value",{
testthat::expect_error(say_hola(), "Sorry")
})
testthat::test_that("Say hola works when there's a name value",{
testthat::expect_message(say_hola("Luca"), "hola Luca !\n")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.