The following is log of R CMD check package
error:
* using log directory 'C:/Users/erdogan/Documents/Revolution/causfinder.Rcheck'
* using R version 2.15.3 (2013-03-01)
* using platform: i386-w64-mingw32 (32-bit)
* using session charset: CP1254
* checking for file 'causfinder/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'causfinder' version '1.0'
* checking package namespace information ... OK
* checking package dependencies ... ERROR
Packages required but not available:
'combinat' 'gtools' 'calibrate' 'scales'
See the information on DESCRIPTION files in the chapter 'Creating R packages' of the 'Writing R Extensions' manual.
In my description file, I have all the required files ('combinat' 'gtools' 'calibrate' 'scales') under "Depends:" heading.
What I did till now: I added the above packages under "Suggests:" as well.
Though that the error is sticky.
>.libPaths()
[1] "C:/Revolution/R-Enterprise-7.1/R-3.0.2/library"
I checked both within and outside R:
> devtools::check("C:/Revolution/R-Enterprise-7.1/R-3.0.2/library/causfinder")
From Command Prompt (Windows 7):
C:\Users\erdogan\Documents\Revolution>R CMD check causfinder
* using log directory 'C:/Users/erdogan/Documents/Revolution/causfinder.Rcheck'
* using R version 2.15.3 (2013-03-01)
* using platform: i386-w64-mingw32 (32-bit)
* using session charset: CP1254
* checking for file 'causfinder/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'causfinder' version '1.0'
* checking package namespace information ... OK
* checking package dependencies ... ERROR
Packages required but not available:
'combinat' 'gtools' 'calibrate' 'scales'
See the information on DESCRIPTION files in the chapter 'Creating R
packages' of the 'Writing R Extensions' manual.
I also observed the following interesting situation: in the log file, R version is specified as 2.15.3; however, when I do the following, I got different R version!
> R.Version()
$platform
[1] "i386-w64-mingw32"
$version.string
[1] "R version **3.0.2** (2013-09-25)"
Any help will be greatly appreciated.