I am trying to install tidyverse package, but all the time I got the error messages like this:
Installing package into ‘C:/Users/User/OneDrive/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/tidyverse_1.3.0.zip'
Content type 'application/zip' length 439972 bytes (429 KB)
downloaded 429 KB
package ‘tidyverse’ successfully unpacked and MD5 sums checked
Error in install.packages : ERROR: failed to lock directory ‘C:\Users\User\OneDrive\Documents\R\win-library\4.0’ for modifying
Try removing ‘C:\Users\User\OneDrive\Documents\R\win-library\4.0/00LOCK’
Could you please help me how to deal with it?