using_github_codespaces
checks whether code is being run in a
GitHub Codespaces environment.
using_github_actions()
reports whether GitHub Actions is being
used
Examples
# Check if GitHub Codespaces is being used
using_github_codespaces()
#> [1] FALSE
# Check if the 'octocat-literate-space-parakeet-mld5' codespace is being used
using_python_venv(env = "octocat-literate-space-parakeet-mld5")
#> [1] FALSE
using_github_actions()
#> [1] TRUE