On 15/08/2015 2:36 AM, Dean Attali wrote:
> It seems like if a package is declared under the "Imports:" field in
> the DESCRIPTION
> file, and that package is not used in any code in the R directory, then I
> get an error when doing a R CMD CHECK
>
> Namespace in Imports field not imported from:
I'll go with your suggestion to make a dummy function, thanks Dirk
---
http://deanattali.com
On 15 August 2015 at 05:35, Dirk Eddelbuettel wrote:
>
> On 14 August 2015 at 23:36, Dean Attali wrote:
> | Since the Shiny app is an integral part of the package, and the app uses
> the
> | "DT" packag
On 14 August 2015 at 23:36, Dean Attali wrote:
| Since the Shiny app is an integral part of the package, and the app uses the
| "DT" package, I want to place DT under the Imports: field. But then I ran
| into the above error.
The code checkers are heuristics. They cannot get everything right.
I
It seems like if a package is declared under the "Imports:" field in
the DESCRIPTION
file, and that package is not used in any code in the R directory, then I
get an error when doing a R CMD CHECK
Namespace in Imports field not imported from: 'DT'
>All declared Imports should be used.
It c