Grab either env variable or option
.Rprofile options are like "crunch.api", while env vars are "R_CRUNCH_API". This function will use the environment variable if it is found, otherwise it looks for the R-based option value.
envOrOption(opt, default = NULL)
opt |
the option to get |
default |
if the specified option is not set in either the option or as an environment variable, use this instead. |
the value of the option
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.