tests/testthat/test_fars_read_years.R

test_that("Check number of rows for 2013 accidents file", {
  testthat::expect_equal(nrow(fars_read_years(2013)[[1]]), 30202)
})
DYZI/FARS documentation built on May 9, 2019, 2:33 p.m.