R packrat init 失败并显示:无法打开 url 且未找到描述文件
R packrat init fails with: can't open url and no description file found
安装 packrat 和 运行 packrat::init()
后出现以下错误,我认为这是试图访问不再可用的站点,此外还有一些我不确定的其他错误正在由第一个生成。
环境:
- OS X 10.10.3
-R 版本 3.2.0
- 包鼠 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'!
根据我在这篇 issue 中读到的内容,还值得注意的是我已经安装了 Biocinstaller v1.18.1
安装 packrat 和 运行 packrat::init()
后出现以下错误,我认为这是试图访问不再可用的站点,此外还有一些我不确定的其他错误正在由第一个生成。
环境: - OS X 10.10.3 -R 版本 3.2.0 - 包鼠 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'!
根据我在这篇 issue 中读到的内容,还值得注意的是我已经安装了 Biocinstaller v1.18.1