The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

Cannot install ‘tidyverse’ package

Cannot install ‘tidyverse’ package

Super Learner
0
Votes
2
Answer

Hi,
The following message popped up when I tried to install package “tidyverse”. I am wondering if the package is still available. Thank you.
install.packages(“tidyverse”)
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL ‘https://cran.rstudio.com/src/contrib/PACKAGES’
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/Guihua/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL ‘https://cran.rstudio.com/src/contrib/PACKAGES’
Warning in install.packages :
package ‘tidyverse’ is not available (for R version 3.6.3)

2 Answers

0
Votes

The ‘tidyverse’ package is still available, please try to update your R and Rstudio and install the package again, it worked for me. Thanks. 

Hi Joonseok, thank you for your reply. I just installed R and RStudio last week. I checked Rstudio and it is the latest version. The newest R version 4.0.0 has just been release on 2020-04-24. the version I have is 3.6.3 and was released 2020-02-29. I am wondering if you always need to update to the latest version for Tidyverse to be installed?

3 months

Or do I need always to follow the release news and update them accordingly?

3 months

Super Learner
0
Votes

Hello,
I downloaded the latest version R 4.0.0 and it could not install Tidyverse either with similar warning package ‘tidyverse’ is not available (for R version 4.0.0). 
Are we going to use this package extensively for the coming courses? Can I get away without installing it?
###
install.packages(“tidyverse”)
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL ‘https://cran.rstudio.com/src/contrib/PACKAGES’
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/Guihua/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL ‘https://cran.rstudio.com/src/contrib/PACKAGES’
Warning in install.packages :
package ‘tidyverse’ is not available (for R version 4.0.0)
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/4.0:
cannot open URL ‘https://cran.rstudio.com/bin/windows/contrib/4.0/PACKAGES’