I am unable to install tidyr
package in R version 3.1.1
This is what happens:
install.packages("tidyr")
Installing package into ‘C:/Users/Name/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘tidyr’ is not available (for R version 3.1.1)
I have a Windows PC and have just installed dplyr
which got installed easily and is running smoothly.
Any ideas why this is happening as this doesn't seem to be a general issue.
I think the problem lies with the newest version of dplyr (0.4.2) that requires R ≥ 3.1.2. I solved the issue by using an older version of dplyr and installing all packages from the 0-Cloud repository.
install.packages("assertthat")
install.packages("magrittr")
install.packages("lazyeval")
install.packages("BH")
install.packages("R6")
install.packages("http://cran.r-project.org/src/contrib/Archive/dplyr/dplyr_0.4.1.tar.gz", repos=NULL)
install.packages("tidyr")