Skip to content

Commit 1874f9a

Browse files
committed
CRAN release 0.17.0
1 parent 6a71e69 commit 1874f9a

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Package: rstudioapi
22
Title: Safely Access the RStudio API
33
Description: Access the RStudio API (if available) and provide informative error
44
messages when it's not.
5-
Version: 0.16.0.9000
5+
Version: 0.17.0
66
Authors@R: c(
77
person("Kevin", "Ushey", role = c("aut", "cre"), email = "[email protected]"),
88
person("JJ", "Allaire", role = c("aut"), email = "[email protected]"),

NEWS.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11

2-
# rstudioapi (under development)
2+
# rstudioapi 0.17.0
33

44
* Added `getMode()`, which can be used to differentiate between Desktop
55
and Server installations of RStudio. (#280)
66

7+
78
# rstudioapi 0.16.0
89

910
* `restartSession()` gains the `clean` argument, for RStudio 2024.04
1011
and newer.
1112

1213
* Added `setGhostText()` for setting ghost text in the current editor.
1314

15+
1416
# rstudioapi 0.15.0
1517

1618
* Added `getDelegatedAzureToken` for Posit Workbench users needing to expose
1719
OAuth2 tokens for Azure services that have already had permissions configured
1820

21+
1922
# rstudioapi 0.14
2023

2124
* `documentPath()` now marks the encoding of file paths as UTF-8. (#257)

R/code.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ getMode <- function() {
8989
# use fallback if not
9090
rstudio <- as.environment("tools:rstudio")
9191
if (rstudio$.rs.isDesktop()) "desktop" else "server"
92-
92+
9393
}
9494

9595

0 commit comments

Comments
 (0)