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)
})
Shreyas147/R-assignment documentation built on Jan. 18, 2021, 12:33 a.m.