getVersion {rstudioapi} | R Documentation |
Return the current version of the RStudio API
getVersion()
A numeric_version
which you can compare to a string
and get correct results.
## Not run:
if (rstudioapi::getVersion() < "0.98.100") {
message("Your version of RStudio is quite old")
}
## End(Not run)