R has problems with synced folders very frequently, I recommend you to move your user-level package library into a non-synced folder or to install into the system-level package library instead.
You can change the defaul values 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"
For a more detailed explanation, you can read this blog post
Also, you are using a very old R version, if you update your R version (the latest version is 4.0.3) you would have access to precompiled binaries so you could avoid compilation issues.