Skip to content

Commit eaf4cec

Browse files
committed
Cran Check (Win DEVEL) note fix
1 parent 29af1c1 commit eaf4cec

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@
1818
^Meta$
1919
^CRAN-SUBMISSION$
2020
^\w*.pem$
21+
^revdep$

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ get_jolpica_content <- function(url) {
121121

122122
jolpica_raw <- httr2::request("https://api.jolpi.ca/ergast/f1/") %>%
123123
httr2::req_url_path_append(url) %>%
124-
httr2::req_retry(max_tries = 10, backoff = function(x) runif(1, 1, 2^x)) %>%
124+
httr2::req_retry(max_tries = 10, backoff = function(x) stats::runif(1, 1, 2^x)) %>%
125125
httr2::req_user_agent(glue::glue("f1dataR/{ver}", ver = utils::installed.packages()["f1dataR", "Version"])) %>%
126126
httr2::req_throttle(4 / 1) %>%
127127
httr2::req_error(is_error = ~FALSE)

0 commit comments

Comments
 (0)