Displaying 1 result from an estimated 1 matches for "r_nextmethodcall".
2007 Dec 24
0
callNextMethod() with builtin group methods fails to create proper environment
...1, e2) {
callNextMethod() })
[1] "Compare"
> f1 = new("Foo")
> f1 == f1
Error in get(fname, envir = envir) : variable ".nextMethod" was not
found
7: get(fname, envir = envir)
6: callGeneric(e1 at .Data, e2 at .Data)
5: .nextMethod(e1 = e1, e2 = e2)
4: .Call("R_nextMethodCall", call, callEnv, PACKAGE = "methods")
3: callNextMethod()
2: f1 == f1
1: f1 == f1
It appears that the issue occurs because the particular set of branches
through the logic of callNextMethod() which result because the next
method, which happens to be:
> selectMethod("Compare...