Skip to content

Commit b982453

Browse files
committed
exempt cut3() from short function form
1 parent f58b6ec commit b982453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/aes.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ NULL
8888
#'
8989
#' # Note that users of your wrapper can use their own functions in the
9090
#' # quoted expressions and all will resolve as it should!
91-
#' cut3 <- \(x) cut_number(x, 3)
91+
#' cut3 <- function(x) cut_number(x, 3)
9292
#' scatter_by(mtcars, cut3(disp), drat)
9393
aes <- function(x, y, ...) {
9494
xs <- arg_enquos("x")

0 commit comments

Comments
 (0)