tests/testthat/test_farsfunctions.R

test_that("File name exists", {
  
  file_name <<- make_filename("2014")
  
  expect_that( file_name, is_a("character"))
  expect_that(fars_read(), throws_error())
})
rainiercito/farsfunctions documentation built on May 26, 2019, 9:54 p.m.