Skip to content
Prev 9996 / 21312 Next

[Bioc-devel] Fwd: Question about a package submission

Since no one else took the bait, I'll try to answer...
On 10/25/2016 06:57 PM, Ioannis Vardaxis wrote:
plot is already an S3 generic (from graphics) and an S4 generic (from 
stats4) so it is a mistake to redefine it. Whatever the documentation 
issues this part should be removed.
Or ?"plot<tab>" completing to ?plot.class1. But this is the way the help 
system works -- you're looking for help not on the generic, but on the 
method. I believe that you _could_ define @aliases plot, and 
?MyPkg::plot would take you to the correct help page. But then ?plot 
would prompt the user to choose between your (method) documentation and 
base R (generic) documentation. This doesn't seem to be a good idea.

One possibility is to avoid the 'plot' generic anyway and use something 
more discriptive for how your object is being displayed, perhaps 
justifying with the notion that the representation produced by your plot 
differs from the representation described in ?plot.

Martin
This email message may contain legally privileged and/or...{{dropped:2}}