Description Usage Arguments Value See Also Examples
View source: R/post.R View source: R/draft/ZZZ-post-issue.R View source: R/draft/post-safely.R View source: R/draft/post.R
Post issue to GitHub repository
1 | post_issue(ref, title, ..., distinct = TRUE)
|
ref |
Repository reference (list) created by |
title |
Issue title (required) |
... |
Additional user-defined body parameters. Use |
distinct |
Logical value to denote whether issues with the same title as a current open issue should be allowed |
Number (identifier) of posted issue
Other issues: get_issue_comments
,
get_issue_events
, get_issues
,
parse_issue_comments
,
parse_issue_events
,
parse_issues
,
report_discussion
,
report_progress
,
viz_waterfall
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
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'))
## End(Not run)
## Not run:
# 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") )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.