tests/testthat/test-reports.R

test_that("nflverse_packages() works", {
  expect_identical(
    nflverse_packages(include_self = TRUE),
    c("nfl4th", "nflfastR", "nflplotR", "nflreadr", "nflseedR", "nflverse")
  )
  expect_identical(
    nflverse_packages(include_self = FALSE),
    c("nfl4th", "nflfastR", "nflplotR", "nflreadr", "nflseedR")
  )
})

Try the nflverse package in your browser

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

nflverse documentation built on Aug. 14, 2023, 9:07 a.m.