is_rstudio_current: Is RStudio the current version?

Description Usage Arguments Value References See Also

View source: R/is-ide.R

Description

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

Usage

1
2
3
assert_is_rstudio_current(severity = getOption("assertive.severity", "stop"))

is_rstudio_current()

Arguments

severity

How severe should the consequences of the assertion be? Either "stop", "warning", "message", or "none".

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


assertive.reflection documentation built on July 31, 2020, 1:06 a.m.