tests/testthat/test-tornadoes.R

context("tornadoes")

test_that("tornadoes works", {
  skip_on_cran()
  skip_on_ci()
  skip_if_government_down()

  torn <- tornadoes()
  expect_is(torn, "SpatialLinesDataFrame")
})

Try the rnoaa package in your browser

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

rnoaa documentation built on April 27, 2023, 9:08 a.m.