Skip to content

Commit

Permalink
Update update_adv_stats.R
Browse files Browse the repository at this point in the history
Print errors
  • Loading branch information
mrcaseb authored Oct 2, 2024
1 parent 9c2cc9b commit f2bdb78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion auto/update_adv_stats.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ scrape_advstats <- function(){
cli::cli_progress_along(pfr_game_id),
purrr::possibly(
.f = function(i) pfr_game_adv_stats(pfr_game_id[[i]]),
otherwise = list()
otherwise = list(),
quiet = FALSE
))) %>%
dplyr::filter(purrr::map_lgl(adv, ~all(lengths(.x) > 0)))

Expand Down

0 comments on commit f2bdb78

Please sign in to comment.