[Rd] Documenting S4 classes; debugging them
Roger D. Peng
rpeng at stat.ucla.edu
Fri May 23 13:35:26 MEST 2003
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 at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
>
>
More information about the R-devel
mailing list