tests/testthat/test-edge.R

context("test-edge.R")

test_that("edge cases", {
  expect_error(cellnumbers(ghrsst, matrix(1)))
  expect_error(cellnumbers(ghrsst, 1), "no method for 'query' of type numeric")
})
r-gris/tabularaster documentation built on June 7, 2019, 8:51 a.m.