is_on_ci | R Documentation |
Determines if the environment is a continuous integration service
is_on_ci()
TRUE if run on AppVeyor or Travis CI, FALSE otherwise
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 “'
Richèl J.C. Bilderbeek
is_on_ci()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.