View source: R/install-github.R
github_remote | R Documentation |
This is an internal function to create a new github_remote, users should generally have no need for it.
github_remote(
repo,
ref = "HEAD",
subdir = NULL,
auth_token = github_pat(),
sha = NULL,
host = "api.github.com",
...
)
repo |
Repository address in the format
|
ref |
Desired git reference. Could be a commit, tag, or branch
name, or a call to |
subdir |
Subdirectory within repo that contains the R package. |
auth_token |
To install from a private repo, generate a personal
access token (PAT) with at least repo scope in
https://github.com/settings/tokens and
supply to this argument. This is safer than using a password because
you can easily delete a PAT without affecting any others. Defaults to
the |
host |
GitHub API host to use. Override with your GitHub enterprise
hostname, for example, |
... |
Other arguments passed on to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.