Post issue to GitHub repository

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

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

Value

Number (identifier) of posted issue

See also

Examples

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") ) }