Skip to content

Commit

Permalink
Fix warn (#612)
Browse files Browse the repository at this point in the history
* fix warnings in tests

* fix

* vig

* fx vig

* fix

* fix

* fix, lintr

* fix

* lintr, code-style, fix vignette

* fix vignette?

* fix

* fix

* fix

* fix?

* docs, readme

* styler
  • Loading branch information
strengejacke committed Jun 30, 2023
1 parent 6090d1c commit a4da2a1
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion R/diagnostic_posterior.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
#' # rstanarm models
#' # -----------------------------------------------
#' if (require("rstanarm", quietly = TRUE)) {
#' model <- stan_glm(mpg ~ wt + gear, data = mtcars, chains = 2, iter = 200, refresh = 0)
#' model <- suppressWarnings(
#' stan_glm(mpg ~ wt + gear, data = mtcars, chains = 2, iter = 200, refresh = 0)
#' )
#' diagnostic_posterior(model)
#' }
#'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ library("bayestestR")

> **Tip**
>
> **Instead of `library(datawizard)`, use `library(easystats)`.** **This
> **Instead of `library(bayestestR)`, use `library(easystats)`.** **This
> will make all features of the easystats-ecosystem available.**
>
> **To stay updated, use `easystats::install_latest()`.**
Expand Down Expand Up @@ -161,7 +161,7 @@ describe_posterior(
##
## Parameter | Median | 95% CI | pd | ps
## --------------------------------------------------
## Posterior | 0.01 | [-1.97, 1.99] | 50.58% | 0.47
## Posterior | -0.01 | [-1.94, 1.97] | 50.57% | 0.47
```

`describe_posterior()` works for many objects, including more complex
Expand Down
4 changes: 3 additions & 1 deletion man/diagnostic_posterior.Rd

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

Binary file modified man/figures/unnamed-chunk-10-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/unnamed-chunk-12-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/unnamed-chunk-14-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/unnamed-chunk-16-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/unnamed-chunk-7-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/unnamed-chunk-8-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a4da2a1

Please sign in to comment.