Are you a Microsoft Windows R user? Does your Windows username include a space? Like Firstname Lastname. Then you might occassionally run into issues installing packages due to spaces.
Solutions You could either re-install Windows with a username that has no spaces such as Lastname ^[This is the case in the Bioconductor Windows build machine where the username is biocbuild as you can see here.