test_that("graphics works", {
# Load file
m <- drt_import(
system.file("Jegenstorf_i1000.RData", package = "drtplanr")
)
# Test energy plot
expect_is(drt_plot(m), "ggplot")
# Test station map
expect_is(drt_map(m), "mapview")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.