tests/testthat/test-meteo_noaa_co2.R

test_that("meteo_noaa_hourly", {
  co2 = meteo_noaa_co2()
  expect_true(is.data.frame(co2))
  expect_true(nrow(co2) > 700)
  expect_true(ncol(co2) >= 7)
})

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.