Skip to content

Prepare v1.12.0 for release #341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: bayesplot
Type: Package
Title: Plotting for Bayesian Models
Version: 1.11.1.9000
Date: 2024-02-14
Version: 1.12.0
Date: 2025-04-09
Authors@R: c(person("Jonah", "Gabry", role = c("aut", "cre"), email = "jsg2201@columbia.edu"),
person("Tristan", "Mahr", role = "aut"),
person("Paul-Christian", "Bürkner", role = "ctb"),
Expand Down Expand Up @@ -37,6 +37,7 @@ Imports:
rlang (>= 0.3.0),
stats,
tibble (>= 2.0.0),
tidyr,
tidyselect,
utils
Suggests:
Expand All @@ -55,7 +56,7 @@ Suggests:
survival,
testthat (>= 2.0.0),
vdiffr (>= 1.0.2)
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
VignetteBuilder: knitr
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
14 changes: 12 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# bayesplot 1.11.1.9000
# bayesplot 1.12.0

* Expand checking workflows to more platforms by @andrjohns (#324)
* Skip tests depending on Suggested dependency rstantools if not installed by @MichaelChirico (#325)
* Skip tests depending on Suggested dependency gridExtra if not installed by @MichaelChirico (#326)
* Fix missing legends for unobserved levels in rhat and neff plots (#328)
* Document problems with `ppc_stat` with `stat="mean"` (#329)
* Ensure rank overlay plot starts at 0 even if not all bins present, thanks @sims1253 (#332)
* Compatibility with ggplot2 3.6.0 by @teunbrand (#337)
* Update GitHub actions workflows (#338)
* Remove deprecated functions from `available_ppc()` (#340)
* Fix missing counts in `ppc_bars_data()` by @TeemuSailynoja, thanks @famuvie (#342)

Items for next release go here

# bayesplot 1.11.1

Expand Down
2 changes: 1 addition & 1 deletion R/mcmc-overview.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#' an additional column `"Chain"` that contains the chain number (an integer)
#' corresponding to each row in the data frame.
#' * __draws__: Any of the `draws` formats supported by the
#' \pkg{\link{posterior}} package.
#' \pkg{posterior} package.
#'
#' __Note__: typically the user should *not* include warmup iterations
#' in the object passed to **bayesplot** plotting functions, although for
Expand Down
2 changes: 1 addition & 1 deletion R/mcmc-scatterplots.R
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ mcmc_hex <- function(x,
#' `alpha`.
#' @param grid_args,save_gg_objects For `mcmc_pairs()`, arguments to pass to
#' [bayesplot_grid()]. For example, since `mcmc_pairs()` returns
#' more than a single ggplot object, using [ggtitle()] afterwards
#' more than a single ggplot object, using `ggtitle()` afterwards
#' will not work. But you you can still add a title to the plot using
#' `grid_args = list(top="My title")`.
#'
Expand Down
1 change: 1 addition & 0 deletions R/ppc-discrete.R
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ ppc_bars_data <-
data <-
reshape2::melt(tmp_data, id.vars = "group") %>%
count(.data$group, .data$value, .data$variable) %>%
tidyr::complete(.data$group, .data$value, .data$variable, fill = list(n = 0)) %>%
group_by(.data$variable, .data$group) %>%
mutate(proportion = .data$n / sum(.data$n)) %>%
ungroup() %>%
Expand Down
2 changes: 1 addition & 1 deletion man-roxygen/args-mcmc-x.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' @param x An object containing MCMC draws:
#' * A 3-D array, matrix, list of matrices, or data frame. The [MCMC-overview]
#' page provides details on how to specify each these.
#' * A `draws` object from the \pkg{\link{posterior}} package (e.g.,
#' * A `draws` object from the \pkg{posterior} package (e.g.,
#' `draws_array`, `draws_rvars`, etc.).
#' * An object with an `as.array()` method that returns the same kind of 3-D
#' array described on the [MCMC-overview] page.
Expand Down
2 changes: 1 addition & 1 deletion man/MCMC-combos.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/MCMC-diagnostics.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/MCMC-distributions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/MCMC-intervals.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/MCMC-overview.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/MCMC-parcoord.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/MCMC-recover.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/MCMC-scatterplots.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/MCMC-traces.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions tests/testthat/_snaps/ppc-discrete/ppc-bars-default.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 15 additions & 7 deletions tests/testthat/_snaps/ppc-discrete/ppc-bars-grouped-default.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading