check_credentials | R Documentation |
Check for valid credentials and repo permissions
check_credentials(ref)
ref |
Any repository reference being used. Repository information is stripped out and only authentication credentials are validated. |
Prints GitHub username as determined by credentials (if valid) and repo-level permissions (if any), else throws 401 Unauthorized error.
## Not run:
experigit <- create_repo_ref('emilyriederer', 'experigit')
check_authentication(experigit)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.