R - error installing caret package
> Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), > versionCheck = vI[[j]]) : namespace ‘pbkrtest’ 0.4-2 is being > loaded, but >= 0.4.4 is required > Error: package or namespace load > failed for ‘caret’ Caret was working fine until I tried to load Rcpp and it messed everything up. I searched the answers for a similar problem with caret but the solutions posted did not seem to work on mine. I followed: install.packages("caret", dependencies = TRUE) But it did not work. I would suggest you to check the R version. I updated the version to 3.5.1 and it works perfectly :) Mac only –