パッケージを作成しようとしています。いくつかのパッケージに依存します。インポートを名前空間ファイルに追加し、依存ファイルを記述ファイルに追加しました。
こことここで可能な解決策を見つけましたが、これらは機能しませんでした-CentOSを使用しているためだと思います。
これは私の画面に表示されるものです:
[hadoop@localhost RProjects]$ sudo R CMD check TextPreProcess
* using log directory ‘/home/hadoop/RProjects/TextPreProcess.Rcheck’
* using R version 2.15.1 (2012-06-22)
* using platform: x86_64-redhat-linux-gnu (64-bit)
* using session charset: UTF-8
* checking for file ‘TextPreProcess/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘TextPreProcess’ version ‘1.0’
* checking package namespace information ... OK
* checking package dependencies ... ERROR
Packages required but not available:
‘RWeka’ ‘Snowball’ ‘lsa’ ‘plyr’ ‘snowfall’ ‘tau’ ‘tm’
See the information on DESCRIPTION files in the chapter ‘Creating R
packages’ of the ‘Writing R Extensions’ manual.
私は R エクステンションを書きましたが、問題を解決する方法について多くの洞察を得ることができませんでした。