PS: I've committed a workaround that seems to fix the symptoms ( rev.
47020/1 for 2.9.0 and 2.8-patched), but it would be good to fix the real
problem.
John Chambers wrote:
> There were a bunch of red herrings in your example, but the end result
> is at least as weird.
>
> Near as I can figure
There were a bunch of red herrings in your example, but the end result
is at least as weird.
Near as I can figure, it's a bug in the evaluator when assigning a local
function call object that is then modified. I'll look a bit at the
code, but someone more expert in the innards of the evaluator
As an extra curiosity, courtesy of Herve, selectMethod() does not seem to be
confused:
> rbind(1)
Error in .Method(..., na.last = na.last, decreasing = decreasing,
deparse.level = deparse.level) :
object "na.last" not found
> foo <- selectMethod("rbind", "numeric")
> foo
Method Definition (Class
There seems to be a bug arising when using multiple S4 generics with "..."
as the signature.
The following code works as expected:
##
> setGeneric("rbind", function(..., deparse.level=1)
standardGeneric("rbind"),
+signature