getVersion: Return the current version of the RStudio API

View source: R/code.R

getVersionR Documentation

Return the current version of the RStudio API

Description

Return the current version of the RStudio API

Usage

getVersion()

Value

A numeric_version which you can compare to a string and get correct results.

Examples


## Not run: 
if (rstudioapi::getVersion() < "0.98.100") {
  message("Your version of RStudio is quite old")
}

## End(Not run)


rstudioapi documentation built on July 9, 2023, 6:59 p.m.