context('Testing the goodbye function')
test_that('Character input error works', {
expect_error(goodbye(1234))
expect_error(goodbye(1*2))
})
test_that('Test output of hello', {
expect_equal(goodbye('Name'), 'Adios, Name!')
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.