ropenscilabs / icepalace

Snapshot Current Versions of CRAN-like Repositories
https://docs.ropensci.org/icepalace
Other
4 stars 0 forks source link

feat: better handle the absence of binaries for a given R version #5

Closed maelle closed 2 years ago

maelle commented 2 years ago

Fix #1

maelle commented 2 years ago

@jeroen would you expect an error or a message, actually?

jeroen commented 2 years ago

Can we support a vector as r_version? R-universe has binaries for both r-release and r-oldrel (4.2 and 4.1 currently) so it would be nice if we can set r_version=c("4.1", "4.2").

If there are no binaries available then there should not be an error, but of course if there are download errors for binaries that should be available, then that should error.

maelle commented 2 years ago

if there are download errors for binaries that should be available, then that should error.

there will be, from httr2. I'm not sure how to test that behaviour :thinking:

jeroen commented 2 years ago

there will be, from httr2. I'm not sure how to test that behaviour 🤔

You can turn off your wifi while downloading :D