It turns out that many CRAN packages have been pre-compiled for Ubuntu in https://launchpad.net/~marutter/+archive/ubuntu/rrutter See https://github.com/tidyverse/readr/issues/544#issuecomment-264647581