Hi,
I can't figure it out. Tried many ways to install markerGeneProfile from github.
The code I use is:
system("defaults write org.R-project.R force.LANG en_US.UTF-8")
install.packages('rlang')
# Install devtools and use it to install markerGeneProfile
install.packages('devtools')
install.packages('usethis')
library('usethis')
library('devtools')
devtools::install_github('PavlidisLab/markerGeneProfile')
#or
devtools::install_github('oganm/markerGeneProfile')
#or
install.packages("remotes")
library('remotes')
remotes::install_github('oganm/markerGeneProfile')
But either way gives:
Error: Failed to install 'unknown package' from GitHub:
HTTP error 403.
API rate limit exceeded for 213.127.120.38.
The first few replies in this github r-liv issue discussion might shed some light.
Firstly, it suggests a traceback()
might have additional information that could help.
Jim Hester there also suggests creating a GitHub PAT, so your requests are authenticated, which has a higher rate limit.
opened 03:00PM - 16 Oct 18 UTC
closed 08:04PM - 19 Oct 18 UTC
For version 2.0.0 `remotes::install_github` I am running into the following erro… r versus the `devtools::install_github` which has no such error.
## remotes installing github package
```
> remotes::install_github('trinker/clustext')
Downloading GitHub repo trinker/clustext@master
Error: HTTP error 403.
API rate limit exceeded for 151.181.86.126. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Rate limit remaining: 0
Rate limit reset at: 2018-10-16 15:23:35 UTC
```
## devtools installing github package: no problems
````
> devtools::install_github('trinker/clustext')
Downloading GitHub repo trinker/clustext@master
from URL https://api.github.com/repos/trinker/clustext/zipball/master
Installing clustext
Installing 1 package: dynamicTreeCut
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/dynamicTreeCut_1.63-1.zip'
Content type 'application/zip' length 91925 bytes (89 KB)
downloaded 89 KB
package ‘dynamicTreeCut’ succ....[truncated but everything enstalled correctly].............
```
1 Like
system
Closed
April 7, 2020, 3:56pm
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.