[Rd] checking dependencies in R code ... WARNING

Tobias Verbeke tobias.verbeke at openanalytics.eu
Thu May 8 08:35:49 CEST 2014


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" <rh at knut-krueger.de>
> To: "R Devel List" <r-devel at 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 at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



More information about the R-devel mailing list