tests/testthat/test-country_outline.R

test_that("gadm_country_shapefile finds a country", {
    test_requires_data()
    afile <- gadm_country_shapefile("uga")
    expect_equal(class(afile)[1], "sf")
})
dd-harp/globalrc documentation built on Sept. 20, 2021, 12:31 a.m.