context("test-eq_map")
library(tidyverse)
gg_output <- read_data() %>%
eq_clean_data() %>%
dplyr::filter(lubridate::year(Date) >= 2021) %>%
eq_map()
test_that("correct object in output", {
expect_is(gg_output, "leaflet")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.