Hi,
I'm completely new to R and I have difficulties in loading the "tidyverse" package. The installation seems to have worked but when I try to load it, I get the error that the package "haven" is missing and I can't install that one. I've removed tidyverse and retried it with a clean start for several times now but it just doesn't work.
Can anybody please help?
Here is my code:
> install.packages("tidyverse")
also installing the dependency ‘haven’
try URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/haven_2.4.1.zip'
Warning in install.packages :
cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/haven_2.4.1.zip': HTTP status was '404 Not Found'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/haven_2.4.1.zip'
Warning in install.packages :
download of package ‘haven’ failed
try URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/tidyverse_1.3.1.zip'
Content type 'application/zip' length 429963 bytes (419 KB)
downloaded 419 KB
package ‘tidyverse’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\julia\AppData\Local\Temp\Rtmp00ujTf\downloaded_packages
> library("tidyverse")
error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package named ‘haven’
> install.packages("haven")
try URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/haven_2.4.1.zip'
Warning in install.packages :
cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/haven_2.4.1.zip': HTTP status was '404 Not Found'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/haven_2.4.1.zip'
Warning in install.packages :
download of package ‘haven’ failed