Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record requests in responses and errors #359

Merged
merged 5 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs
  • Loading branch information
hadley committed Oct 26, 2023
commit c3e1f9ac9a300828436caf536fa2ac0f9b1bc6d6
11 changes: 6 additions & 5 deletions R/iterate-responses.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
#' responses as returned [req_perform_parallel()] and
#' [req_perform_iteratively()].
#'
#' * `resp_ok()` returns a logical vector which is `TRUE` if the response was
#' successful, and `FALSE` otherwise.
#' * `resps_combine()` combines the data from successful responses into a
#' single vector. It requires the vctrs package to be installed.
#' * `resps_requests()` returns the requests corresponding to each response.
#' * `resps_successes()` returns a list successful responses.
#' * `resps_failures()` returns a list failed responses (i.e. errors).
#' * `resps_requests()` returns the list of requests that corresponds to
#' each request.
#' * `resps_data()` returns all the data in a single vector or data frame.
#' It requires the vctrs package to be installed.
#'
#' @export
#' @param resps A list of responses (possibly including errors).
Expand Down
11 changes: 6 additions & 5 deletions man/resps_successes.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading