Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jun 30, 2023
1 parent c156e2d commit 50e56c0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions R/diagnostic_draws.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
#' set.seed(333)
#'
#' if (require("brms", quietly = TRUE)) {
#' model <- brm(mpg ~ wt * cyl * vs,
#' model <- suppressWarning(brm(mpg ~ wt * cyl * vs,
#' data = mtcars,
#' iter = 100, control = list(adapt_delta = 0.80),
#' refresh = 0
#' )
#' ))
#' diagnostic_draws(model)
#' }
#' }
Expand Down
4 changes: 2 additions & 2 deletions man/diagnostic_draws.Rd

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

2 changes: 1 addition & 1 deletion vignettes/bayes_factors.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ ggplot(stack(insight::get_parameters(pairs_bayes)), aes(x = values, fill = ind))
theme(legend.position = "none")
```
```{r echo=FALSE, warning=FALSE, message=FALSE}
(pairs_bayes <- pairs(emmeans(fit_bayes, ~Species, data = iris)))
(pairs_bayes <- suppressWarnings(pairs(emmeans(fit_bayes, ~Species, data = iris))))
ggplot(stack(insight::get_parameters(pairs_bayes)), aes(x = values, fill = ind)) +
geom_density(linewidth = 1) +
Expand Down

0 comments on commit 50e56c0

Please sign in to comment.