我試圖安裝一個R包,它是我從開發人員直接從* .tar.gz格式獲得的。但命令:在Linux系統中安裝r依賴關係?
install.packages("~/Path/to/the/file/package.tar.gz", repos = NULL, type = "source")
給
Installing package into ‘/home/XXX/R/x86_64-pc-linux-gnu-library/3.2’
(as ‘lib’ is unspecified)
ERROR: dependencies ‘NetIndices’, ‘limSolve’, ‘diagram’ are not available for package ‘package’
* removing ‘/home/XXX/R/x86_64-pc-linux-gnu-library/3.2/package’
Warning in install.packages :
installation of package ‘/home/path/to/the/file/Package/package.tar.gz’ had non-zero exit status
我怎樣才能獲得依賴隨程序包?我曾嘗試在install.packages中使用dependencies = TRUE來無濟於事。