diff --git a/NEWS.md b/NEWS.md index b2bc9ade..b223f663 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,6 @@ # bayesplot (development version) +* Fix assignment-in-call bug in `mcmc_rank_ecdf()` (#). * Replaced deprecated `dplyr` and `tidyselect` functions (`top_n`, `one_of`, `group_indices`) with their modern equivalents to ensure future compatibility. (#431) * Documentation added for all exported `*_data()` functions (#209) * Improved documentation for `binwidth`, `bins`, and `breaks` arguments to clarify they are passed to `ggplot2::geom_area()` and `ggdist::stat_dots()` in addition to `ggplot2::geom_histogram()` diff --git a/R/mcmc-traces.R b/R/mcmc-traces.R index cad857ae..21252085 100644 --- a/R/mcmc-traces.R +++ b/R/mcmc-traces.R @@ -515,7 +515,7 @@ mcmc_rank_ecdf <- } else { K }, - L <- n_chain + L = n_chain ) data_lim <- data.frame( upper = lims$upper / n_iter - (plot_diff == TRUE) * x,