tests/testthat/test-get_ag_bulletin.R

# get_ag_bulletin() ------------------------------------------------------------
# Test function is defunct
test_that("query_bulletin is defunct", {
  skip_on_cran()
  expect_error(get_ag_bulletin(state = "AUS"), "defunct", fixed = TRUE)
})

# parse_ag_bulletin() ----------------------------------------------------------
# Test function is defunct
test_that("parse_bulletin is defunct", {
  expect_error(parse_ag_bulletin(), "defunct", fixed = TRUE)
})

Try the weatherOz package in your browser

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

weatherOz documentation built on April 16, 2025, 9:07 a.m.