Learn R Programming

projmgr (version 0.1.2)

post_issue: Post issue to GitHub repository

Description

Post issue to GitHub repository

Usage

post_issue(ref, title, ..., distinct = TRUE)

Value

Number (identifier) of posted issue

Arguments

ref

Repository reference (list) created by create_repo_ref()

title

Issue title (required)

...

Additional user-defined body parameters. Use browse_docs() to learn more.

distinct

Logical value to denote whether issues with the same title as a current open issue should be allowed

See Also

Other issues: get_issue_comments(), get_issue_events(), get_issues(), parse_issue_comments(), parse_issue_events(), parse_issues(), post_issue_update(), report_discussion(), report_progress(), viz_waterfall()

Examples

Run this code
if (FALSE) {
myrepo <- create_repo_ref('emilyriederer', 'myrepo')
post_issue(myrepo,
  title = 'this is the issue title',
  body = 'this is the issue body',
  labels = c('priority:high', 'bug'))
}
if (FALSE) {
# can be used in conjunction with reprex pkg
# example assumes code for reprex is on clipboard
reprex::reprex(venue = "gh")
post_issue(myrepo,
            title = "something is broken",
            body = paste( clipr::read_clip(), collapse = "\n") )
}

Run the code above in your browser using DataLab