Skip to content

Commit

Permalink
Add don't run
Browse files Browse the repository at this point in the history
  • Loading branch information
hauselin committed Apr 28, 2024
1 parent 4396321 commit 81b2269
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
#' @export
#'
#' @examples
#' \dontrun{
#' resp <- list_models("resp")
#' resp_process(resp, "df") # parse response to dataframe/tibble
#' resp_process(resp, "jsonlist") # parse response to list
#' resp_process(resp, "raw") # parse response to raw string
#' resp_process(resp, "resp") # return input response object
#' }
resp_process <- function(resp, output = c("df", "jsonlist", "raw", "resp")) {

if (is.null(resp) || resp$status_code != 200) {
Expand Down
2 changes: 2 additions & 0 deletions man/resp_process.Rd

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

0 comments on commit 81b2269

Please sign in to comment.