--- title: "Environment Variables" subtitle: Customizing environment variable handling output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{environment_variables} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ``` Environment variables can be a tremendously helpful alternative to options for behaviors that one might want to handle ubiquitously across R sessions, that might be administered, or that might be needed in a command-line context. They can provide a helpful interface for supporting tasks that might be called during continuous integration jobs, on a compute cluster, or within a containerized environment. Since use cases can be hard to predict, `options` will consider appropriately named environment variables by default. # Customizing names Perhaps the default environment names don't suit you. When defining your options, you can always use your own! However, this level of customization is only available through the `define_option()` interface. > By default environment variables look like `R__