if (FALSE) {
# Marked as don't run because this endpoint requires private authentication
conn <- espn_connect(
season = 2020,
league_id = 1178049,
swid = Sys.getenv("TAN_SWID"),
espn_s2 = Sys.getenv("TAN_ESPN_S2")
)
ff_transactions(conn)
}
# \donttest{
try({ # try only shown here because sometimes CRAN checks are weird
conn <- fleaflicker_connect(season = 2020, league_id = 312861)
ff_transactions(conn)
}) # end try
# }
# \donttest{
try({ # try only shown here because sometimes CRAN checks are weird
dlf_conn <- mfl_connect(2019, league_id = 37920)
ff_transactions(dlf_conn)
}) # end try
# }
# \donttest{
try({ # try only shown here because sometimes CRAN checks are weird
jml_conn <- ff_connect(platform = "sleeper", league_id = "522458773317046272", season = 2020)
ff_transactions(jml_conn, week = 1:2)
}) # end try
# }
Run the code above in your browser using DataLab