Failed to install tidyr in R version 3.1.1

I can not install the tidyr package in R version 3.1.1

Here's 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 just installed dplyr , which is easy to install and runs smoothly.

Any ideas why this is happening, as this does not seem to be a common problem.

+7
r tidyr failed-installation
source share
3 answers

I think the problem lies in the newest version of dplyr (0.4.2), which requires R ≥ 3.1.2. I solved the problem using an older version of dplyr and installing all the 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") 
+6
source share

I have the same problem with DSR package like this:

(as 'lib' is unspecified) Warning in install.packages : package 'DSR' is not available (for R version 3.2.4 Revised)

then resolved it using devtoolls .

devtools::install_github("hadley/tidyr")

0
source share

I ran into this problem using R 3.3.3. Download the library (dplyr), then install.packages ('tidyr').

or

Try closing and restarting R, and then giving it another step.

0
source share

All Articles