tests/testthat/test-find_forecast_towns.R

test_that("find_forecast_towns returns correct default", {
  DT <- find_forecast_towns()
  expect_named(DT,
               c("aac", "town", "longitude", "latitude", "elev_m", "distance"))
})

Try the weatherOz package in your browser

Any scripts or data that you put into this service are public.

weatherOz documentation built on April 16, 2025, 9:07 a.m.