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)
})
dannyjwpark/FARS documentation built on Sept. 17, 2021, 8:56 a.m.