Learn R Programming

projmgr (version 0.1.2)

browse_docs: View GitHub API documentation

Description

Opens browser to relevant parts of GitHub API documentation to learn more about field definitions and formatting. Inspired by similar browse_ functions included in the usethis package.

Usage

browse_docs(
  action = c("get", "post"),
  object = c("milestone", "issue", "issue event", "issue comment", "repo labels")
)

Value

Returns URL in non-interactive session or launches browser to docs in interactive session

Arguments

action

Character string denoting action you wish to complete: "get" (list existing) or "post" (creating new)

object

Character string denoting object on wish you want to apply an action. Supports "milestone", "issue", "issue event"

Examples

Run this code
if (FALSE) {
browse_docs('get', 'milestone')
}

Run the code above in your browser using DataLab