context("file-clean_data")
test_that("clean data - new vars",
{
df = eq_ReadQuake()
df_tidy = eq_CleanData(df)
expect_true(all(c("MAGNITUDE","DATE") %in% colnames(df_tidy)))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.