[Roxygen-devel] Usage for S4 classes

Hadley Wickham h.wickham at gmail.com
Thu Sep 13 12:53:03 CEST 2012


> I'd personally prefer that if there is such functionality, it is disabled by
> default, since we tend to like to hide new(). Since overriding initialize is
> problematic, using new() would expose the slots, which are normally
> considered implementation details. Others may differ.

Ah ok, so slots should generally be considered private unless
documentation is explicitly requested for them.

Hadley

-- 
RStudio / Rice University
http://had.co.nz/


More information about the Roxygen-devel mailing list