tests/testthat/test-get_layer.R

test_that("layer is sf class", {
  expect_is(get_layer(con = connect_oxcovid19(),
                      ccode = "CHN",
                      adm = 1),
            "sf")
})

Try the oxcovid19 package in your browser

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

oxcovid19 documentation built on Jan. 13, 2021, 8:50 p.m.