50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

rworkflows (version 1.0.6)

gha_python_versions: GitHub Actions python versions

Description

Retrieve all python versions available for GitHub Actions runners.

Usage

gha_python_versions(
  python_version = NULL,
  versions_explicit = TRUE,
  cache_dir = tools::R_user_dir(package = "rworkflows", which = "cache"),
  verbose = TRUE
)

Value

Yaml with info for all versions of python, or a character string of one or more versions of python.

Arguments

python_version

Which python version to use on each OS (e.g. "3.10", "3.7.5", or "3.x"). (NULL means python will not be installed on that OS). See here or rworkflows:::gha_python_versions() for all available python versions. See here for details on the actions/setup-miniconda action. See here for details on the actions/setup-python action.

versions_explicit

Specify R/Bioc versions explicitly (e.g. r: 4.2.0, bioc: 3.16) as opposed to flexibly (e.g. r: "latest", bioc: "release").

verbose

Print messages.