tests/testthat/test-edge.R

context("test-edge.R")

test_that("edge cases", {
  expect_error(expect_message(cellnumbers(ghrsst, matrix(1))))
  expect_error(expect_warning(cellnumbers(ghrsst, 1)), "no method for 'query' of type numeric")
})

Try the tabularaster package in your browser

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

tabularaster documentation built on Nov. 2, 2023, 5:14 p.m.