test_that("Checking show_sedimentpelave class", {
result <- show_sedimentpelave(sedimentdata, yrrng = 2023)
expect_is(result, 'ggplot')
})
test_that("Checking show_sedimentpelave plotly class", {
result <- show_sedimentpelave(sedimentdata, yrrng = 2023, plotly = T)
expect_is(result, 'plotly')
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.