Description Usage Arguments Value Examples
Following the conventions of gargle's secret_*()
family of functions, this
function will generate a random password that can be added to your R
enviornment. This will allow you to pass the system variable to external
services such as GitHub Actions, which can be useful for encrypting and
decrypting authentication tokens.
1 | create_env_pw(service)
|
service |
Identifier of the service whose token will be encrypted. |
NA; used for side effects to create environmental variable.
1 2 3 | if (interactive()) {
create_env_pw("testing-tokencodr")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.