Probable reason: Looking for `R.h` in `/usr/lib/R/include` instead of `/usr/share/R/include`. After manually adding the symlink, installation works. Is there any reason you create a `Makefile` and not a `Makevars`?