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 ff27ca5 commit 7b32e7eCopy full SHA for 7b32e7e
R/ggplotly.R
@@ -1157,7 +1157,7 @@ verifyUnit <- function(u) {
1157
# Use public API for getting the unit's type, if available
1158
# https://github.com/ropensci/plotly/pull/1646#issue-331268260
1159
getUnitType <- function(u) {
1160
- tryNULL(get("unitType", envir = asNamespace("grid"))) %||%
+ tryNULL(get("unitType", envir = asNamespace("grid"))(u)) %||%
1161
attr(u, "unit")
1162
}
1163
0 commit comments