Skip to content

Commit

Permalink
Add example for rl_use_iucn
Browse files Browse the repository at this point in the history
  • Loading branch information
willgearty committed Oct 4, 2024
1 parent 4a49cdc commit 4fd9277
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/rl_key.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
#' @export
#' @return Invisibly returns the sign-up URL for the IUCN Red List API.
#' @importFrom utils browseURL
#' @examples \dontrun{
#' # Sign up for an API key
#' rl_use_iucn()
#' }
rl_use_iucn <- function() {
if (interactive()) {
browseURL("https://api.iucnredlist.org/users/sign_up")
Expand Down
6 changes: 6 additions & 0 deletions man/rl_use_iucn.Rd

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

0 comments on commit 4fd9277

Please sign in to comment.