R's UseMethod() does not dispatch on changed class() (PR#167)

Paul Gilbert pgilbert@bank-banque-canada.ca
Thu, 15 Apr 1999 10:25:07 -0400

> To make matters worse, in S it is a common mistake to have
> foo <- function(x, ...) UseMethod("foo")
> foo.lm <- function(y, ...) { .... }

I've tried very hard not to do this, but it sure would be nice to have a good
automatic way to check it. Any suggestions?

Paul Gilbert

r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch