[Rd] Documenting S4 classes; debugging them

Roger D. Peng
Fri, 23 May 2003 21:35:35 -0000

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