Skip to contents

These functions return the current R version and the the previously installed R version. The format of the returned version matches the default folder name where R is installed.

Usage

r_version()

previous_r_version()

Value

string of R version

Examples

r_version()
#> [1] "R-4.3.1"

previous_r_version()
#>  Could not determine the last R version installed.