[Roxygen-devel] DESCRIPTION file generation + roxygen() error + multiple keywords
Hadley Wickham
hadley at rice.edu
Sat Oct 2 00:18:25 CEST 2010
>>> 2. I get an error saying roxygen() is not found when running R CMD
>>> check after roxygenize(). Should we always specify that our package
>>> depends on roxygen in order for it to pass this? roxygen() is in the
>>> .R file after running package.skeleton() and roxygenize().
>>
>> You could also change roxygen() by NULL at the end of the file. This
>> should fix your issue, but I don't know what the error you describe
>> means and why it is returned. Anyway, there shouldn't be any
>> requirement to specify roxygen as a dependency.
>
> In the example above, roxgen() is called after the packagename-package
> chunk (that updates packagename-package.Rd) after running
> roxygenize(). When we run R CMD check on the package directory, I get
> an error that roxygen() is not found -- because the roxygen library is
> not loaded.
>
> Are you suggesting I use NULL instead of roxygen() after the
> packagename-package chunk? Or should I set the DESCRIPTION file to
> depend or require the roxygen package.
Use NULL instead of roxygen(). You don't need to add a run-time
dependency to the roxygen package.
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
More information about the Roxygen-devel
mailing list