add_github_user {secret} | R Documentation |
Add a user via their GitHub username.
Description
On GitHub, a user can upload multiple keys. This function will download the first key by default, but you can change this
Usage
add_github_user(github_user, email = NULL, vault = NULL, i = 1)
Arguments
github_user |
User name on GitHub. |
email |
Email address of the github user. If NULL, constructs an
email as |
vault |
Vault location (starting point to find the vault).
To create a vault, use
If the starting point is a vault, that is used. Otherwise, if the
starting point is in a package tree, the |
i |
Integer, indicating which GitHub key to use (if more than one GitHub key exists). |
See Also
Other user functions:
add_travis_user()
,
add_user()
,
delete_user()
,
list_users()
Examples
## Not run:
vault <- file.path(tempdir(), ".vault")
create_vault(vault)
add_github_user("hadley", vault = vault)
list_users(vault = vault)
delete_user("github-hadley", vault = vault)
## End(Not run)