Please point out the point that I am missing:
openSUSE 11.3
xx@linux-y3pi:~/Desktop/R> sudo R CMD INSTALL rgdal_0.7-12.tar.g
On macOS
brew install gdal
removed the error
gdal-config not found