From h.wickham at gmail.com  Wed Aug 27 23:24:37 2014
From: h.wickham at gmail.com (Hadley Wickham)
Date: Wed, 27 Aug 2014 16:24:37 -0500
Subject: [Rd] Re R CMD check checking in development version of R
In-Reply-To: <CAAHES9xbHJLUbzLzS7C2tTaODv=d_JV5ds09ZFdA6Bv+uBSYEA@mail.gmail.com>
References: <CAAHES9xbHJLUbzLzS7C2tTaODv=d_JV5ds09ZFdA6Bv+uBSYEA@mail.gmail.com>
Message-ID: <CABdHhvG7ahtFhBOCRU9X2KRR2Z30S1gE_F66m0W=91wpkbvyOA@mail.gmail.com>

> Is that the cause of these NOTEs? Is the expectation that if I am using a
> function from a package, even a package that I have in Depends:, that I
> have to explicitly declare these imports in NAMESPACE?

Yes.

(Otherwise your package won't work if it's only attached and not
loaded. i.e. if someone does analogue::foo() only the imported
functions are available, not the functions in packages you depend on)

(And really you shouldn't have any packages in depends, they should
all be in imports)

Hadley


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



[Rd] Re R CMD check checking in development version of R
Hadley Wickham