Nothing
test_that("ESPN - WNBA Injuries (league-wide)", {
skip_on_cran()
skip_on_ci()
skip_espn_test()
x <- espn_wnba_injuries()
# Skip-if-empty guard: injury data may be absent outside the WNBA season.
expect_true(is.data.frame(x) || is.null(x))
if (is.null(x) || !is.data.frame(x) || nrow(x) == 0L) {
skip("No injury rows returned for WNBA at test time (may be off-season or no active injuries)")
}
cols <- c(
"team_id",
"athlete_id",
"athlete_name",
"position",
"status"
)
expect_in(sort(cols), sort(colnames(x)))
expect_s3_class(x, "data.frame")
Sys.sleep(1)
})
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.