From tobias.verbeke at openanalytics.eu  Thu May  8 08:35:49 2014
From: tobias.verbeke at openanalytics.eu (Tobias Verbeke)
Date: Thu, 8 May 2014 08:35:49 +0200 (CEST)
Subject: [Rd] checking dependencies in R code ... WARNING
In-Reply-To: <536B20E7.3080103@knut-krueger.de>
References: <536B20E7.3080103@knut-krueger.de>
Message-ID: <1877523548.47233.1399530949612.JavaMail.zimbra@openanalytics.eu>

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
>



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