# tests for progress_reports function
suppressPackageStartupMessages(library(dplyr))
test_that("tidy frame for progress reports is right", {
d <- progress_reports() %>%
group_by(year) %>%
summarise(total_lines = n())
expect_equal(nrow(d), 7)
expect_equal(ncol(d), 2)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.