From rpeng at stat.ucla.edu  Fri May 23 13:35:26 2003
From: rpeng at stat.ucla.edu (Roger D. Peng)
Date: Fri May 23 21:35:35 2003
Subject: [Rd] Documenting S4 classes; debugging them
In-Reply-To: <ffoscvkcht69hhsnkhr1t8ci28psb2p10n@4ax.com>
References: <ffoscvkcht69hhsnkhr1t8ci28psb2p10n@4ax.com>
Message-ID: <3ECE77FE.8080100@stat.ucla.edu>

I was a little stumped with documenting S4 classes too when writing the 
`gpclib' package.  There are the promptClass() and promptMethods() which 
provide a bare-bones Rd file for a particular class.

-roger

Duncan Murdoch wrote:
> 1.  I'm putting together my first package that uses S4 classes and
> objects.  I'd like to document them, but I'm not sure what the
> documentation should look like, and package.skeleton doesn't produce
> any at all for the classes or methods.
> 
> Are there any good examples to follow?
> 
> 2.  How do I do the equivalent of debug(foo), when foo is an anonymous
> function being used as a method?  
> 
> Duncan Murdoch
> 
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
> 
>


[Rd] Documenting S4 classes; debugging them
Roger D. Peng