Skip to content

Commit

Permalink
Merge branch 'main' into desc-main-update-to-latest-easystats-1733016021
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke authored Dec 13, 2024
2 parents b69a38d + da8a13d commit 173379b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: bayestestR
Title: Understand and Describe Bayesian Models and Posterior Distributions
Version: 0.15.0.2
Version: 0.15.0.3
Authors@R:
c(person(given = "Dominique",
family = "Makowski",
Expand Down Expand Up @@ -95,7 +95,7 @@ Suggests:
lavaan,
lme4,
logspline (>= 2.1.21),
marginaleffects (>= 0.21.0),
marginaleffects (>= 0.24.0),
MASS,
mclust,
mediation,
Expand Down Expand Up @@ -128,4 +128,4 @@ Config/testthat/parallel: true
Config/rcmdcheck/ignore-inconsequential-notes: true
Config/Needs/website: easystats/easystatstemplate
Config/Needs/check: stan-dev/cmdstanr
Remotes: easystats/insight
Remotes: easystats/datawizard
4 changes: 2 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@
#' @keywords internal
.get_marginaleffects_draws <- function(object) {
# errors and checks are handled by marginaleffects
insight::check_if_installed("marginaleffects")
data.frame(marginaleffects::posterior_draws(object, shape = "DxP"))
insight::check_if_installed("marginaleffects", minimum_version = "0.24.0")
data.frame(marginaleffects::get_draws(object, shape = "DxP"))
}

#' @keywords internal
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-marginaleffects.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
skip_on_cran()
skip_if_not_installed("withr")
skip_if_not_installed("rstanarm")
skip_if_not_installed("marginaleffects")
skip_if_not_installed("marginaleffects", minimum_version = "0.24.0")
skip_if_not_installed("collapse")

withr::with_environment(
Expand Down

0 comments on commit 173379b

Please sign in to comment.