with_envvar {withr} | R Documentation |
Temporarily change system environment variables.
with_envvar(new, code, action = "replace")
new |
|
code |
|
action |
should new values |
if NA
is used those environment variables will be unset.
If there are any duplicated variable names only the last one is used.
[any]
The results of the evaluation of the code
argument.
withr
for examples