Hi Knut, 

The code will contain library or require statements, which
do not belong there, but need to replaced by specifying the
dependencies on these packages in the DESCRIPTION file 
(Depends / Imports field). For imports you also need to 
make sure the NAMESPACE file contains the intended statements.

See

http://cran.r-project.org/doc/manuals/R-exts.html#Package-Dependencies

Best,
Tobias

----- Original Message -----
> From: "Knut Krueger" <r...@knut-krueger.de>
> To: "R Devel List" <r-devel@r-project.org>
> Sent: Thursday, May 8, 2014 8:15:03 AM
> Subject: [Rd] checking dependencies in R code ... WARNING
> 
> I am trying to update an unsupported package and got the warning:
> 
> * checking dependencies in R code ... WARNING
> 'library' or 'require' calls not declared from: 'Hmisc' 'R2HTML' 'tcltk'
> Missing or unexported object: 'utils::.win32consoleCompletion'
> See the information on DESCRIPTION files in the chapter 'Creating R
> packages' of the 'Writing R Extensions' manual.
> 
> 
> Is it only an error in the description file or in the code?
> 
> Regards Knut
> 
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to