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 |
verbose |
A logical value indicating whether to print additional
information. Default is |
Value
a data.frame with 3 entries:
Title: name of the milestone
description: Description of the milestone
due_on: date to with the issue is due
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]