context("sentiment")
test_that("'bad' is bad sentiment", {
expect_equal(sentiment("bad"), "bad")
})
test_that("'love' is good sentiment", {
expect_equal(sentiment("love"), "good")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.