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)
})
EnriquePH/FARS documentation built on May 20, 2019, 4:07 p.m.