[Rd] Depending/Importing data only packages

Paul Gilbert pgilbert902 at gmail.com
Sat Dec 7 17:51:44 CET 2013


Would "Suggests" not work in this situation? I don't understand why you 
would need Depends. In what sense do you rely on the data only package?

Paul

On 13-12-06 04:20 PM, Hadley Wickham wrote:
> Hi all,
>
> What should you do when you rely on a data only package. If you just
> "Depend" on it, you get the following from R CMD check:
>
> Package in Depends field not imported from: 'hflights'
>    These packages needs to imported from for the case when
>    this namespace is loaded but not attached.
>
> But there's nothing in the namespace to import, so adding it to
> imports doesn't seem like the right answer.  Is that just a spurious
> note?
>
> Hadley
>



More information about the R-devel mailing list