0
votes

I could successfully download tidyverse packages but when using library(tidyverse) this message appears:

Error: package or namespace load failed for ‘tidyverse’ in get(Info[i, 1], envir = env): No such file or directory.

I have the latest version of RStudio

2
How exactly did you install the tidyverse? Were there any errors or warnings at all during that process? What version of R are you using?MrFlick
You can also try closing all running instances of R and try again.MrFlick
have you installed the tidyverse with install.packages("tidyverse")?verybadatthis
have you installed the tidyverse with install.packages("tidyverse")? - Yes, I did I closed and opened R multiple times, but still the message appears. How exactly did you install the tidyverse? Were there any errors or warnings at all during that process? What version of R are you using - WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding. This message appears tooMar

2 Answers

0
votes
  1. Session -> Restart R
  2. Check the version of R that you use via version. If it is not 3.6.3 or 4.0.0, reinstall R from the official project website (https://www.r-project.org/).

  3. Check your library path with .libPaths(). If folders like 'dplyr' are not in there, you have not installed the package properly.

  4. Install Tidyverse via install.packages("tidyverse").

You can also check the installed packages using the 'Packages' tab on the lower right panel in RStudio.

0
votes

I tried to install and the same happened. I tried checking if it was already installed with require("") and it wasn't. It installed, though, when I gave the command to install without restarting R, but when installation finished I typed in require("tidyverse") and the following message apeared:

Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): namespace ‘pillar’ 1.5.1 is already loaded, but >= 1.6.0 is required