Re: [R] missing() fails to detect missing

2024-04-17 Thread Jeff Newmiller via R-help
Fascinating. Or, well, not. Failing to use a method signature that is compatible with the generic is a no-no. So your bug seems to me to be outside the bounds of how R is supposed to be used. So don't do that. On April 17, 2024 4:25:38 PM PDT, "Boylan, Ross via R-help" wrote: >When a generic

[R] missing() fails to detect missing

2024-04-17 Thread Boylan, Ross via R-help
When a generic (S4) has an argument with a default followed by ..., missing() doesn't seem to work if the method omits the ... Sample--- foo <- function(x, y=0, ...){ "you are very generic" } # no ... in function arguments setMethod("foo", signatu