Useful for linking to files on Github that live in a local clone of a repo
gh_link(
text = NULL,
path,
repo,
user = "petrbouchal",
remote = NULL,
branch = "main"
)
Link text
path to file (the bit that goes after /tree/branch, so presumably the local path from project root)
repo name; used if `remote` is not provided.
Github user; used if `remote` is not provided. Defaults to `"petrbouchal"`
remote in the form of user/repo.
branch. Default `"main"`
character vector of same length as inputs
Inputs are recycled if not all of the same length