We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.data
1 parent bc3e401 commit 01018d3Copy full SHA for 01018d3
NEWS.md
@@ -1,6 +1,7 @@
1
2
# ggplot2 (development version)
3
4
+* Fixed performance loss when the `.data` pronoun is used in `aes()` (#5730).
5
* Fixed bug where discrete scales could not map aesthetics only consisting of
6
`NA`s (#5623)
7
* Facet evaluation is better at dealing with inherited errors
R/aes.R
@@ -430,7 +430,7 @@ alternative_aes_extract_usage <- function(x) {
430
}
431
432
extract_target_is_likely_data <- function(x, data, env) {
433
- if (!is.name(x[[2]])) {
+ if (!is.name(x[[2]]) || identical(x[[2]], quote(.data))) {
434
return(FALSE)
435
436
0 commit comments