octo_set_envvar | R Documentation |
This will set an environment variable in a way that makes it available to the
following steps, compared to using Sys.setenv()
, which would only make an
envvar available in the current step.
octo_set_envvar(value, name, set = TRUE, delim = "EOF")
value |
Value of the envvar, coercible to string. Can be a multiline
string or character vector of |
name |
Name of the envvar. |
set |
Should the envvar also be set in this step? |
delim |
Delimiter used for multiline strings. No need to change this unless your string contains 'EOF'. |
name
invisibly.
octo_mask_envvar()
and the
GitHub docs
## Not run:
val <- c("Some content", "that spans", "multiple lines")
octo_set_envvar(val, "multi")
octo_set_envvar(2342, "pid")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.