We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e96286 commit d20bda8Copy full SHA for d20bda8
R/utils.R
@@ -1025,3 +1025,11 @@ try_library <- function(pkg, fun = NULL) {
1025
is_rstudio <- function() {
1026
requireNamespace('rstudioapi', quietly = TRUE) && rstudioapi::isAvailable()
1027
}
1028
+
1029
1030
+# TODO: warn Windows users to use 1.2.x in some scenarios?
1031
+# https://github.com/ropensci/plotly/issues/1211
1032
+rstudio_version <- function() {
1033
+ if (!is_rstudio()) return(NA)
1034
+ rstudioapi::versionInfo()$version
1035
+}
0 commit comments