test_that("returns leaflet map", {
vdata <- distances[1, ]
expect_s3_class(vessel_map(vdata), "leaflet")
expect_s3_class(vessel_map(vdata), "htmlwidget")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.