Skip to content

Commit 9713595

Browse files
committed
make a comment for the next person to trip over this
1 parent 24b6f20 commit 9713595

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R/aes.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ rename_aes <- function(x) {
189189
}
190190
x
191191
}
192+
193+
# `x` is assumed to be a strict list of quosures;
194+
# it should have no non-quosure constants in it, even though `aes()` allows it.
192195
substitute_aes <- function(x, fun = standardise_aes_symbols, ...) {
193196
x <- lapply(x, function(aesthetic) {
194197
as_quosure(fun(quo_get_expr(aesthetic), ...), env = environment(aesthetic))

0 commit comments

Comments
 (0)