I have installed tidyverse but whenever I try to load it either by typing library(tidyverse)
or by selecting it from the list of packages in the environment pane I get this error message:
Error: package or namespace load failed for ‘tidyverse’ in get(Info[i, 1], envir = env):
cannot open file 'C:/Users/MyName/Documents/R/win-library/4.0/rlang/R/rlang.rdb': No such file or directory
In the file path above, however, my name has been spelled incorrectly as my name has an accent above one of the vowels and it appears that RStudio has been unable to process this correctly. Could this be the cause of the issue and if so is there a way around it? I have tried changing the working directory to the file path mentioned in the error message but this did not help anything.
I am also having trouble creating RMarkdown files. When I click 'Knit' I get a similar error message:
Error in get(Info[i, 1], envir = env) :
cannot open file 'C:/Users/MyName/Documents/R/win-library/4.0/evaluate/R/evaluate.rdb': No such file or directory
Calls: :: ... asNamespace -> loadNamespace -> registerS3methods -> get
Execution halted
I recently downloaded R4.0 and RStudio 1.2.5042 if that makes any difference. Any help at all would be appreciated.