[R] Error with R CMD check - Packages required but not available:

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Feb 3 15:54:36 CET 2010



On 02.02.2010 22:52, Reena Bansal wrote:
> Apologies in advance if this is not the right email to post this
> question.
>
> I successfully created my first R package myPackage1.
> Now I want to create another R package myPackage2 which requires
> functions from myPackage1.
>
> However when I try R CMD check myPackage2 I get the following error



Have you set the environment variable R_LIBS to include the library 
which myPackage1 has been installed into previously?

Best,
Uwe Ligges


> * checking for working pdflatex ... OK
> * using log directory '.../myPackage/myPackage2.Rcheck'
> * using R version 2.9.2 (2009-08-24)
> * using session charset: UTF-8
> * checking for file 'myPackage2/DESCRIPTION' ... OK
> * checking extension type ... Package
> * this is package 'myPackage2' version '1.0'
> * checking package dependencies ... ERROR
> Packages required but not available:
>    myPackage1



More information about the R-help mailing list