Releases: rstudio/rstudioapi
rstudioapi 0.19.0
-
getDelegatedAzureToken()gains anasargument. Withas = "AzureToken",
the token is returned as an R6 object compatible with theAzureTokenclass
from theAzureAuthpackage, so it can be passed directly to packages like
AzureGraphandMicrosoft365R. (rstudio/rstudio#17619) -
getDelegatedAzureToken()now returns the same token shape in all IDEs:
the relativeexpires_infield is converted to an absoluteexpires_at
timestamp, matching what RStudio sessions already returned. -
getMode()no longer fails on very old versions of RStudio that lack the
internal.rs.isDesktop()helper. In that case, it now falls back to
versionInfo()$mode, which has been available since RStudio 0.97.124. (#326) -
Added
showEditSuggestion()for displaying edit suggestions in the RStudio
editor. The function takes a document range and suggested replacement text,
allowing RStudio to present a visual diff that users can accept or dismiss.
rstudioapi 0.17.0
- Added
getMode(), which can be used to differentiate between Desktop
and Server installations of RStudio. (#280)