Skip to content

Commit bb6a48e

Browse files
authored
Convert vignette() to explicit URL links (#803)
Fixes #799
1 parent be68041 commit bb6a48e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291

292292
## OAuth features
293293

294-
* A new `vignette("oauth")` gives many more details about how OAuth works and
294+
* A new [OAuth vignette](https://httr2.r-lib.org/articles/oauth.html) gives many more details about how OAuth works and
295295
how to use it with httr2 (#234), and the OAuth docs have been overhauled to
296296
make it more clear that you should use `req_oauth_*()`, not `oauth_*()` (#330).
297297

vignettes/articles/oauth.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You'll notice none of these common scenarios quite match to using an R package t
2323
OAuth gives you the incredible power to extract data from popular web services, but it's fundamentally designed for a different use case.
2424
This means that while httr2 can make the interactive experience pretty seamless, unattended usage (i.e. on CI or in an automated script) is usually going to include some pain.
2525

26-
This vignette builds on the techniques discussed in `vignette("wrapping-apis")`, so I recommend you read that vignette first.
26+
This vignette builds on the techniques discussed in vignette [Wrapping APIs](https://httr2.r-lib.org/articles/wrapping-apis.html), so I recommend you read that vignette first.
2727
I'll also assume that you're working in a package, since most people want to wrap up an API into a bunch of R functions, but most of the ideas will also apply if you're creating a one-off script.
2828

2929
## OAuth basics

vignettes/httr2.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,4 +200,4 @@ These include:
200200

201201
- `req_retry()` sets up a retry strategy so that if the request either fails or you get a transient HTTP error, it'll automatically retry after a short delay.
202202

203-
For more details see their documentation, as well as examples of the usage in real APIs in `vignette("wrapping-apis")`.
203+
For more details see their documentation, as well as examples of the usage in real APIs in the [Wrapping APIs](https://httr2.r-lib.org/articles/wrapping-apis.html) article.

0 commit comments

Comments
 (0)