tests/testthat/test_farsyear.R

test_that("Check number of rows for 2013 accidents file", {
  testthat::expect_equal(nrow(fars_read_years(2013)[[1]]), 30202)
})
jeff-hardwoodsnb/Week4Fars documentation built on May 7, 2022, 12:07 a.m.