tests/testthat/test-t1.R

context("Test the fars package using testthat")

library(dplyr)
library(maps)

test_that("fars_summarize_years() works correctly for a year range", {
  expect_is(fars_summarize_years(2013:2015), "tbl_df")
})
pvisser82/fars documentation built on May 29, 2019, 7:50 a.m.