Problems to load tidyverse and dplyr - r

When I try to load tidyverse I get this message:
library("tidyverse")
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘dplyr’ 1.0.2 is already loaded, but >= 1.0.3 is required
Además: Warning message:
package ‘tidyverse’ was built under R version 4.0.3

Related

How do I know if I installed plotly correctly?

Error: package or namespace load failed for ‘plotly’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘fastmap’
In addition: Warning message:
package ‘plotly’ was built under R version 4.2.1

tbl_regression from package gtsummary

install.packages("gtsummary")
library(gtsummary)
Error: package or namespace load failed for ‘gtsummary’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘glue’ 1.4.2 is already loaded, but >= 1.6.0 is required
I am trying to use the function tbl_regression but every time I type library(gtsummary), I get this message and a failure. How can I solve this problem?

getting an error while using the library(tidyverse)

getting the following error while trying to use library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): namespace ‘ggplot2’ 3.3.0 is being loaded, but >= 3.3.3 is required
I updated ggplot2 many times but still getting the error

>library(Rcmdr) #fails to load

I have tried the following steps:
install.packages("Rcmdr", dependencies=TRUE)
install.packages("knitr", dependencies=TRUE)
library(Rcmdr)
output for this step is below
Loading required package: RcmdrMisc
Error: package or namespace load failed for ‘RcmdrMisc’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘knitr’
Error: package ‘RcmdrMisc’ could not be loaded
I'm working in Rversion=3.4.1 & Rstudio=1.0.143

unable to load caret package

library(caret)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : namespace ‘nlme’ 3.1-121 is already loaded, but >= 3.1.123 is required
In addition: Warning message:
package ‘caret’ was built under R version 3.2.4
Error: package or namespace load failed for ‘caret’

Resources