tests/testthat/test_fars_read_years.R

context("fars_read_years")

 test_that("fars_read_years errors on 2000 since there is no data in the data", {

   expect_warning( fars_read_years(c(2010)) )

 })
A0791298/CourseraPackage documentation built on Jan. 8, 2020, 2:45 a.m.