[R-SIG-Mac] contrib.url(type = 'mac.binary')
Iris Simmons
|kw@|mmo @end|ng |rom gm@||@com
Mon Nov 11 15:49:19 CET 2024
I think you can use .Platform$pkgType to get the string with the
appropriate suffix.
On Mon, Nov 11, 2024, 09:38 Jeroen Ooms <jeroenooms using gmail.com> wrote:
> The R-admin manual section 6.6 talks about "mac.binary" to refer to
> macos binary packages but I don't think this is working. On R-4.4.2:
>
> contrib.url(repos = 'https://cran.r-project.org', type = 'mac.binary')
> # "https://cran.r-project.org/bin/macosx/contrib/4.4"
>
> This URL is 404 because it is missing the /big-sur-arm64/ dir in the
> path. For the same reason we get an error:
>
> install.packages('MASS', type = 'mac.binary')
>
> I think in practice only type = "both" currently finds the correct
> binary packages?
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
[[alternative HTML version deleted]]
More information about the R-SIG-Mac
mailing list