Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SCasanova committed Jan 21, 2024
1 parent 957d981 commit da8362e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ get_ergast_content <- function(url) {
# Automatically retries request up to 5 times. Backoff provided in httr2 documentation
# Automatically retries at http if https fails after retries.


ergast_raw <- httr2::request("https://ergast.com/api/f1") %>%
httr2::req_url_path_append(url) %>%
httr2::req_retry(max_tries = 5) %>%
Expand Down

0 comments on commit da8362e

Please sign in to comment.