get_gh_token: Get GitHub token

get_gh_tokenR Documentation

Get GitHub token

Description

Get GitHub token

Usage

get_gh_token(token_name = "")

Arguments

token_name

Optional name of token to use

Value

The value of the GitHub access token extracted from environment variables.

See Also

Other github: get_default_github_branch(), get_latest_commit(), use_github_action_pkgcheck()

Examples

## Not run: 
token <- get_gh_token ()

## End(Not run)

ropenscilabs/pkgcheck documentation built on Nov. 24, 2024, 8:31 p.m.