Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v6

- uses: ./.github/workflows/install
- uses: api2r/actions/install@v1
with:
use-container: "${{ matrix.config.container != '' }}"
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v6

- uses: ./.github/workflows/install
- uses: api2r/actions/install@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
cache-version: copilot
Expand All @@ -41,9 +41,11 @@ jobs:
any::rcmdcheck
any::rlang
any::roxygen2
any::stbl
any::testthat
any::usethis
any::withr
Gilead-BioStats/qcthat
local::.

- name: Install air
Expand Down
118 changes: 0 additions & 118 deletions .github/workflows/install/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/pkgdown-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout gh-pages branch
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: ${{ github.repository }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
steps:
- uses: actions/checkout@v6

- uses: ./.github/workflows/install
- uses: api2r/actions/install@v1
with:
use-container: "true"
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-commands.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- uses: ./.github/workflows/install
- uses: api2r/actions/install@v1
with:
use-container: "true"
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qcthat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
steps:
- uses: actions/checkout@v6

- uses: ./.github/workflows/install
- uses: api2r/actions/install@v1
with:
use-container: "true"
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v6

- uses: ./.github/workflows/install
- uses: api2r/actions/install@v1
with:
use-container: "true"
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
9 changes: 4 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ BugReports: https://github.com/api2r/nectar/issues
Depends:
R (>= 4.1.0)
Imports:
cli,
curl,
fs,
glue,
Expand All @@ -27,19 +26,19 @@ Imports:
stringr,
vctrs
Suggests:
astgrepr,
covr,
knitr,
rmarkdown,
stringi,
testthat (>= 3.0.0),
tibble,
tibblify
VignetteBuilder: knitr
VignetteBuilder:
knitr
Remotes:
wranglezone/tibblify
Config/roxygen2/version: 8.0.0
Config/testthat/edition: 3
Encoding: UTF-8
Language: en-US
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
Roxygen: list(markdown = TRUE)
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export(resp_tidy_json)
export(resp_tidy_unknown)
export(url_normalize)
export(url_path_append)
importFrom(cli,cli_abort)
importFrom(fs,path)
importFrom(httr2,req_perform)
importFrom(httr2,req_perform_iterative)
Expand Down
4 changes: 3 additions & 1 deletion R/nectar-package.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#' @keywords internal
"_PACKAGE"

# All of these really need to be imported, either so the package is a hard
# dependency for underlying usage, or to make mocking easier in tests.

## usethis namespace: start
#' @importFrom cli cli_abort
#' @importFrom fs path
#' @importFrom httr2 req_perform
#' @importFrom httr2 req_perform_iterative
Expand Down
1 change: 0 additions & 1 deletion R/req_policy.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#' export this function, but that may change in the future.
#'
#' @inheritParams .shared-params
#' @param ...
#'
#' @inherit .shared-request return
#' @keywords internal
Expand Down
2 changes: 1 addition & 1 deletion R/resp_tidy.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#' httr2::resp_body_json
#' )
#' # In practice, the request is attached automatically when the response is
#' # fetched with req_perform() or req_perform_opinionated().
#' # fetched with httr2::req_perform() or req_perform_opinionated().
#' resp$request <- req
#' resp_tidy(resp)
resp_tidy <- function(resps) {
Expand Down
2 changes: 1 addition & 1 deletion man/do_if_fn_defined.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/dot-do_if_args_defined.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/dot-get_pkg_version.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/dot-lib_user_agent_append.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/dot-lib_user_agent_string.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/dot-nectar_abort.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/dot-nectar_user_agent_append.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/dot-pkg_user_agent_append.Rd

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

6 changes: 3 additions & 3 deletions man/dot-req_body_auto.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/dot-req_method_apply.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/dot-req_path_append.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/dot-req_policy.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/dot-req_query_flatten.Rd

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

Loading
Loading