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.
bquote()
1 parent 6d01b3c commit 9eb9310Copy full SHA for 9eb9310
R/scale-.R
@@ -1454,5 +1454,6 @@ trans_support_nbreaks <- function(trans) {
1454
}
1455
1456
allow_lambda <- function(x) {
1457
- if (is_formula(x, lhs = FALSE)) as_function(x) else x
+ # we check the 'call' class to prevent interpreting `bquote()` calls as a function
1458
+ if (is_formula(x, lhs = FALSE) && !inherits(x, "call")) as_function(x) else x
1459
0 commit comments