R has troubles with empty spaces in Windows user names. That might be causing your problem. A walk-around solution is to install into the system-level package library instead.
You can change the default library path by setting your R_LIBS_SITE environmental variable on a .Reviron or .Rprofile file
# In .Renviron file you can set it by adding this line
R_LIBS_SITE="C:\\Program Files\\R\\R-4.0.2\\library"