tests/testthat/test-api.R

test_that("empty API call returns fantasy league info", {
  x <- ffl_api(leagueId = "42654852")
  expect_type(x, "list")
  expect_length(x, 9)
})

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.