在网上看到的说swarl包可以帮助学习R,于是打算按照安装。但是下载时> install.packages("swirl")时出现"testthat"无法安装,于是尝试单独下载testthat包> install.packages("testthat")
有二进制版本(将被安装),但源代码版本是后来的:
binary source
testthat 0.9.1 0.10.0
trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/testthat_0.9.1.zip'
Warning in install.packages :
cannot open: HTTP status was '404 Not Found'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/testthat_0.9.1.zip'
Warning in install.packages :
download of package ‘testthat’ failed
我是新手,想请教高手,这是什么原因。是因为我版本的问题吗?R语言版本是3.1.3。
|