issue_create
creates an issue for a GitHub repository.
issue_close
closes an issue for a GitHub repository.
issue_close(repo, number) issue_create(repo, title, body, labels = character(), assignees = character())
repo | Character. Address of one or more repositories in |
---|---|
number | Integer. GitHub issue number of the issue. |
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. |
if (FALSE) { repo_create("ghclass-test","test_issue") issue_create( "ghclass-test/test_issue", title = "Issue 1", body = "This is an issue" ) issue_create( "ghclass-test/test_issue", title = "Issue 2", body = "This is also issue", label = "Important" ) issue_create( "ghclass-test/test_issue", title = "Issue 3", body = "This is also issue", label = c("Important", "Super Important"), assignees = "rundel" ) issue_close("ghclass-test/test_issue", 1) repo_delete("ghclass-test/test_issue", prompt=FALSE) }