tests/testthat/test-simulation.R

test_that("get simulated season projections", {
  s <- league_simulation(
    leagueId = "42654852"
  )
  expect_s3_class(s, "data.frame")
  expect_length(s, 11)
})

Try the fflr package in your browser

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

fflr documentation built on Sept. 14, 2023, 9:10 a.m.