Skip to content

Commit

Permalink
Use .limit to make example output less overwhelming
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Jul 2, 2021
1 parent 9b3322a commit c4e6671
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions R/gh.R
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@
#' [gh_whoami()] for details on GitHub API token management.
#' @examplesIf identical(Sys.getenv("IN_PKGDOWN"), "true")
#' ## Repositories of a user, these are equivalent
#' gh("/users/hadley/repos")
#' gh("/users/{username}/repos", username = "hadley")
#' gh("/users/hadley/repos", .limit = 2)
#' gh("/users/{username}/repos", username = "hadley", .limit = 2)
#'
#' ## Starred repositories of a user
#' gh("/users/hadley/starred")
#' gh("/users/{username}/starred", username = "hadley")
#' gh("/users/hadley/starred", .limit = 2)
#' gh("/users/{username}/starred", username = "hadley", .limit = 2)
#'
#' @examplesIf FALSE
#' ## Create a repository, needs a token in GITHUB_PAT (or GITHUB_TOKEN)
Expand Down
8 changes: 4 additions & 4 deletions man/gh.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/gh_whoami.Rd

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

0 comments on commit c4e6671

Please sign in to comment.