r-lib / remotes

Install R packages from GitHub, GitLab, Bitbucket, git, svn repositories, URLs
https://remotes.r-lib.org/
Other
330 stars 152 forks source link

Does remotes list ALL private repos in a GitHub organization? #726

Closed maelle closed 10 months ago

maelle commented 1 year ago

I'm seeing a 404 error with install_github() for a private repository (while pak::pak() works for the same repository). It is an organization with many private repositories.

Could it be that there's an issue related to GitHub API paging?

Cc @yabellini

gaborcsardi commented 1 year ago

I don't think remotes list repositories, I would be very surprised if it did.

My guess is that pak uses the credentials from the git credential store, and remotes does not.

maelle commented 1 year ago

oooh this makes sense, thanks and sorry.