view_tags: View tags within a repository

Description Usage Arguments Details Value Examples

View source: R/tags.R

Description

view_tags() summarises tags in a table with the properties as columns and a row for each tag in the repository. view_tag() returns a list of all properties for a single tag.

Usage

1
2
3
view_tags(repo, n_max = 1000, ...)

view_tag(tag, repo, ...)

Arguments

repo

(string) The repository specified in the format: owner/repo.

n_max

(integer, optional) Maximum number to return. Default: 1000.

...

Parameters passed to gh_page() or gh_request().

tag

(string) The name of the tag.

Details

For more details see the GitHub API documentation:

Value

view_tags() returns a tibble of tag properties. view_tag() returns a list of properties for a single tag.

Tag Properties:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

  # View all tags in a repository
  view_tags("ChadGoymer/githapi")

  # View a single tag
  view_tag("new-tag", "ChadGoymer/githapi")


## End(Not run)

ChadGoymer/githapi documentation built on Oct. 22, 2021, 10:56 a.m.