context("CFB Play Types")
x <- cfb_play_types()
cols <- c("play_type_id","text","abbreviation")
test_that("CFB Play Types", {
expect_equal(nrow(x), 47)
expect_equal(ncol(x), 3)
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.