search for: cancache

Displaying 1 result from an estimated 1 matches for "cancache".

Did you mean: can_cache
2007 Apr 15
0
as() creates invalid entries in methods list?
...to trigger subtle bugs in the methods package. + seth --- a/src/library/methods/R/as.R +++ b/src/library/methods/R/as.R @@ -37,9 +37,6 @@ as <- test <- 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) &&...