Plot definition for custom class
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