write_envvar: Write environment variable

Description Usage Arguments Examples

View source: R/utils.R

Description

This lets environment authors set environment variables in requirements.R that get copied over to the course image, and available to all exercises

Usage

1
write_envvar(..., file = "/etc/R/Renviron")

Arguments

...

environment variables to copy

file

path to environment file to copy the variables to

Examples

1
2
3
4
## Not run: 
  write_envvar(DC_SHINY = "1")

## End(Not run)

datacamp/rexplorables documentation built on June 6, 2021, 4:12 p.m.