Learn R Programming

ghclass (version 0.1.0)

issue_create: Create an issue

Description

issue_create creates an issue for a GitHub repository.

Usage

issue_create(repo, title, body, labels = character(), assignees = character())

Arguments

repo

Character. Address of one or more repositories in owner/name format.

title

Character. Title of the issue.

body

Character. Content of the issue.

labels

Character. Vector of the labels to associate with this issue

assignees

Character. Vector of logins for users assigned to the issue.

Examples

Run this code
# NOT RUN {
repo_create("ghclass-test","issue-test")

issue_create("ghclass-test/issue-test", title = "Issue 1", body = "This is an issue")

issue_create(
  "ghclass-test/issue-test",
  title = "Issue 2", body = "This is also issue",
  label = "Important"
)

issue_create(
  "ghclass-test/issue-test",
  title = "Issue 3", body = "This is also issue",
  label = c("Important", "Super Important")
  assignees = "rundel"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab