Skip to contents

Get Bioconductor version from lockfile

Usage

get_version_bioc(x)

Arguments

x

A 'rt_list' or 'rt_tibble' class object. An single output from read_lock().

Value

A character string with version or NA

Examples

paths <- file.path(system.file("extdata", package = "renvtools"), "renv-r4.4.1.lock")
l <- read_lock(paths, format = "list")
get_version_bioc(l)
#> [1] "3.19"