Skip to content

Commit

Permalink
PAT scope clarification (#657)
Browse files Browse the repository at this point in the history
* clarify necessary scope for gitlab PAT

* clarify necessary scope for github PAT

* make URL clickable
  • Loading branch information
jesse-ross authored Oct 14, 2021
1 parent 011d5cf commit c9aec1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion R/install-github.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
#' for more details.
#' @param subdir Subdirectory within repo that contains the R package.
#' @param auth_token To install from a private repo, generate a personal
#' access token (PAT) in "https://github.com/settings/tokens" and
#' access token (PAT) with at least repo scope in
#' \url{https://github.com/settings/tokens} and
#' supply to this argument. This is safer than using a password because
#' you can easily delete a PAT without affecting any others. Defaults to
#' the `GITHUB_PAT` environment variable.
Expand Down
3 changes: 2 additions & 1 deletion R/install-gitlab.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
#' \link{install_gitlab} may work without, omitting it generally
#' leads to package restoration errors.
#' @param auth_token To install from a private repo, generate a personal access
#' token (PAT) in \url{https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html} and
#' token (PAT) with at least read_api scope in
#' \url{https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html} and
#' supply to this argument. This is safer than using a password because you
#' can easily delete a PAT without affecting any others. Defaults to the
#' GITLAB_PAT environment variable.
Expand Down

0 comments on commit c9aec1e

Please sign in to comment.