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 <ikwsi...@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 <jeroeno...@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@r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> >
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to