tests/testthat/test_fars_read_years.R

test_that("Checking number of rows for 2014 accident file",{
  testthat::expect_equal(nrow(fars_read_years(2014)[[1]]),30056)
})
hahustat/farsdata documentation built on Sept. 29, 2020, 12:48 a.m.