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.
StatAlign$finish_layer
1 parent 0ec4e7e commit a502f6cCopy full SHA for a502f6c
R/stat-align.R
@@ -77,7 +77,7 @@ StatAlign <- ggproto(
77
78
finish_layer = function(data, params) {
79
# Silently remove out-of-bounds padding vertices
80
- var <- flipped_names(params$flipped_aes)$x
+ var <- flipped_names(params$flipped_aes %||% FALSE)$x
81
remove <- is.na(data[[var]]) & (data$align_padding %||% FALSE)
82
vec_slice(data, !remove)
83
}
0 commit comments