Jeroen Ooms
2026-Apr-08 09:18 UTC
[Rd] RStartup.h: invalid parameter name: 'new' is a keyword
The latest r-devel / r-alpha includes a new definition: SA_TYPE R_SetSaveAction(SA_TYPE new); But on Mac we see that packages that include the header now get: R_ext/RStartup.h:162:33: error: invalid parameter name: 'new' is a keyword
Peter Dalgaard
2026-Apr-08 09:27 UTC
[Rd] RStartup.h: invalid parameter name: 'new' is a keyword
Do you have an example? (I'd rather not go through all of CRAN to find a package with that #include...) -pd> On 8 Apr 2026, at 11.18, Jeroen Ooms <jeroenooms at gmail.com> wrote: > > The latest r-devel / r-alpha includes a new definition: > > SA_TYPE R_SetSaveAction(SA_TYPE new); > > But on Mac we see that packages that include the header now get: > > R_ext/RStartup.h:162:33: error: invalid parameter name: 'new' is a keyword > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel-- 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 at cbs.dk Priv: PDalgd at gmail.com