This is actually really easy to do, but most of the google hits I came across were old (from 2010) or horribly complex (building
proj4 from source then building
brew install gdal
RStudio (for some reason it didn't work using R in the terminal…) and install the package from source:
That's it. Seriously easy.
Update: fixed typos in