tests/testthat/test-earthquake_read.R

# Test earthquake_read

expect_that(earthquake_read(), is_a("tbl_df"))

expect_that(earthquake_read("in/data.csv"), throws_error())
codyschulz/earthquakeMap documentation built on March 18, 2018, 7:48 p.m.