[R] generic/method consistency

Warnes, Gregory R gregory_r_warnes at groton.pfizer.com
Fri Dec 19 18:35:09 CET 2003


Add '...' to the argument list of your methods.  

-G

> -----Original Message-----
> From: Matt Pocernich [mailto:pocernic at rap.ucar.edu]
> Sent: Friday, December 19, 2003 12:18 PM
> To: r-help at stat.math.ethz.ch
> Subject: generic/method consistency
> 
> 
> Hi,
> 
> I realize the answer is very likely in the section Generic 
> functions and
> methods  (or Adding new generics), but I'm not clear what to 
> do with the
> following.  Running R CMD check, I get the following warnings for my
> generic functions.  Does this mean I need the argument
> 
> * checking generic/method consistency ... WARNING
> 
> leps:
>   function(x, ...)
> leps.default:
>   function(x, pred, titl, plot)
> 
> reliability.plot:
>   function(x, ...)
> reliability.plot.default:
>   function(x, obar.i, prob.y, titl, mod.names)
> 
> summary:
>   function(object, ...)
> summary.prob.bin:
>   function(object)
> 
> 
> 
> Matt Pocernich
> NCAR - Research Applications Program
> 303-497-8312
> 
> 


LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}




More information about the R-help mailing list