context("location clean")
dat<-NOAA_quakes
test_that("location name cleaning works good",{
res<-eq_location_clean(dat)
expect_equal(res$LOCATION_NAME,
res$LOCATION_NAME %>% stringr::str_to_lower() %>%
stringr::str_to_title())
expect_s3_class(res,"tbl")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.