It says could not remove the existing rlang:
> install.packages("rlang")
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/rlang_0.4.10.zip'
Content type 'application/zip' length 1193441 bytes (1.1 MB)
downloaded 1.1 MB
package ‘rlang’ successfully unpacked and MD5 sums checked
Warning in install.packages :
cannot remove prior installation of package ‘rlang’
Warning in install.packages :
problem copying C:\R\R-4.0.3\library\00LOCK\rlang\libs\x64\rlang.dll to C:\R\R-4.0.3\library\rlang\libs\x64\rlang.dll: Permission denied
Warning in install.packages :
restored ‘rlang’
The downloaded binary packages are in
C:\Users\bgaltbalt\AppData\Local\Temp\Rtmpy86cAk\downloaded_packages
However, i do not think it is rlang, because if i try other packages it will show error with other package. Another example:
library(sf)
Error: package or namespace load failed for ‘sf’:
.onLoad failed in loadNamespace() for 'Rcpp', details:
call: new_dummyObject(.dummyInstancePointer)
error: object 'class__dummyInstance' not found
But, it loads on R console. very strange!