[R-SIG-Mac] contrib.url(type = 'mac.binary')
peter dalgaard
pd@|gd @end|ng |rom gm@||@com
Mon Nov 11 17:55:45 CET 2024
That seems unlikely. The default installs usually work automatically and get binaries from the right place. Jeroon's issue is mostly if you want to force in a certain set of compiled packages from CRAN and/or that our documentation needs updating.
However, I gather that there was a messup in Rcpp which broke it on 4.4.2, and I would not be surprised if fallout from that would affect the CRAN ecosystem via reverse dependencies for a while. (The actual issue got fixed quite fast, but things may take time to settle.)
- pd
> On 11 Nov 2024, at 17:38 , Clement Kent <clementfkent using gmail.com> wrote:
>
> 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]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes using cbs.dk Priv: PDalgd using gmail.com
More information about the R-SIG-Mac
mailing list