I am seeing the following error when trying to install the tidyverse and ggplot2 R package
Error in install.packages : cannot open file 'C:/Users/dell user/Documents/R/win-library/4.1/filebad038967c5e/rlang/help/figures/rlang.png': Permission denied.
How can I go around this?
It happens because the path where you install them is restricted. To fix this issue:
Windows Defender Ransomware Protectioncan cause issues. Addrsession.exeas an exception.