context("Testing tweets.R function")
test_that('data types, dimension of test data', {
expect_is(tweets,'data.frame')
expect_equal(nrow(tweets), 1820)
expect_equal(ncol(tweets), 2)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.