test_that("ONS Gen2 shapefile shapefile is loaded from url with class sf", {
ons_shp <- get_ons_shp()
testthat::expect_s3_class(object = ons_shp,
class="sf")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.