From h.wickham at gmail.com  Fri Dec  6 22:20:35 2013
From: h.wickham at gmail.com (Hadley Wickham)
Date: Fri, 6 Dec 2013 15:20:35 -0600
Subject: [Rd] Depending/Importing data only packages
Message-ID: <CABdHhvEXM_Bbr7GXP0nRiURCGfVzcFXOi--9sLUiBe3YrdP-qQ@mail.gmail.com>

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

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



[Rd] Depending/Importing data only packages
Hadley Wickham