Error loading tidyverse library

When loading the library I get this error:

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

Any suggestions about what should I do?
It was working fine before but I updated the Rstudio version and now I'm facing this error.

It looks like you need to update the cli package.

I'd suggest restarting R/Rstudio and, since you have updated R try,

update.packages()

which should update all your packages at once. Otherwise just re-install cli

2 Likes

Thank you! It worked!

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.