format_milestone {IssueTrackeR}R Documentation

Format the milestone in a simpler format

Description

Format the milestone in a simpler format

Usage

format_milestone(raw_milestone, verbose = TRUE)

Arguments

raw_milestone

Milestone. Subset of a gh_response object output from the function gh which contains all the data and metadata for a GitHub milestone.

verbose

A logical value indicating whether to print additional information. Default is TRUE.

Value

a data.frame with 3 entries:

Examples



# With milestones
raw_milestones <- gh::gh(
    repo = "jdplus-main",
    owner = "jdemetra",
    endpoint = "/repos/:owner/:repo/milestones",
    state = "all",
    .limit = Inf
)
raw_milestone <- raw_milestones[[5L]]
format_milestone(raw_milestone)



[Package IssueTrackeR version 1.1.1 Index]