generate_env_setup_script {scriptexec}R Documentation

Generates and returns a script which sets up the env vars for the script execution.

Description

Generates and returns a script which sets up the env vars for the script execution.

Usage

generate_env_setup_script(env = character())

Arguments

env

Optional character vector of name=value strings to set environment variables

Value

The script text which sets up the env

Examples

script <- generate_env_setup_script(c('ENV_TEST=MYENV'))

[Package scriptexec version 0.3.1 Index]