context("CFB Calendar")
x <- cfb_calendar(year = 2019)
cols <- c("season", "week", "season_type",
"first_game_start", "last_game_start")
test_that("CFB Calendar", {
expect_equal(nrow(x), 16)
expect_equal(colnames(x), cols)
expect_s3_class(x, "data.frame")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.