# \donttest{
try({# to avoid CRAN test problems
pbp <- nflfastR::load_pbp(2020)
weekly <- calculate_player_stats_def(pbp, weekly = TRUE)
dplyr::glimpse(weekly)
overall <- calculate_player_stats_def(pbp, weekly = FALSE)
dplyr::glimpse(overall)
})
# }
Run the code above in your browser using DataLab