/usr/bin/pager is specific to Debian/Ubuntu. For other OSs, use the default pager detected by the configure script, which will either be less or more. See https://github.com/rstudio/r-builds/issues/3