I have an R package that contains an R/globals.R file with the following content (simplified):
R/globals.R