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

Error: Failed to install 'unknown package' from GitHub: cannot open URL #784

Open
openSourcerer9000 opened this issue Feb 28, 2024 · 1 comment

Comments

@openSourcerer9000
Copy link

Installing a package, it says cannot open URL. The URL is perfectly valid; Can paste it into chrome and it returns a JSON.

install.packages("remotes")
remotes::install_github("rjaneUCF/MultiHazard")
Error in install.packages : Updating loaded packages
Error: Failed to install 'unknown package' from GitHub:
  cannot open URL 'https://api.github.com/repos/rjaneUCF/MultiHazard/contents/DESCRIPTION?ref=HEAD'
@gaborcsardi
Copy link
Member

gaborcsardi commented Feb 28, 2024

GitHub has a rate limit, you need your own github personal access token to get around it. And/or use https://github.com/r-lib/pak instead of remotes.

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

No branches or pull requests

2 participants