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.