Skip to content

Commit

Permalink
fix: aes_string() deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindhebbali committed Nov 7, 2024
1 parent 30ed1fd commit e4787f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ds-group-summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ plot.ds_group_summary <- function(x, print_plot = TRUE, ...) {
x %>%
use_series(plot_data) %>%
ggplot() +
geom_boxplot(aes_string(x = x_lab, y = y_lab), fill = "blue") +
geom_boxplot(aes(x = .data[[x_lab]], y = .data[[y_lab]]), fill = "blue") +
xlab(x_lab) + ylab(y_lab) +
ggtitle(paste(y_lab, "by", x_lab))

Expand Down

0 comments on commit e4787f4

Please sign in to comment.