pb_releases: List releases in repository

View source: R/pb_info.R

pb_releasesR Documentation

List releases in repository

Description

This function retrieves information about all releases attached to a given repository.

Usage

pb_releases(
  repo = guess_repo(),
  .token = gh::gh_token(),
  verbose = getOption("piggyback.verbose", default = TRUE)
)

Arguments

repo

GitHub repository specification in the form of "owner/repo", if not specified will try to guess repo based on current working directory.

.token

a GitHub API token, defaults to gh::gh_token()

verbose

defaults to TRUE, use FALSE to silence messages

Value

a dataframe of all releases available within a repository.

Examples


try({ # wrapped in try block to prevent CRAN errors
 pb_releases("nflverse/nflverse-data")
})


piggyback documentation built on July 26, 2023, 5:31 p.m.