Nothing
testthat::test_that("autoplot", {
# only local tests
testthat::skip_on_cran()
testthat::skip_on_travis()
# get the inp files
inp_files <- system.file("extdata", paste0("Example", 1:6, ".inp"),
package = "swmmr", mustWork = TRUE)
# read and autoplot inp files
list_of_ggplots <- inp_files %>%
purrr::map(swmmr::read_inp) %>%
purrr::map(ggplot2::autoplot)
purrr::walk(list_of_ggplots, testthat::expect_s3_class, class = "gg")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.