Tidymodel won't intall on my Windows laptop

I am trying to install a package Tidymodel, and keeping getting the following error:

Error: package or namespace load failed for ‘tidymodels’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘vctrs’ 0.3.0 is already loaded, but >= 0.3.0.9000 is required

I tried:

  • uninstalling and reinstalling both my R and R studio
  • restarting my computer

any idea what is going on?

Have you tried closing all other instances of RStudio, and then installing vctrs from cran in a fresh RStudio session (meaning, doing Ctrl/Cmd + Shift + F10 before you install it)? The most recent version on cran is 0.3.1.

install.packages("vctrs")
1 Like

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