install packages error tidyr

Error: package or namespace load failed for ‘tidyr’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 namespace ‘vctrs’ 0.2.4 is already loaded, but >= 0.3.0 is required
In addition: Warning message:
package ‘tidyr’ was built under R version 4.0.2 

Note the message above.
Try closings and restarting R (if in RStudio >> Session >> Restart R), and install.packages("vctrs").

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