Skip to content

Commit ea57200

Browse files
teunbrandyjunechoe
andauthored
Update R/boilerplates.R
Thanks June! Co-authored-by: June Choe <[email protected]>
1 parent 075ea86 commit ea57200

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/boilerplates.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ boilerplate.Geom <- function(x, ..., checks, env = caller_env()) {
8181
}
8282

8383
# Build function formals
84-
fmls <- list2(
84+
fmls <- rlang::pairlist2(
8585
mapping = args$mapping,
8686
data = args$data,
8787
stat = args$stat %||% "identity",
8888
position = args$position %||% "identity",
89-
`...` = quote(expr = ),
89+
`...` = rlang::missing_arg(),
9090
!!!args[extra_args],
9191
na.rm = args$na.rm %||% FALSE,
9292
show.legend = args$show.legend %||% NA,

0 commit comments

Comments
 (0)