Thanks for the sugestion, but I can not fix it.
install.packages("lubridate")
Installing package into ‘C:/Users/rune_/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/lubridate_1.9.0.zip'
Content type 'application/zip' length 942344 bytes (920 KB)
downloaded 920 KB
package ‘lubridate’ successfully unpacked and MD5 sums checked
Warning in install.packages :
cannot remove prior installation of package ‘lubridate’
Warning in install.packages :
problem copying C:\Users\rune_\AppData\Local\R\win-library\4.2\00LOCK\lubridate\libs\x64\lubridate.dll to C:\Users\rune_\AppData\Local\R\win-library\4.2\lubridate\libs\x64\lubridate.dll: Permission denied
Warning in install.packages :
restored ‘lubridate’
The downloaded binary packages are in
C:\Users\rune_\AppData\Local\Temp\Rtmpk1ku5z\downloaded_packages
library(lubridate)
Error: package or namespace load failed for ‘lubridate’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Program Files/R/R-4.2.2/library/stats/libs/x64/stats.dll':
LoadLibrary failure: No se puede encontrar el módulo especificado.