gha_python_versions: GitHub Actions python versions

View source: R/gha_python_versions.R

gha_python_versionsR Documentation

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
)

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.

Value

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


rworkflows documentation built on Sept. 23, 2024, 1:08 a.m.