Description Usage Arguments Details Value See Also Examples
Uses the GITHUB_USERNAME
global variable or searches on GitHub,
for the user's email address, see
email_address
.
1 | gh_username(token = NULL, fallback = NULL)
|
token |
GitHub token to use. By default it uses
the |
fallback |
If not |
This function caches the username in the current R session, and if the email address of the user is unchanged, it does not perform another GitHub query.
GitHub username, or an error is thrown if it cannot be found.
Other user names: email_address
,
fullname
, username
,
whoami
1 2 3 4 | ## Not run:
gh_username()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.