Error: package or namespace load failed for ‘mlr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘pkgconfig’ 2.0.1 is already loaded, but >= 2.0.2 is required
Whenever I am trying to install any package, it shows it has been successfully installed. However, when I try to load it, it shows the above error. And hence, when I try to use the relevant function, it shows "the function is not found". And this has been the case with all the packages.
I tried reloading the packages, updating those as well. However, nothing worked. -
- RStudio Edition: 3.4.3 (2017-11-30)
- RStudio Version: 3.4.3 (2017-11-30)
- OS Version: Windows 10
- R Version: 1.1.423