When packages are not in the right version, how do I install the right versions, especially when I have a version that is not working with my R version, how do I resolve this?
I have this issue with the package 'anacapa', I think I need cli package to install it but I am having the wrong version. I have this message on the console:
library(devtools)
devtools::install_github("ranacapa")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace ‘cli’ 3.0.1 is already loaded, but >= 3.1.0 is required
It also says the package 'anacapa' is not available for this R version (I use R version 4.1.0).
How do I resolve this?
I believe I may still meet this issue going forward, I need help.
Regards.