Build R using Travis and Appveyor