MASTER_SITES is defined in math/R/Makefile.extension, which should be included by all R packages. Therefore, MASTER_SITES should not normally be defined in the Makefile for an R package.
Spherical trigonometry for geographic applications. That is, compute distances and related measures for angular (longitude/latitude) locations.