tests/testthat/test-get_vpts_coverage_aloft.R

test_that("get_vpts_coverage_aloft() returns a tibble", {
  skip_if_offline()

  expect_s3_class(
    get_vpts_coverage_aloft(),
    "tbl_df"
  )
})

test_that("get_vpts_coverage_aloft() returns the expected columns", {
  skip_if_offline()

  expect_named(
    get_vpts_coverage_aloft(),
    c("directory", "file_count", "source", "radar", "date")
  )
})

Try the getRad package in your browser

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

getRad documentation built on Aug. 8, 2025, 7:20 p.m.