I have just redownloaded R and R-studio on a new computer after my old one broke (exact same computer, OS and specs). I am trying to run a script that I have previously created, but when I try to install the packages I get a warning message and an error
Warning in readLines(file, skipNul = TRUE) :
cannot open file 'C:/Users/me/OneDrive/Documents/R/win-library/4.0/nlme/DESCRIPTION': probable reason 'No such file or directory'
Warning in readLines(file, skipNul = TRUE) :
cannot open compressed file 'C:/Users/me/OneDrive/Documents/R/win-library/4.0/nnet/DESCRIPTION', probable reason 'No such file or directory'
On looking it little further I see that the folders nlme
and nnet
do not have a file DESCRIPTION
in them. I am not sure why the packages won't install as I have never had issues, though I feel it has something to do with the path being in onedrive. I am unsure, however, 1. how to switch my path and 2. what I should switch my path to.