r-lib / remotes

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

Make sysreq resolves more robust #673

Open jeroen opened 2 years ago

jeroen commented 2 years ago

Remotes should check the http status code of the sysreq api instead of trying to parse the html error page as json, and give an informative error:

Screen Shot 2021-12-02 at 3 50 52 PM

Maybe it should just give a warning "Warning: sysreq api down" but still try to proceed?