Add encrypted Travis environment variable to git directory and .travis.yml.

tencrypt(
  r_obj = Sys.getenv("GITHUB_PAT"),
  travis_env = "GITHUB_PAT",
  add = TRUE
)

Arguments

r_obj

object value to encrypt

travis_env

character, name of Travis environment variable

add

boolean, add directly to .travis.yml, Default: TRUE

See also