Usage
renv_lock_r_ver(renv_lock, override_r_ver = NULL)
Arguments
- renv_lock
renv.lock file from which to get the R version
- override_r_ver
Character, override the R version defined in the
renv.lock
file with another version. This is especially useful if
the renv.lock
file lists a version of R not (yet) available through Nix.
Value
a length 1 character vector with the version of R recorded in
renv.lock
Examples
if (FALSE) { # \dontrun{
rix(r_ver = renv_lock_r_ver())
} # }