thackl / gggenomes

A grammar of graphics for comparative genomics
https://thackl.github.io/gggenomes/
Other
579 stars 64 forks source link

install error #105

Closed zhaoxvwahaha closed 2 years ago

zhaoxvwahaha commented 2 years ago

Hi, any help with the following error will be appreciated:

devtools::install_github("thackl/thacklr") WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools 4.0 from https://cran.r-project.org/bin/windows/Rtools/. Error: Failed to install 'unknown package' from GitHub: HTTP error 403. API rate limit exceeded for 183.239.175.36. (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: 2022-01-06 02:39:51 UTC

To increase your GitHub API rate limit

sessionInfo() R version 4.1.2 (2021-11-01) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19042)

zhaoxvwahaha commented 2 years ago

@thackl Then I try again, the error are different, could you give some advice?

devtools::install_github("thackl/thacklr") WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools 4.0 from https://cran.r-project.org/bin/windows/Rtools/. Error: Failed to install 'unknown package' from GitHub: Timeout was reached: [api.github.com] Connection timed out after 10007 milliseconds

devtools::install_github("thackl/gggenomes") WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools 4.0 from https://cran.r-project.org/bin/windows/Rtools/. Error: Failed to install 'gggenomes' from GitHub: Timeout was reached: [api.github.com] Connection timed out after 10003 milliseconds

zhaoxvwahaha commented 2 years ago

I downloaded and installed locally, and it works.

iimog commented 2 years ago

Great, that it works now. Anyway, the main cause of your previous error messages seems to be a missing package (Rtools). So in order to make devtools::install_github work you need to follow these instructions to install Rtools: https://cran.r-project.org/bin/windows/Rtools/rtools40.html