is_on_ci: Determines if the environment is a continuous integration...

View source: R/is_on_ci.R

is_on_ciR Documentation

Determines if the environment is a continuous integration service

Description

Determines if the environment is a continuous integration service

Usage

is_on_ci()

Value

TRUE if run on AppVeyor or Travis CI, FALSE otherwise

Note

It is possible to fake being on continuous integration service, in this case GitHub Actions, using:

“'r Sys.setenv(GITHUB_ACTIONS = "I fake being on GitHub Actions") is_on_ci() # Will be true “'

To undo this, do

“'r Sys.setenv(GITHUB_ACTIONS = "") is_on_ci() # Will be false “'

Author(s)

Richèl J.C. Bilderbeek

Examples

is_on_ci()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.