whenever a new version update in many (not all packages) comes with a binary build i get this error :
* installing *source* package 'raster' ...
** package 'raster' successfully unpacked and MD5 sums checked
ERROR: cannot remove earlier installation, is it in use?
* removing 'C:/R/R-4.0.2/library/raster'
* restoring previous 'C:/R/R-4.0.2/library/raster'
Warning in file.copy(lp, dirname(pkgdir), recursive = TRUE, copy.date = TRUE) :
problem copying C:\R\R-4.0.2\library\00LOCK-raster\raster\libs\x64\raster.dll to C:\R\R-4.0.2\library\raster\libs\x64\raster.dll: Permission denied
Warning in install.packages :
installation of package ‘raster’ had non-zero exit status
i need a solution, please
thank you