Error: package or namespace load failed for ‘ggplot2’ in
loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘rlang’ 0.4.6 is already loaded, but >= 0.4.7 is required
How do I solve this error?I have even tried uninstalling and installing r.
Although I still have the original issue to install the required package, but the type of error seems to be the same. So, I will continue doing the same thing for the new error
library(mlogit)
Loading required package: dfidx
Error: package or namespace load failed for ‘dfidx’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘vctrs’ 0.3.1 is already loaded, but >= 0.3.2 is required
Error: package ‘dfidx’ could not be loaded