Replies: 1 comment
-
R already parses |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
On Linux
install.packages()
has no default path where it looks for binary packages. Right now we get:I think this is historically because CRAN does not provide binary packages on Linux, but these days they are widely in use through e.g. posit and r-universe.
Hosts of linux binaries have to use a hack where Linux binary packages are served instead of source packages in directory under
src/contrib
and letting users opt-in by setting a particularoptions(HTTPUserAgent)
, which is a bit painful.A more elegant solution would be to generalizing the URL format used on MacOS to other distros. On MacOS this format is used:
I think this format can probably be used for any
os
/distro
/arch
combination, for example:One tricky part is determining the proper distro slug (e.g.
jammy
orcentos8
), I suppose that should be anotheroption()
to derive the full URL.Would be interested to hear opinions from @s-u @kurthornik @kalibera and Uwe.
Beta Was this translation helpful? Give feedback.
All reactions