[Roxygen-devel] Roxygen & S4

Hadley Wickham hadley at rice.edu
Mon Feb 20 20:05:56 CET 2012


> Is there an update "gold reference" for how we'd document S4 classes
> (setClass) and method definitions? (setGeneric vs. setMethod)?
>
> Are the hints found here still the right way to go, more or less?:
>
> http://stackoverflow.com/questions/4396768/how-to-properly-document-s4-and-methods-using-roxygen

Yes, that's ok, but you shouldn't need to manually set the rdname
(it's a bug if you do), and @slot isn't supported yet.  I'll try and
add that before we release the next version.

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/


More information about the Roxygen-devel mailing list