I've wanted to use specials to detect random effect terms as in ~(f | g), but
non-syntactic function names (in this case, '|') are currently not supported.
I proposed a patch some time ago:
https://bugs.r-project.org/show_bug.cgi?id=18568
I wonder if some of these issues with '::' could be s
> 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().
>>
>> Patc
> 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
Some small points to add on this discussion:
> After investigating the source of table, I ended up on the reason being
> “as.character()”:
This is specifically happening within the conversion of the input to type
factor, which is where the as.character conversion happens.
# Timing is all on
Warnings are not "reviving themselves magically". Try resizing the
window a few times and hitting return in the REPL. That should give
you a hint on what is going on.
Best,
luke
On Fri, 21 Mar 2025, Henrik Bengtsson wrote:
What's going on here?
$ R --vanilla --quiet
plot.new(); suppressWarn
Às 05:51 de 21/03/2025, Henrik Bengtsson escreveu:
What's going on here?
$ R --vanilla --quiet
plot.new(); suppressWarnings({ points(0, 0, foo = TRUE) })
NULL
NULL
Warning messages:
1: "foo" is not a graphical parameter
2: "foo" is not a graphical parameter
Note how the warnings are revived i