Nothing
cols <- c(
"athlete_id", "first_name", "last_name", "team", "weight", "height",
"jersey", "year", "position", "home_city", "home_state",
"home_country","home_latitude","home_longitude", "home_county_fips",'recruit_ids','headshot_url'
)
test_that("CFB Team Roster", {
skip_on_cran()
x <- cfbd_team_roster(2019, team = "Florida State")
if (is.null(x) || !is.data.frame(x) || nrow(x) == 0L) {
skip("CFBD rate-limited or returned no rows")
}
y <- cfbd_team_roster(2018, team = "Texas A&M")
if (is.null(y) || !is.data.frame(y) || nrow(y) == 0L) {
skip("CFBD rate-limited or returned no rows")
}
z <- cfbd_team_roster(2017)
if (is.null(z) || !is.data.frame(z) || nrow(z) == 0L) {
skip("CFBD rate-limited or returned no rows")
}
expect_setequal(colnames(x), cols)
expect_setequal(colnames(y), cols)
expect_setequal(colnames(z), cols)
expect_s3_class(x, "data.frame")
expect_s3_class(y, "data.frame")
expect_s3_class(z, "data.frame")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.