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
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.