tests/testthat/test-meteo_noaa_hourly.R

test_that("meteo_noaa_hourly", {
  noaa = meteo_noaa_hourly(station = "123300-99999", 
                           year = 2019)
  expect_true(all(noaa$year == 2019))
  
})

Try the climate package in your browser

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

climate documentation built on Aug. 9, 2022, 5:08 p.m.