Skip to content

Commit

Permalink
docs rebuild + cran comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mjskay committed Sep 15, 2024
1 parent 3691bd9 commit bcc3374
Show file tree
Hide file tree
Showing 448 changed files with 3,741 additions and 2,642 deletions.
10 changes: 9 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ output: github_document
knitr::opts_chunk$set(
fig.path = "man/figures/README/"
)
if (capabilities("cairo")) {
knitr::opts_chunk$set(
fig.retina = 2
)
if (requireNamespace("ragg", quietly = TRUE)) {
knitr::opts_chunk$set(
dev = "ragg_png"
)
} else if (capabilities("cairo")) {
knitr::opts_chunk$set(
dev = "png",
dev.args = list(png = list(type = "cairo"))
)
}
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ ABC %>%
ylab("condition")
```

![](man/figures/README/make_data-1.png)<!-- -->
<img src="man/figures/README/make_data-1.png" width="672" />

A hierarchical model of this data might fit an overall mean across the
conditions (`overall_mean`), the standard deviation of the condition
Expand Down Expand Up @@ -363,7 +363,7 @@ m %>%
stat_eye()
```

![](man/figures/README/stat_eye-1.png)<!-- -->
<img src="man/figures/README/stat_eye-1.png" width="672" />

Or one can employ the similar “half-eye” plot:

Expand All @@ -374,7 +374,7 @@ m %>%
stat_halfeye()
```

![](man/figures/README/stat_halfeye-1.png)<!-- -->
<img src="man/figures/README/stat_halfeye-1.png" width="672" />

A variety of other stats and geoms for visualizing priors and posteriors
are available; see `vignette("slabinterval", package = "ggdist")` for an
Expand Down Expand Up @@ -407,7 +407,7 @@ m %>%
stat_dots(quantiles = 100)
```

![](man/figures/README/quantile_dotplots-1.png)<!-- -->
<img src="man/figures/README/quantile_dotplots-1.png" width="672" />

The idea is to get away from thinking about the posterior as indicating
one canonical point or interval, but instead to represent it as (say)
Expand Down Expand Up @@ -495,7 +495,7 @@ bind_rows(linear_results, bayes_results) %>%
geom_pointinterval(position = position_dodge(width = .3))
```

![](man/figures/README/broom_bind-1.png)<!-- -->
<img src="man/figures/README/broom_bind-1.png" width="672" />

Shrinkage towards the overall mean is visible in the Bayesian results.

Expand Down Expand Up @@ -525,7 +525,7 @@ m %>%
geom_point(aes(x = response), data = ABC)
```

![](man/figures/README/pp_intervals-1.png)<!-- -->
<img src="man/figures/README/pp_intervals-1.png" width="672" />

This plot shows 66% and 95% quantile credible intervals of posterior
median for each condition (point + black line); 95%, 80%, and 50%
Expand Down Expand Up @@ -566,7 +566,7 @@ mtcars %>%
scale_fill_brewer()
```

![](man/figures/README/pp_bands-1.png)<!-- -->
<img src="man/figures/README/pp_bands-1.png" width="672" />

`ggdist::stat_lineribbon(aes(y = .prediction), .width = c(.99, .95, .8, .5))`
is one of several shortcut geoms that simplify common combinations of
Expand Down Expand Up @@ -614,7 +614,7 @@ mtcars %>%
facet_wrap(~ am) # facet by am
```

![](man/figures/README/pp_bands_facet-1.png)<!-- -->
<img src="man/figures/README/pp_bands_facet-1.png" width="672" />

Or, if you would like overplotted posterior fit lines, you can instead
use `tidybayes::add_epred_draws()` to get draws from conditional means
Expand All @@ -634,7 +634,7 @@ mtcars %>%
facet_wrap(~ am)
```

![](man/figures/README/spaghetti-1.png)<!-- -->
<img src="man/figures/README/spaghetti-1.png" width="672" />

Animated hypothetical outcome plots (HOPs) can also be easily
constructed by using `gganimate`:
Expand Down Expand Up @@ -679,5 +679,5 @@ have encountered, but I would love to make it cover more!
## Citing `tidybayes`

Matthew Kay (2024). *tidybayes: Tidy Data and Geoms for Bayesian
Models*. R package version 3.0.6, <https://mjskay.github.io/tidybayes/>.
Models*. R package version 3.0.7, <https://mjskay.github.io/tidybayes/>.
DOI: [10.5281/zenodo.1308151](https://doi.org/10.5281/zenodo.1308151).
4 changes: 2 additions & 2 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
url: http://mjskay.github.io/tidybayes
url: https://mjskay.github.io/tidybayes


template:
Expand All @@ -9,7 +9,7 @@ template:

authors:
Matthew Kay:
href: http://www.mjskay.com
href: https://www.mjskay.com


reference:
Expand Down
13 changes: 6 additions & 7 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
## Resubmission
This is a resubmission fixing some failures of some examples on Windows on CRAN. Original submission comments are below.

## Submission comments
This submission fixes a few bugs, including a minor test case failure caused by the next version of brms (2.20.1).
This submission fixes a few minor bugs, including a NOTE and an ERROR on CRAN.

## Test environments
* MacOS (github), R-release
Expand All @@ -11,15 +8,17 @@ This submission fixes a few bugs, including a minor test case failure caused by
* Windows (winbuilder), R-devel
* Linux (github), R-devel
* Linux (github), R-release
* Linux (github), R-oldrelease
* Linux (github), R 3.6
* Linux (github), R-oldrelease-1
* Linux (github), R-oldrelease-2
* Linux (github), R-oldrelease-3
* Linux (github), R-oldrelease-4

## R CMD check results
0 errors | 0 warnings | 0 notes

## revdepcheck results

We checked 12 reverse dependencies (11 from CRAN + 1 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.
We checked 14 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
62 changes: 31 additions & 31 deletions docs/404.html
100644 → 100755

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

Loading

0 comments on commit bcc3374

Please sign in to comment.