Skip to contents

Format issues list from GH

Usage

gh_issue_fmt(
  i,
  which = c("title", "number", "body", "labels", "url", "created", "updated",
    "gh_user_issue")
)

Arguments

i

List of issues from gh_issue_fetch()

which

Which fields to include

Value

Issues formated as a data frame

Examples

i <- gh_issue_fetch(owner = "ropensci", repo = "weathercan")
i <- gh_issue_fmt(i, which = "title")
i
#> # A tibble: 6 × 1
#>   title                                           
#>   <chr>                                           
#> 1 Possible behaviour change with `weather_dl`     
#> 2 Vision and best practices                       
#> 3 Review vignettes                                
#> 4 Vignette: Homogenizing ECCC Data from weathercan
#> 5 Add package vision                              
#> 6 Add French localisation