[Rd] structure(<primitive function>, ...) is sticky: a bug, or should it be an error?
Martin Maechler
m@ech|er @end|ng |rom @t@t@m@th@ethz@ch
Fri Mar 21 16:55:44 CET 2025
>>>>> Martin Maechler
>>>>> on Fri, 21 Mar 2025 14:49:16 +0100 writes:
>>>>> Henrik Bengtsson
>>>>> on Thu, 20 Mar 2025 11:55:05 -0700 writes:
>>> I'm pretty convinced we should fix it by checking for
>>> primitive functions inside the C code of `attributes<-` :
>>> arguably the bug is really there, rather than in
>>> structure().
>>>
>>> Patches are welcome (via R's Bugzilla or just here).
>> Thank you Martin. I'll make sure I create a brief BugZilla
>> report on this, and hopefully a follow with a patch later
>> on.
>> One question on urgency or not: Is it too late to get such
>> a change in for the R 4.5.0 release? I suspect so, because
>> it has a potential of breaking existing packages. But if
>> there's a possibility of fixing this in R 4.5.0, I'll make
>> this a top priority. Please let me know.
>> /Henrik
> In such cases, I always go to https://developer.r-project.org/
> and look at the release schedule.
> Important for this Q seems
> * Friday 2025-03-14: GRAND-FEATURE FREEZE (4.5.0 alpha)
> * Friday 2025-03-28: FEATURE FREEZE (4.5.0 beta)
> * Friday 2025-04-04: CODE FREEZE (4.5.0 RC)
> So, yes there's a possibility ... but as you mentioned, too,
> it depends quite a bit on if the fix is easily affectiong useR
> and CRAN/Bioc package space.
> Martin
As a matter of fact, I'm testing already a simple patch I wrote
myself.
So, sorry, but I must renounce the above "Patches are welcome".
Martin
More information about the R-devel
mailing list