We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8bc1d3 commit 83025c6Copy full SHA for 83025c6
R/walk_pages.R
@@ -10,15 +10,8 @@ walk_pages <- function(req){
10
11
resps <- httr2::req_perform_iterative(req,
12
next_req = next_req_url,
13
- max_reqs = Inf, on_error = "return")
14
- failures <- resps |>
15
- httr2::resps_failures() |>
16
- httr2::resps_requests()
17
-
18
- if(length(failures) > 0){
19
- stop(resps[[1]][["message"]])
20
- }
21
+ max_reqs = Inf, on_error = "stop")
+
22
return_list <- data.frame()
23
for(resp in resps){
24
df1 <- get_resp_data(resp)
0 commit comments