library(testthat)
expect_that(make_filename(2013), is_a("character"))
expect_that(nchar(make_filename(2013)), equals(21))
expect_that(fars_read(2013), throws_error())
expect_that(fars_read("accident_2013.csv.bz2"), is_a("tbl_df"))
expect_that(fars_read_years(2017),gives_warning())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.