Skip to content

Commit 8bc39f2

Browse files
authored
Use rlang to generate quosure list (#3842)
Avoids making assumptions about internals of quosure lists
1 parent 53edc51 commit 8bc39f2

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)