write_env_var: Write environment variable to file

Description Usage Arguments Value

View source: R/env.R

Description

Write environment variable to file

Usage

1
write_env_var(value, dir = here::here(), file_name = character())

Arguments

value

[character] Value of the env var.

dir

[character] Path to directory that env var files should be written to. Defaults to root directory of your package/project (via here::here())

file_name

[character] Optional file name. If none is provided then .docker_env_{function_name} is use with function_name being the name of the function that called this function (e.g. env_package_name).

Value

[character] File path


rappster/renv2docker documentation built on Dec. 22, 2021, 12:57 p.m.