check-scalar-hasGithubPat: Does the current session have a GitHub personal access token?

check-scalar-hasGithubPatR Documentation

Does the current session have a GitHub personal access token?

Description

Required for package installs from GitHub, otherwise will hit rate limit.

Usage

hasGithubPat()

Value

TRUE on success; FALSE on failure, with cause set.

Note

Updated 2019-10-04.

Examples

## TRUE ====
Sys.setenv("GITHUB_PAT" = "XXX")
hasGithubPat()

## FALSE ====
Sys.setenv("GITHUB_PAT" = "")
hasGithubPat()

acidgenomics/goalie documentation built on Dec. 11, 2023, 11:36 p.m.