From e4787f48fcba7a0873cfe33254d183150d9c8700 Mon Sep 17 00:00:00 2001 From: aravindhebbali Date: Thu, 7 Nov 2024 21:52:31 +0530 Subject: [PATCH] fix: aes_string() deprecation warning --- R/ds-group-summary.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ds-group-summary.R b/R/ds-group-summary.R index 60ff976..ce6d912 100644 --- a/R/ds-group-summary.R +++ b/R/ds-group-summary.R @@ -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))