bioc_r_versions: Bioconductor / R versions

View source: R/bioc_r_versions.R

bioc_r_versionsR Documentation

Bioconductor / R versions

Description

Get the respective version of R for a given version of Bioconductor.

Usage

bioc_r_versions(bioc_version = NULL, depth = NULL, return_opts = FALSE)

Arguments

bioc_version

Version of Bioc to return info for. Can be:

"devel"

Get the current development version of Bioc.

"release"

Get the current release version of Bioc.

<numeric>

A specific Bioc version number (e.g. 3.16).

NULL

Return info for all Bioc versions.

depth

How many levels deep into the R version to include. For example, is the R version number is "4.2.0", the following depths would return:

depth=NULL:

"4.2.0"

depth=1:

"4"

depth=2:

"4.2"

depth=3:

"4.2.0"

return_opts

Return a character vector of all valid Bioc version names.

Value

Named list of Bioc/R versions

Examples

ver <- bioc_r_versions(bioc_version="devel")

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