[Rd] Plot definition for custom class

Kurt Hornik Kurt.Hornik at wu-wien.ac.at
Thu Jan 24 23:14:46 CET 2008


>>>>> 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.

-k

> Thanks again, Joh

> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list