Displaying 1 result from an estimated 1 matches for "ascoercemethod".
2007 Apr 15
0
as() creates invalid entries in methods list?
...;- ext at test
asMethod <- .makeAsMethod(ext at coerce, ext at simple, Class, Clas
canCache <- (!is(test, "function")) || identical(body(test),
- if(canCache) { # make into method definition
- asMethod <- .asCoerceMethod(asMethod, sig, FALSE)
- }
}
}
if(is.null(asMethod) && extends(Class, thisClass)) {
@@ -54,6 +51,10 @@ as <-
fdef = coerceFun, mlist =
coerceMeth...