after installing tidyverse, only the tidyr and tidyselect libraries are available to load

After install.packages("tidyverse"), the source packages were downloaded fine. However, when I'm trying starting to type in "library(tidy)" to load the library, only tidyr and tidyselect popup as options; tidyverse doesn't pop up as an option. And when I type in "library(tidyverse)" anyway, I get the error below.

Error in library(tidyverse) : there is no package called ‘tidyverse’

Thanks in advance!

What prints to the console when you do install.packages("tidyverse") ?

1 Like

tidyverse has not been successfully installed because you have a lot of outdated packages, you can try updating them first with this command but since you are using a very old version of R very likely you are going to get into more installation issues, my advice, update R first, then your packages and then try to install tidyverse.

update.packages(repos='http://cran.rstudio.com/', ask=FALSE, checkBuilt=TRUE)
1 Like

OH okay. Thank you for helping the newbie here.

Warning in install.packages :
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/src/contrib/PACKAGES.rds': HTTP status was '404 Not Found'
Installing package into ‘C:/Users/etran/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
also installing the dependencies ‘ellipsis’, ‘processx’, ‘vctrs’, ‘callr’, ‘lifecycle’, ‘dplyr’, ‘haven’, ‘hms’, ‘purrr’, ‘reprex’, ‘rlang’, ‘tibble’, ‘tidyr’, ‘xml2’

Warning in install.packages :
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.4/PACKAGES.rds': HTTP status was '404 Not Found'

There are binary versions available but the
source versions are later:
binary source needs_compilation
ellipsis 0.1.0 0.3.0 TRUE
processx 3.3.0 3.4.1 TRUE
vctrs 0.1.0 0.2.2 TRUE
callr 3.2.0 3.4.1 FALSE
dplyr 0.8.0.1 0.8.4 TRUE
haven 2.1.0 2.2.0 TRUE
hms 0.4.2 0.5.3 FALSE
purrr 0.3.2 0.3.3 TRUE
reprex 0.2.1 0.3.0 FALSE
rlang 0.3.4 0.4.4 TRUE
tibble 2.1.1 2.1.3 TRUE
tidyr 0.8.3 1.0.2 TRUE
xml2 1.2.0 1.2.2 TRUE
tidyverse 1.2.1 1.3.0 FALSE

You haven't updated R or used the command I gave you, if you keep doing the same thing without changing a thing you are going to keep getting the same result.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.