[Rd] Plot definition for custom class

Johannes Graumann johannes_graumann at web.de
Thu Jan 24 23:47:03 CET 2008


Kurt Hornik <Kurt.Hornik <at> wu-wien.ac.at> writes:

> 
> >>>>> Johannes Graumann writes:
> 
> > Hi,
> > Is there any way to trick R CMD check into not throwing this error after I
> > created a dedicated "plot" incarnation for my custom function?
> 
> > * checking S3 generic/method consistency ... WARNING
> > plot:
> >   function(x, ...)
> > plot.MQUSpecMatch:
> >   function(x, mozlabel, labelcex)
> 
> Yes (even though it is a warning and not an error): add the ... args to
> the method.
Warning get obnoxious in a big project (by my humble standars) ...
Thanks - works like a charm.

Joh



More information about the R-devel mailing list