tests/test_that.R

require(testthat)
library(FARS)

test_that("fars_read throws an error with invalid input", {
  expect_that(fars_read(make_filename(9999)), throws_error())
})
gharrels/FARS_ documentation built on May 29, 2019, 3:05 a.m.