Learn R Programming

assertive (version 0.3-0)

is_rstudio_current: Is RStudio the current version?

Description

Checks to see if the running version of RStudio is the current version.

Usage

is_rstudio_current()

Arguments

Value

  • is_rstudio_current returns TRUE or FALSE, and assert_is_rstudio_current throws an error in the event of an out of date RStudio. Non-RStudio IDEs throw an error.

References

This function is engineered from the downloadUpdateInfo function from https://github.com/rstudio/rstudio/blob/master/src/cpp/session/modules/SessionUpdates.R where the string for the OS is described in beginUpdateCheck from https://github.com/rstudio/rstudio/blob/master/src/cpp/session/modules/SessionUpdates.cpp

See Also

is_rstudio, is_rstudio_desktop