安装 packrat 并运行后,packrat::init()
我收到以下错误,我认为这是试图访问一个不再可用的站点,此外还有一些我不确定的其他错误是由第一个错误产生的。
环境: - OS X 10.10.3 - R 版本 3.2.0 - packrat 0.4.3 - cran(不知道如何获得这个版本)
Fetching sources for packrat (0.4.3) ... OK (CRAN current)
Snapshot written to '/Users/user/RProjects/Data_Specialization/r_programming/packrat/packrat.lock'
Installing packrat (0.4.3) ... Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL 'http://cran.rstudio.com/src/contrib/packrat_0.4.3.tgz'
In addition: Warning message:
In download.file(url, destfile, method, mode = "wb", ...) :
cannot open: HTTP status was '404 Not Found'
Warning in download.packages(pkgs, destdir = tmpd, available = available, :
download of package ‘packrat’ failed
Error in hash(descFile) :
No DESCRIPTION file at path '/Users/user/RProjects/Data_Specialization/r_programming/packrat/lib/x86_64-apple-darwin13.4.0/3.2.0/packrat/DESCRIPTION'!
根据我在本期中所读到的内容,还值得注意的是我有 Biocinstaller v1.18.1