tests/testthat/test-misc.R

context("misc")

## TODO: Rename context
## TODO: Add more tests

test_that("misc", {

  expect_that(spbabel:::detectSpClass(data.frame(x = 1)), throws_error("cannot create Spatial"))
})
mdsumner/spbabel documentation built on March 15, 2023, 5:03 p.m.