alternativeEnvi: Define basic or alternative environment depending on actual...

Description Usage Arguments Value See Also Examples

View source: R/alternativeEnvi.R

Description

Defines the basic environment settings depending on the actual system environment.

Usage

1
2
3
4
5
6
alternativeEnvi(
  root_folder = tempdir(),
  alt_env_id = NULL,
  alt_env_value = NULL,
  alt_env_root_folder = NULL
)

Arguments

root_folder

root directory of the project.

alt_env_id

alternative system environment attribute used to check for setting an alternative root_folder.

alt_env_value

value of the attribute for which the alternative root directory of the project should be set.

alt_env_root_folder

alternative root directory.

Value

Root folder name.

See Also

createEnvi()

Examples

1
2
3
4
5
6
7
## Not run: 
alternativeEnvi(
  root_folder = tempdir(), alt_env_id = "COMPUTERNAME",
  alt_env_value = "PCRZP", alt_env_root_folder = "D:\\BEN\\edu"
)

## End(Not run)

envima/envimaR documentation built on July 18, 2021, 1:40 p.m.