Skip to contents

A repository of the user is named alone, such as rwf; one of someone else with its owner, such as r-lib/gh.

Usage

repo_label(commits, user)

Arguments

commits

Rows with an owner and a repo, such as the commits table of the history.

user

The user name.

Value

A character vector.

Examples

rghcard:::repo_label(data.frame(owner = c("ann", "r-lib"), repo = c("pkg", "gh")), "ann")
#> [1] "pkg"      "r-lib/gh"