tests/testthat/test-get_draft_picks.R

test_that("get_draft_picks() returns non-empty tibble", {
  skip_if_offline()
  test <- get_draft_picks()
  expect_true(tibble::is_tibble(test) && nrow(test)>0)
})

Try the nhlscraper package in your browser

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

nhlscraper documentation built on Aug. 8, 2025, 6:28 p.m.