View source: R/package-request.R
Given the
1 2 3 4 5 6 7 8 | package_request_pipeline(
owner = Sys.getenv("GITCRAN_REPO_OWNER"),
gh_repository = Sys.getenv("GITCRAN_REPO"),
labels = Sys.getenv("GITCRAN_LABELS", "package-request"),
state = Sys.getenv("GITCRAN_STATE", "open"),
username = Sys.getenv("GITHUB_USER"),
token = Sys.getenv("GITHUB_PAT")
)
|
owner |
character - Github organization/user name, defaults to the environment variable GITCRAN_REPO_OWNER |
gh_repository |
character, the repository name, defaults to the environment variable GITCRAN_REPO |
labels |
character vector - Github issue labels to search for package requests, defaults to the environment variable GITCRAN_LABELS |
state |
character - Issue state, "open" or "closed", defaults to the environment variable GITCRAN_STATE or "open" |
username |
character - Github username that has access to repository issues, defaults to the environment variable GITHUB_USER |
token |
character - Github Personal Access TOKEN (PAT) for the provided username with repository read and write permissions, defaults to the environment variable GITHUB_PAT |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.