Error loading tidyverse after installing readxl package - r

I downloaded readxl package from CRAN, to read some excel file for processing in R. Unfortunately, I noticed that tidyverse could not load anymore. It kept displaying the error message below:
Error:
package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘readxl’
Kindly assist please. Many thanks!

Related

Why am I getting while loading' tidyverse' library?

I installed the 'tidyverse' package but when I tried to load the library, I keep getting this error message: "Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘colorspace’"
Please, help!
I tried to load the package, that worked but loading the library did not.

Error: package or namespace load failed for ‘midasml’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):

I am trying to download the midasml package. My R version is 4.2.0. When I install the package I get no errors. But when I try library(midasml) I get this error:
Error: package or namespace load failed for ‘midasml’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘mcGlobaloptim’
I found on the Internet that mcGlobaloptim is removed from the CRAN package. I tried to install it but it does not work and I get:
Warning in install.packages :
package ‘mcGlobaloptim’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
How can I solve this problem?

I am getting an error installing tidyverse on R studio

I am trying to install the tidyverse package, but I get the following error:
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘Rcpp’
I have done everything that I found, nothing seems to help. Thanks.

error loading packages R, almost all packages

Today I opened R as usual and loaded all my libraries as usual, however most of my packages report an error now!
For example
library(ggmap)
> library(ggmap)
Loading required package: ggplot2
Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘lazyeval’
Error: package ‘ggplot2’ could not be loaded
I have never had this error before or encountered the package 'lazyeval'.
The story is similar for many other packages:
library(lubridate)
Error: package or namespace load failed for ‘lubridate’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘stringi’
Somehow it seems that I need to install all packages again?
Any idea what happened? As far as I know nothing has changed since I used R yesterday..

Loaded r packages yesterday. Now getting error messages

Can't use the GUI to import datasets and certain packages will not load. I get this message. I'm stumped.
library(likert)
Loading required package: ggplot2
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘tibble’
Error: package ‘ggplot2’ could not be loaded

Resources