我创建了一个R软件包。该DESCRIPTION
文件这个包是如下:自动安装R软件包
Package: Ralgotree
Type: Package
Title: package about securiy information
Version: 1.0
Date: 2013-02-15
Author: algotree
Maintainer: algotree<[email protected]>
Description: package about securiy information
License: GPL(>=2)
Suggests: RJSONIO,stringr,RSQLite,bigmemory,Rook,compare,plyr,lubridate,xts
Depends: RJSONIO,stringr,RSQLite,bigmemory,Rook,compare,plyr,lubridate,xts
它依赖于其他包一样RJSONIO
,stringr
等 所以每当我尝试使用以下命令
R CMD build Ralgotree
R CMD INSTALL Ralgotree
安装我的包在其他机器
它显示了以下错误消息:
* installing to library ‘/usr/local/lib/R/site-library’
ERROR: dependencies ‘RJSONIO’, ‘stringr’, ‘RSQLite’, ‘bigmemory’, ‘Rook’, ‘compare’, ‘plyr’, ‘lubridate’, ‘xts’ are not available for package ‘Ralgotree’
所以我需要做安装所有packag es这样的install.packages("RJSONIO")
。
当我们运行R CMD INSTALL Ralgotree
命令时,是否可以安装所有卸载的软件包? 由于