Skip to content

Commit

Permalink
suppressWarnings
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Sep 15, 2023
1 parent 9c0359c commit 4e063c0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
14 changes: 12 additions & 2 deletions R/r2_bayes.R
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,20 @@
#'
#' \dontrun{
#' if (require("brms")) {
#' model <- brms::brm(mpg ~ wt + cyl, data = mtcars)
#' model <- suppressWarnings(brms::brm(
#' mpg ~ wt + cyl,
#' data = mtcars,
#' silent = 2,
#' refresh = 0
#' ))
#' r2_bayes(model)
#'
#' model <- brms::brm(Petal.Length ~ Petal.Width + (1 | Species), data = iris)
#' model <- suppressWarnings(brms::brm(
#' Petal.Length ~ Petal.Width + (1 | Species),
#' data = iris,
#' silent = 2,
#' refresh = 0
#' ))
#' r2_bayes(model)
#' }
#' }
Expand Down
14 changes: 12 additions & 2 deletions man/r2_bayes.Rd

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

0 comments on commit 4e063c0

Please sign in to comment.