tests/test_fars_read.R

# This function tests, by comparing to a saved image of correctly loaded data

# source
library(testthat)

# change dir to load fresh batch of data

# we expect an error when we pick an invalid state number
testthat::expect_error(fars_map_state(100,2013))
JLYJabc/farsfunctions documentation built on May 28, 2019, 7:51 a.m.