Get latest RStudio version number
Usage
latest_version(
type = c("desktop", "server"),
stable = TRUE,
pro = FALSE,
os = NULL,
use_cache = TRUE,
max_cache_age = "1 day"
)Arguments
- type
Either
"desktop"for RStudio Desktop or"server"for RStudio Server release metadata.- stable
Set to
FALSEto retrieve release metadata of RStudio preview builds instead of stable builds.- pro
TRUEfor the proprietary RStudio (Server) Pro edition andFALSEfor the open-source RStudio (Server) edition.- os
The OS codename for which the RStudio version was built. If
NULL, it will be auto-detected for the current system.- use_cache
Whether or not to return cached results if possible. If
FALSE, results are always newly fetched regardless ofmax_cache_age.- max_cache_age
Duration after which cached results are refreshed (i.e. newly fetched). A valid lubridate duration. Use
Infto disable cache expiry. Only relevant ifuse_cache = TRUE. Defaults to 1 day (24 hours).