[Rd] RStartup.h: invalid parameter name: 'new' is a keyword

Peter Dalgaard pd@|gd @end|ng |rom gm@||@com
Wed Apr 8 11:27:47 CEST 2026


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 using 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 using 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 using cbs.dk  Priv: PDalgd using gmail.com



More information about the R-devel mailing list