Skip to content

Commit a74cb3e

Browse files
Use rlang to generate quosure list (#3842) (#3845)
Avoids making assumptions about internals of quosure lists Co-authored-by: Lionel Henry <[email protected]>
1 parent 984bf51 commit a74cb3e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/testthat/helper-facet.r

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11

22
quos_list <- function(...) {
3-
x <- list(...)
4-
names(x) <- names2(x)
5-
structure(x, class = "quosures")
3+
new_quosures(list(...))
64
}

0 commit comments

Comments
 (0)