library(testthat)
library(fars)
# test function make_filename(year)
test_that("make_filename(year) works correctly", {
expect_is(make_filename("2015"), "character")
is_identical_to(make_filename("2015"), "accident_2015.csv.bz2")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.