collect_comments: Collect the body and comments from a Github issue

Description Usage Arguments Value Examples

View source: R/collect_comments.R

Description

Collect the body and comments from a Github issue

Usage

1
2
3
4
collect_comments(url = "https://github.com/JiaxiangBU/add2gh/issues/2",
  repo_owner = "JiaxiangBU",
  repo_name = basename(usethis::proj_path()), out_file_path = c(FALSE,
  here::here("output/tmp.Rmd")), set_number = 1)

Arguments

url

The Github issue url.

repo_owner

The Github id of this repository.

repo_name

The Github repository name.

out_file_path

The saved path.

set_number

The Github issue number.

Value

The comments from a specific issue.

Examples

1
collect_comments("https://github.com/JiaxiangBU/add2gh/issues/2")

JiaxiangBU/add2gh documentation built on Feb. 1, 2020, 8:53 a.m.