以下是R CMD check package
错误的日志:
* 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.
在我的说明文件中,我已经拥有了所有必需的文件(' combinat'' gtools''校准''比例') #34;取决于:"标题。
到目前为止我做了什么:我在"下添加了上述软件包;建议:"同样。
虽然错误是粘性的。
>.libPaths()
[1] "C:/Revolution/R-Enterprise-7.1/R-3.0.2/library"
我检查了R内外:
> devtools::check("C:/Revolution/R-Enterprise-7.1/R-3.0.2/library/causfinder")
从命令提示符(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.
我还观察到以下有趣的情况:在日志文件中,R版本被指定为 2.15.3 ;但是,当我执行以下操作时,我得到了不同的R版本!
> R.Version()
$platform
[1] "i386-w64-mingw32"
$version.string
[1] "R version **3.0.2** (2013-09-25)"
非常感谢任何帮助。