tests/testthat/test-ncaa_wbb_NET_rankings.R

cols <- c("rank", "previous", "school", "conference",
          "record", "road", "neutral", "home", "non_div_i")

test_that("NCAA - WBB NET Rankings", {
  skip_on_cran()
  x <- ncaa_wbb_NET_rankings()
  
  expect_in(colnames(x), cols)
  expect_s3_class(x, "data.frame")
})

Try the wehoop package in your browser

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

wehoop documentation built on Nov. 26, 2023, 1:08 a.m.