[R-SIG-Mac] contrib.url(type = 'mac.binary')

Clement Kent c|ement|kent @end|ng |rom gm@||@com
Mon Nov 11 17:38:57 CET 2024


Thanks, Iris. I upgraded to 4.4.2 on my Monterey M1 Pro yesterday and had a
number of mysterious problems reinstalling packages. I wonder if this is
related to Jeroen's report?

On Mon, Nov 11, 2024 at 10:26 AM Iris Simmons <ikwsimmo using gmail.com> wrote:

> 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]]
>
> _______________________________________________
> 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