tests/testthat/test-volleyball_pbp.R

test_that("volleyball_pbp() test", {
  pbp_2019 <- volleyball_pbp("m",2019)
  expect_type(pbp_2019,"list")
  expect_true(nrow(pbp_2019) != 0)
})

Try the usportsR package in your browser

Any scripts or data that you put into this service are public.

usportsR documentation built on March 16, 2026, 5:08 p.m.