Error in confusion matrix

library(caret)
Error: package or namespace load failed for ‘caret’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘rlang’ 0.4.5 is already loaded, but >= 0.4.6 is required

Hi @IGREEN3,
Welcome to the RStudio Community Forum.

You need to update the rlang package to the latest version. Run this:

install.packages("rlang", dependencies=TRUE)

HTH

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.