[Roxygen-devel] S3, S4 classes

Peter Danenberg pcd at wikitex.org
Fri May 30 16:58:05 CEST 2008


Manuel and I discussed today that Roxygen should recognize the S4
class-API (setClass, setGeneric, setMethod, ...) as peculiar atoms and
descend thereinto to extract information.

S3 classes, on the other hand, being arbitrary objects with the
`class' attribute, would require a side-effect-aware interpreter and
should only be imperfectly supported.

One could imagine a Roxygen block, however, that manually specifies S3
properties; using the convention `method.S3class', moreover, the
existence of S3 classes can be divined with undivinable contents.


More information about the Roxygen-devel mailing list