remotes icon indicating copy to clipboard operation
remotes copied to clipboard

devtools::install_bitbucket rate limited

Open bjornol opened this issue 6 years ago • 3 comments

Hi

During deploy and build of docker container im trying to install some private packages from bitbucket.

devtools::install_bitbucket("dummy/url", auth_user="user", password="password") Im then getting rate limit error from github. Rate limit remaining: 0/60 Rate limit reset at: 2019-09-18 13:13:15 UTC To increase your GitHub API rate limit

  • Use usethis::browse_github_pat() to create a Personal Access Token.
  • Use usethis::edit_r_environ() and add the token as GITHUB_PAT.

How is that possible when im trying to install from butbucket?

bjornol avatar Sep 19 '19 10:09 bjornol

Does the bitbucket repo perhaps depend on a GitHub package (in the Remotes field?)

jimhester avatar Sep 20 '19 19:09 jimhester

I cant find any remotes fields in my package. This is what I have in my DESCRIPTION.

Depends: R (>= 3.4.2) Imports: redux, jsonlite, htmltools, digest, plotly, shiny, htmlwidgets, promises Does the DESCRIPTION import download from github and not cran?

Or are there other places I should look.

bjornol avatar Sep 23 '19 11:09 bjornol

I happen to have the same issue while also building a docker container but using install_local()

remotes::install_local("/workdir")
Error: Failed to install 'package' from local:
  HTTP error 403.                                                      
  API rate limit exceeded for IP. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

  Rate limit remaining: 0/60
  Rate limit reset at: 2019-11-28 09:52:21 UTC

To my knowledge, I also don't have anything special in my DESCRIPTION (no Remotes field for instance).

jerome-laurent-pro avatar Nov 28 '19 09:11 jerome-laurent-pro