tests/testthat/test-cite.R

test_that("Dataset can be cited", {
  skip_on_cran()
  skip_if_offline()
  testthat::expect_s3_class({
    cds_cite_dataset("reanalysis-era5-pressure-levels") |>
      suppressMessages()
  }, "BibEntry")
})

Try the CopernicusClimate package in your browser

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

CopernicusClimate documentation built on Jan. 8, 2026, 1:08 a.m.