[Roxygen-devel] S4 documentation

Hadley Wickham hadley at rice.edu
Mon Jan 2 16:15:50 CET 2012


> To add on to this a little bit, there needs to be convenient support for
> generating NAMESPACE imports.
>
> If a class is included in a method signature, or is passed in "contains" to
> setClass(), and it is not defined within the package, Roxygen should search
> the dependent packages for a class of the same name and generate an
> importClassesFrom() directive. User should be able to override, just in case
> it picks the wrong package.
>
> When a method is defined for a generic not defined in the package, search
> the dependencies and importFrom() it.

Filed at https://github.com/klutometis/roxygen/issues/68 so I don't
forget about it.

Hadley

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


More information about the Roxygen-devel mailing list