diff --git a/R/utils.R b/R/utils.R index 102e609f..0713c9c7 100644 --- a/R/utils.R +++ b/R/utils.R @@ -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) %>%