-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in loadNamespace: cli >= 2.0.2 is required #2224
Comments
The easiest workaround is running |
Hi Jim, I tried but i'm still getting namespace ‘cli’ 2.2.0 is being loaded, but >= 2.4.0 is required Thank you |
install.packages("cli") solves my problem |
I also had that issue, I had to remove the cli package because it wasn¿t updating correctly, then I re-installed it and everything worked just fine. |
In my case I installed the "cli" package but I keep getting the same error. Advice? |
@sandramacheri2498 The entry-level advice is to make absolutely 100% sure that, after a confirmed successful re-installation of cli, that you also re-start R, making sure that it's a complete clean restart. |
Just the same issue. So I first removed the package: then installed it again: |
Thanks so much- uninstalling and reinstalling cli helped me after an hour of swearing :) |
It worked! |
Thank you for this. I think the issue is after installing "cli" try to restart the R. it works well for me with that. |
Hi, I have everything updated and installed 100% however, I was trying to use this to extract a file that I found and received the following output: Please wait... Error in str_match(css, el_re) : |
Just to add in case its useful but uninstalling and re-installing cli didn't work for me but then updating to latest version of RStudio seems to have fixed it |
remove cli and re-install it. That should help. remove.packages("cli") and afterwards install.packages("cli") |
remove cli |
I was trying to install a library from GitHub in R Studio and I encountered such an error:
> devtools::install_github("haleyjeppson/ggmosaic")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : namespace ‘cli’ 2.0.0 is already loaded, but >= 2.0.2 is required
I was wondering what this means and how I should solve this problem. Thanks!
The text was updated successfully, but these errors were encountered: