For several weeks now I have been unable to load several packages in R. To remedy this, I reinstalled R 4.0.3 and RStudio 1.4.1103 but failed to load several packages, including dplyr and ggplot2. I have searched the internet and tried to resolve the issue for days now but in vain. Please help. Just so you know, I get the following error:
Error: package or namespace load failed for ‘dplyr’:
.onLoad failed in loadNamespace() for 'pillar', details:
call: loadNamespace(name)
error: there is no package called ‘crayon’
Error: package or namespace load failed for ‘ggplot2’:
.onLoad failed in loadNamespace() for 'pillar', details:
call: loadNamespace(name)
error: there is no package called ‘crayon’