OS is hit and miss when installing packages from source. I always give up after the first failure and install the earlier binary source. It might be related, but I see you're using Anaconda. It's a program I really, really like, for Python. Using the official CRAN binary is the best way to go.