Skip to content

Commit

Permalink
80 char fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asadow committed Nov 3, 2023
1 parent 4ed1c7e commit 60e5ee7
Show file tree
Hide file tree
Showing 15 changed files with 39 additions and 34 deletions.
3 changes: 1 addition & 2 deletions R/get.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ mm_get_names <- function(endpoint) {
#'
#' Where applicable, pagination is automatically applied to the request
#' and returned pages are automatically combined.
#'
#' @inheritParams mm_request
#' @inheritParams mm_req_params
#' @inheritParams mm_request
#' @param .paginate If `TRUE`, paginate the request.
#' @returns A data frame of class [`tbl_df`][tibble::tbl_df-class]
#' containing the requested information.
Expand Down
8 changes: 3 additions & 5 deletions R/modify.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ mm_req_append <- function(req, x) {
#' `mm_req_params()` adds filters to the request. By default, it adds the query
#' for all (currently available) fields.
#'
#'
#' @inheritParams mm_next_req
#' @param ... <[`dynamic-dots`][rlang::dyn-dots]> Name-value pairs to filter the request.
#' The name should be the lower-case name of a
#' field that is filter-enabled
#' (in Megamation's words, a criteria).
#' @param ... <[`dynamic-dots`][rlang::dyn-dots]> Name-value pairs to filter the
#' request. The name should be the lower-case name of a field that is
#' filter-enabled (in Megamation's words, a criteria).
#' @param allfields If `TRUE`, return all fields currently available for
#' the endpoint.
#' @returns An object of class `httr2_request` with a pagination policy.
Expand Down
1 change: 0 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ start_vignette("README")
<!-- badges: start -->

[![R-CMD-check](https://github.com/asadow/megamation/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/asadow/megamation/actions/workflows/R-CMD-check.yaml) [![Codecov test coverage](https://codecov.io/gh/asadow/megamation/branch/master/graph/badge.svg)](https://app.codecov.io/gh/asadow/megamation?branch=master) [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![R-CMD-check](https://github.com/asadow/megamation/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/asadow/megamation/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->

## Overview
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
coverage](https://codecov.io/gh/asadow/megamation/branch/master/graph/badge.svg)](https://app.codecov.io/gh/asadow/megamation?branch=master)
[![Lifecycle:
experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![R-CMD-check](https://github.com/asadow/megamation/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/asadow/megamation/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->

## Overview
Expand Down
5 changes: 3 additions & 2 deletions man/mm_error_body.Rd

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

9 changes: 4 additions & 5 deletions man/mm_get.Rd

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

2 changes: 1 addition & 1 deletion man/mm_next_req.Rd

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

4 changes: 2 additions & 2 deletions man/mm_pagebind.Rd

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

7 changes: 3 additions & 4 deletions man/mm_req_params.Rd

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

6 changes: 4 additions & 2 deletions tests/testthat/mm_get/status-b4ea5e.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ structure(list(
method = "GET", url = "status?ALLFIELDS=1", status_code = 200L,
headers = structure(list(
`Cache-Control` = "REDACTED", `Content-Type` = "application/hal+json",
Server = "REDACTED", `X-Powered-By` = "REDACTED", `Access-Control-Allow-Origin` = "REDACTED",
Server = "REDACTED", `X-Powered-By` = "REDACTED",
`Access-Control-Allow-Origin` = "REDACTED",
`WWW-Authenticate` = "REDACTED", `X-Powered-By` = "REDACTED",
`X-Robots-Tag` = "REDACTED", Date = "REDACTED", `Content-Length` = "REDACTED",
`X-Robots-Tag` = "REDACTED", Date = "REDACTED",
`Content-Length` = "REDACTED",
`Set-Cookie` = "REDACTED", `Strict-Transport-Security` = "REDACTED"
), class = "httr2_headers"),
body = as.raw(c(
Expand Down
6 changes: 4 additions & 2 deletions tests/testthat/mm_req_perform/status.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ structure(list(
method = "GET", url = "status", status_code = 200L,
headers = structure(list(
`Cache-Control` = "REDACTED", `Content-Type` = "application/hal+json",
Server = "REDACTED", `X-Powered-By` = "REDACTED", `Access-Control-Allow-Origin` = "REDACTED",
Server = "REDACTED", `X-Powered-By` = "REDACTED",
`Access-Control-Allow-Origin` = "REDACTED",
`WWW-Authenticate` = "REDACTED", `X-Powered-By` = "REDACTED",
`X-Robots-Tag` = "REDACTED", Date = "REDACTED", `Content-Length` = "REDACTED",
`X-Robots-Tag` = "REDACTED", Date = "REDACTED",
`Content-Length` = "REDACTED",
`Set-Cookie` = "REDACTED", `Strict-Transport-Security` = "REDACTED"
), class = "httr2_headers"),
body = as.raw(c(
Expand Down
6 changes: 4 additions & 2 deletions tests/testthat/mm_resp_extract-criteria/status/@CRITERIA.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ structure(list(
method = "GET", url = "status/@CRITERIA", status_code = 200L,
headers = structure(list(
`Cache-Control` = "REDACTED", `Content-Type` = "application/hal+json",
Server = "REDACTED", `X-Powered-By` = "REDACTED", `Access-Control-Allow-Origin` = "REDACTED",
Server = "REDACTED", `X-Powered-By` = "REDACTED",
`Access-Control-Allow-Origin` = "REDACTED",
`WWW-Authenticate` = "REDACTED", `X-Powered-By` = "REDACTED",
`X-Robots-Tag` = "REDACTED", Date = "REDACTED", `Content-Length` = "REDACTED",
`X-Robots-Tag` = "REDACTED", Date = "REDACTED",
`Content-Length` = "REDACTED",
`Set-Cookie` = "REDACTED", `Strict-Transport-Security` = "REDACTED"
), class = "httr2_headers"),
body = as.raw(c(
Expand Down
6 changes: 4 additions & 2 deletions tests/testthat/mm_resp_extract-schema/status/@SCHEMA.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ structure(list(
method = "GET", url = "status/@SCHEMA", status_code = 200L,
headers = structure(list(
`Cache-Control` = "REDACTED", `Content-Type` = "application/hal+json",
Server = "REDACTED", `X-Powered-By` = "REDACTED", `Access-Control-Allow-Origin` = "REDACTED",
Server = "REDACTED", `X-Powered-By` = "REDACTED",
`Access-Control-Allow-Origin` = "REDACTED",
`WWW-Authenticate` = "REDACTED", `X-Powered-By` = "REDACTED",
`X-Robots-Tag` = "REDACTED", Date = "REDACTED", `Content-Length` = "REDACTED",
`X-Robots-Tag` = "REDACTED", Date = "REDACTED",
`Content-Length` = "REDACTED",
`Set-Cookie` = "REDACTED", `Strict-Transport-Security` = "REDACTED"
), class = "httr2_headers"),
body = as.raw(c(
Expand Down
6 changes: 4 additions & 2 deletions tests/testthat/status_resp/status.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ structure(list(
method = "GET", url = "status", status_code = 200L,
headers = structure(list(
`Cache-Control` = "REDACTED", `Content-Type` = "application/hal+json",
Server = "REDACTED", `X-Powered-By` = "REDACTED", `Access-Control-Allow-Origin` = "REDACTED",
Server = "REDACTED", `X-Powered-By` = "REDACTED",
`Access-Control-Allow-Origin` = "REDACTED",
`WWW-Authenticate` = "REDACTED", `X-Powered-By` = "REDACTED",
`X-Robots-Tag` = "REDACTED", Date = "REDACTED", `Content-Length` = "REDACTED",
`X-Robots-Tag` = "REDACTED", Date = "REDACTED",
`Content-Length` = "REDACTED",
`Set-Cookie` = "REDACTED", `Strict-Transport-Security` = "REDACTED"
), class = "httr2_headers"),
body = as.raw(c(
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/statuses/statuses-b4ea5e.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ structure(list(
`Content-Type` = "application/problem+json", Server = "REDACTED",
`X-Powered-By` = "REDACTED", `Access-Control-Allow-Origin` = "REDACTED",
`WWW-Authenticate` = "REDACTED", `X-Powered-By` = "REDACTED",
`X-Robots-Tag` = "REDACTED", Date = "REDACTED", `Content-Length` = "REDACTED",
`X-Robots-Tag` = "REDACTED", Date = "REDACTED",
`Content-Length` = "REDACTED",
`Set-Cookie` = "REDACTED", `Strict-Transport-Security` = "REDACTED"
), class = "httr2_headers"),
body = as.raw(c(
Expand Down

0 comments on commit 60e5ee7

Please sign in to comment.