Skip to contents

A page of a repository by its path on GitHub without the user name, such as rwf/issues for /ann/rwf/issues.

Usage

page_label(path, user)

Arguments

path

The paths, as GitHub gives them.

user

The user name.

Value

A character vector.

Examples

rghcard:::page_label(c("/ann/rwf", "/ann/rwf/blob/main/README.md"), "ann")
#> [1] "rwf"                     "rwf/blob/main/README.md"