kassambara / ggpubr

'ggplot2' Based Publication Ready Plots

Home Page:https://rpkgs.datanovia.com/ggpubr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not installing and loading ggpubr

soulfs opened this issue · comments

I can't install and load the package "ggpubr"

I've tried
`install.packages("ggpubr")

and also tried

if(!require(devtools)) install.packages("devtools")
devtools::install_github("kassambara/ggpubr")'

the error message is the following:

Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace ‘cli’ 3.3.0 is already loaded, but >= 3.4.0 is required
`
I've also updated all my packages and have the latest R version. Is there anythi8ng else that needs to be done?

Thank you

I've resolved the issue. I had to remove some packages that were not updating "cli", then I installed it and load it again and it worked!