tests/testthat/test-plot_climate.R

test_that("plot_climate works", {
  # Missing longitude
  expect_error(tibble::tibble(latitude = 0, mat = 20) %>%
                 smpds::plot_climate())
})
special-uor/smpds documentation built on July 9, 2024, 5:39 p.m.