[Roxygen-devel] Use of roxygen() in example

Hadley Wickham hadley at rice.edu
Wed Jun 24 00:53:22 CEST 2009


On Tue, Jun 23, 2009 at 5:44 PM, Peter Danenberg<pcd at roxygen.org> wrote:
>> Would it be possible to change the examples (e.g. in the vignette
>> and manual) to use NULL instead?
>
> It should be; if you notice, the first vignette example uses NA. We
> only special-case roxygen() to avoid warning the user when the
> expression doesn't appear to contain a name.
>
> Would NULL be more appropriate than, say, NA?

It feels like it is to me, but I couldn't give you any concrete reason why.

Hadley

-- 
http://had.co.nz/


More information about the Roxygen-devel mailing list