Get renv version from lockfile
Arguments
- x
A 'rt_list' or 'rt_tibble' class object. An single output from
read_lock()
.
Examples
paths <- file.path(system.file("extdata", package = "renvtools"), "renv-r4.4.1.lock")
l <- read_lock(paths, format = "list")
get_version_renv(l)
#> [1] "1.0.7"