tests/testthat/test-soccer_team_box_score.R

test_that("soccer_team_box_score() test", {
  team_2018 <- soccer_team_box_score("w",2018)
  expect_type(team_2018,"list")
  expect_true(nrow(team_2018) != 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.