Nothing
test_that("load_wnba_shots returns a wehoop_data tibble for the most recent season", {
skip_on_cran()
skip_on_ci()
skip_load_test()
shots <- load_wnba_shots(seasons = most_recent_wnba_season())
if (length(shots) == 0 || nrow(shots) == 0) {
skip("No rows returned at test time -- release may not exist yet")
}
expect_s3_class(shots, "wehoop_data")
expect_s3_class(shots, "data.frame")
core_cols <- c("game_id", "season", "coordinate_x", "coordinate_y")
expect_in(sort(core_cols), sort(colnames(shots)))
})
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.