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"))
})

Try the spbabel package in your browser

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

spbabel documentation built on March 31, 2023, 11:55 p.m.