This was already addressed in the current version of R (2.7.0 alpha).
You probably also want to look at how package.skeleton() handles S4
objects in that version of R.
Please read up on what the FAQ asks you to do before submitting a bug, and
in particular it says
Third, if possible try the
Full_Name: Christophe Genolini
Version: 2.6.2
OS: Windows XP
Submission from: (NULL) (82.225.59.146)
*This is a mail that I post on r-help: *
It seems that the dumpMethod does not work.
setClass(A,representation(a=numeric))
setMethod(plot,A,function(x,y,...){cat(A\n)})