tests/testthat/test_public.R

## ---- public -----------------------------------------------------------------
if (!exists("al_2008")){
  al_2008 <- get_storms(years = 2008, basins = "AL")
}
al_09_2008_public <- get_public(al_2008[[9,4]])
## ---- * get_public () --------------------------------------------------------
test_that("get_public", {
  expect_equal(al_09_2008_public, df.al_09_2008_public)
})
timtrice/Hurricanes documentation built on Oct. 10, 2023, 8:15 p.m.