I want to install seuratData in r
for this i need to install and load devtools
i have installed itbut unable to load it by library.
library(devtools)
Error: package or namespace load failed for ‘devtools’ 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
please guide me
install.packages("cli")
library(cli)
but when I installed devtools it is done as shown
[> install.packages("devtools")
Installing package into ‘C:/Users/Ms/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/devtools_2.4.5.zip'
Content type 'application/zip' length 429234 bytes (419 KB)
downloaded 419 KB
package ‘devtools’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Ms\AppData\Local\Temp\RtmpmsTXZO\downloaded_packages]
for loading I did
library(devtools)
Error: package or namespace load failed for ‘devtools’ 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 dont know how to deal with this error of namespace!
kindly guide me.
But since you get the same error message we can assume you are not successful in updating cli. Can you post the complete console output you get when you run this command?