# CONFIGURATION --------------------------------------------------------------- # 1. Get value from environment. # DEBUG = Sys.getenv("DEBUG") # # Gives "" if variable is not set. # 2. Impose a reasonable default. # DEBUG = as.logical(Sys.getenv("DEBUG", unset = "FALSE")) # SMTP credentials. # SMTP_USER = Sys.getenv("SMTP_USER") SMTP_PASS = Sys.getenv("SMTP_PASS") # -----------------------------------------------------------------------------