Hi All, 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 * 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 See the information on DESCRIPTION files in the chapter 'Creating R packages' of the 'Writing R Extensions' manual. My DESCRIPTION file looks like this Package: myPackage2 Type: Package Title: myPackage2 Version: 1.0 Date: 2010-02-02 Author: RB Maintainer: <r...@xyz.com> Description: myPackage2 Depends: myPackage1 License: What license is it under? LazyLoad: yes I have also checked .libPaths() and it has the right path to find myPackage1 in my local R library. Any suggestions? Thanks, Reena [[alternative HTML version deleted]] ______________________________________________ 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.