From Kurt.Hornik at wu-wien.ac.at  Thu Jan 24 23:14:46 2008
From: Kurt.Hornik at wu-wien.ac.at (Kurt Hornik)
Date: Thu, 24 Jan 2008 23:14:46 +0100
Subject: [Rd] Plot definition for custom class
In-Reply-To: <loom.20080124T220204-273@post.gmane.org>
References: <loom.20080124T220204-273@post.gmane.org>
Message-ID: <18329.3542.79917.644749@fangorn.hornik.net>

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



[Rd] Plot definition for custom class
Kurt Hornik