Skip to content

Commit 196a9d4

Browse files
Use the fully qualified forms for quos (#3161)
1 parent ae1c8f0 commit 196a9d4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

R/facet-grid-.r

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ facet_grid <- function(rows = NULL, cols = NULL, scales = "fixed",
150150
stop("A grid facet specification can't have more than two dimensions", call. = FALSE)
151151
}
152152
if (n == 1L) {
153-
rows <- quos()
153+
rows <- rlang::quos()
154154
cols <- facets_list[[1]]
155155
} else {
156156
rows <- facets_list[[1]]
@@ -182,12 +182,12 @@ grid_as_facets_list <- function(rows, cols) {
182182
}
183183

184184
if (is.null(rows)) {
185-
rows <- quos()
185+
rows <- rlang::quos()
186186
} else {
187187
rows <- rlang::quos_auto_name(rows)
188188
}
189189
if (is.null(cols)) {
190-
cols <- quos()
190+
cols <- rlang::quos()
191191
} else {
192192
cols <- rlang::quos_auto_name(cols)
193193
}

R/ggplot2.r

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33

44
#' @import scales grid gtable
55
#' @importFrom stats setNames
6-
#' @importFrom rlang quo quos
76
NULL

0 commit comments

Comments
 (0)