Why the package failed to install?

Permission denied:

Just delete and restart rstudio for windows.

C++ error:

Install Rtools for windows.