From 8345f966d4c7ff0f60aafa4321d874f761e03f03 Mon Sep 17 00:00:00 2001 From: ishaan-arora-1 Date: Tue, 10 Mar 2026 18:19:14 +0530 Subject: [PATCH] Fix deprecated formula syntax in aes() call Replace `aes(x = ~ value)` with `aes(x = .data$value)` in the internal mcmc_hist/mcmc_dens code path. Fixes #441 --- R/mcmc-distributions.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/mcmc-distributions.R b/R/mcmc-distributions.R index fbb34ad2..54f90ff8 100644 --- a/R/mcmc-distributions.R +++ b/R/mcmc-distributions.R @@ -489,7 +489,7 @@ mcmc_dots_by_chain <- function( data <- melt_mcmc(x, value.name = "value") n_param <- num_params(data) - graph <- ggplot(data, aes(x = ~ value)) + + graph <- ggplot(data, aes(x = .data$value)) + geom_histogram( set_hist_aes(freq), fill = get_color("mid"),