create_pull_request.RdCreates a pull request
create_pull_request( org, repo, base, head, title, body = "", reviewers = NULL, assignees = NULL, .api_url = api_url() )
| org | Name of organization to query |
|---|---|
| repo | Name of repository to query |
| base | Name of base branch that changes will be pulled into |
| head | Name of head branch where changes will be pulled from |
| title | Title of pull request |
| body | Body of pull request. Defaults to "" |
| reviewers | List of usernames to request reviews from (ie: `reviewers = c('devinp', 'harshb')`) |
| assignees | List of usernames to assign to the pull request. |
| .api_url | Optional API url to query. Defaults to the value set by `api_url()`. Usually it's "https://api.github.com/graphql" |
A list containing the title, creation date, author, reviewers, and assignees of the pull request