#library(noarr) trying this
library(testthat)
test_that("eq_map runs without error", {
map <-load_data() %>%
eq_clean_data() %>%
dplyr::filter(COUNTRY == "MEXICO" & lubridate::year(date) >= 2000) %>%
eq_map(annot_col = "date")
expect_is(map, "leaflet")
expect_is(map, "htmlwidget")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.