Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object github_pat is not exported from remotes #130

Open
MarkEdmondson1234 opened this issue Mar 1, 2019 · 1 comment
Open

Object github_pat is not exported from remotes #130

MarkEdmondson1234 opened this issue Mar 1, 2019 · 1 comment
Assignees
Labels

Comments

@MarkEdmondson1234
Copy link
Collaborator

Preventing the build at the moment:
r-lib/remotes#306

@MarkEdmondson1234
Copy link
Collaborator Author

Add it yourself like https://github.com/r-lib/usethis/blob/37a774ea989714619f5c6dcfaff0ece248027b56/R/github.R#L290-L295

gh_token <- function() {
  token <- Sys.getenv("GITHUB_PAT", "")
  if (token == "") Sys.getenv("GITHUB_TOKEN", "") else token
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant