tests/testthat/test_fars_read_years.R

library(testthat)
expect_error(fars_read(file.path("data", "nonExistentFile.csv"),
                       "file 'nonExistentFile.csv' does not exist"))
MaxDQlikDev/my.far.pkg documentation built on Feb. 13, 2021, 12:49 a.m.