tests/testthat/test-espn_wbb_conferences.R

test_that("ESPN - WBB Conferences", {
  skip_on_cran()
  x <- espn_wbb_conferences()
  
  cols <- c(
    "group_id",
    "conference_short_name",
    "conference_uid",
    "conference_name",
    "conference_logo",
    "parent_group_id",
    "conference_id"
  )
  
  expect_equal(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.