Skip to content

Commit 1b8c4ce

Browse files
authored
Merge pull request #642 from stan-dev/New-pkgdown-theme
New pkgdown theme
2 parents 2fd2413 + ef0757d commit 1b8c4ce

25 files changed

+217
-123
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ dev-notes/*
2222
revdep/*
2323

2424
^\.github$
25+
^_pkgdown\.yml$

.github/workflows/pkgdown.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib actions#where-to-find-help
3+
on:
4+
# build dev site on merged pushes
5+
push:
6+
branches: [main, master]
7+
# build full site on releases
8+
release:
9+
types: [published]
10+
workflow_dispatch:
11+
12+
name: pkgdown.yaml
13+
14+
jobs:
15+
pkgdown:
16+
runs-on: ubuntu-latest
17+
# Only restrict concurrency for non-PR jobs
18+
concurrency:
19+
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
20+
cancel-in-progress: true
21+
env:
22+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
23+
permissions:
24+
contents: write
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- uses: r-lib/actions/setup-pandoc@v2
29+
30+
- uses: r-lib/actions/setup-r@v2
31+
with:
32+
use-public-rspm: true
33+
34+
- uses: r-lib/actions/setup-r-dependencies@v2
35+
with:
36+
extra-packages: any::pkgdown, local::., stan-dev/pkgdown-config
37+
38+
- name: Build site
39+
run: |
40+
pkgdown::build_site_github_pages(
41+
lazy = FALSE, # change to TRUE if runner times out.
42+
run_dont_run = TRUE,
43+
new_process = TRUE
44+
)
45+
shell: Rscript {0}
46+
47+
- name: Deploy to GitHub pages 🚀
48+
uses: JamesIves/github-pages-deploy-action@v4
49+
with:
50+
clean: false
51+
branch: gh-pages
52+
folder: docs

NEWS.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
# rstanarm v2.32.2
2+
3+
* Update recommendations for responding to convergence warnings by @jgabry in https://github.com/stan-dev/rstanarm/pull/617
4+
* Replace Stan R Packages repo with R-Universe by @andrjohns in https://github.com/stan-dev/rstanarm/pull/624
5+
* Fix mistaken ')' alignment in output test by @MichaelChirico in https://github.com/stan-dev/rstanarm/pull/636
6+
* Default to not computing r_eff for loo by @jgabry in https://github.com/stan-dev/rstanarm/pull/638
7+
* migrate formula machinery from lme4 to reformulas by @bbolker in https://github.com/stan-dev/rstanarm/pull/639
8+
* Fix documentations to address CRAN NOTEs by @yoshidk6 in https://github.com/stan-dev/rstanarm/pull/641
9+
* Use vectorized abs() by @HPCurtis in https://github.com/stan-dev/rstanarm/pull/632
10+
* Use rstantools - Fix Build/Export Errors by @andrjohns in https://github.com/stan-dev/rstanarm/pull/625
11+
12+
# rstanarm v2.32.1
13+
14+
* Avoid error for 1-D unit_vector by @jgabry in https://github.com/stan-dev/rstanarm/pull/606
15+
* Update .set_nreps by @avehtari in https://github.com/stan-dev/rstanarm/pull/612
16+
* Use LTO during compilation
17+
18+
19+
# rstanarm 2.26.1
20+
21+
This release updates rstanarm to use the latest syntax supported by rstan.
22+
23+
* wells dataset wrong variable name by @storopoli in https://github.com/stan-dev/rstanarm/pull/552
24+
* add logo to be displayed in r-universe by @avehtari in https://github.com/stan-dev/rstanarm/pull/569
25+
* Fix CRAN NOTEs and failures by @andrjohns in https://github.com/stan-dev/rstanarm/pull/587
26+
* Implement posterior::as_draws() for rstanarm objects by @jgabry in https://github.com/stan-dev/rstanarm/pull/596
27+
* Array syntax by @bgoodri in https://github.com/stan-dev/rstanarm/pull/597
28+
29+
130
# rstanarm 2.21.3
231

332
### Bug fixes

R/doc-rstanarm-package.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#'
3838
#' @description
3939
#' \if{html}{
40-
#' \figure{stanlogo.png}{options: width="50" alt="https://mc-stan.org/about/logo/"}
40+
#' \figure{logo.svg}{options: width="50" alt="https://mc-stan.org/about/logo/"}
4141
#' \emph{Stan Development Team}
4242
#' }
4343
#'

R/pp_validate.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
#' }
9393
#' }
9494
#' @importFrom ggplot2 rel geom_point geom_segment scale_x_continuous element_line
95-
#'
95+
#' @keywords internal
9696
pp_validate <- function(object, nreps = 20, seed = 12345, ...) {
9797
# based on Samantha Cook's BayesValidate::validate
9898
quant <- function(draws) {

R/stan_betareg.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#' Bayesian beta regression models via Stan
1919
#'
20-
#' \if{html}{\figure{stanlogo.png}{options: width="25" alt="https://mc-stan.org/about/logo/"}}
20+
#' \if{html}{\figure{logo.svg}{options: width="25" alt="https://mc-stan.org/about/logo/"}}
2121
#' Beta regression modeling with optional prior distributions for the
2222
#' coefficients, intercept, and auxiliary parameter \code{phi} (if applicable).
2323
#'

R/stan_biglm.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#' Bayesian regularized linear but big models via Stan
1919
#'
20-
#' \if{html}{\figure{stanlogo.png}{options: width="25" alt="https://mc-stan.org/about/logo/"}}
20+
#' \if{html}{\figure{logo.svg}{options: width="25" alt="https://mc-stan.org/about/logo/"}}
2121
#' This is the same model as with \code{\link{stan_lm}} but it utilizes the
2222
#' output from \code{\link[biglm]{biglm}} in the \pkg{biglm} package in order to
2323
#' proceed when the data is too large to fit in memory.
@@ -92,4 +92,3 @@ stan_biglm <- function(biglm, xbar, ybar, s_y, ...,
9292
prior_PD = prior_PD, algorithm = match.arg(algorithm),
9393
adapt_delta = adapt_delta)
9494
}
95-

R/stan_clogit.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#' Conditional logistic (clogit) regression models via Stan
1919
#'
20-
#' \if{html}{\figure{stanlogo.png}{options: width="25" alt="https://mc-stan.org/about/logo/"}}
20+
#' \if{html}{\figure{logo.svg}{options: width="25" alt="https://mc-stan.org/about/logo/"}}
2121
#' A model for case-control studies with optional prior distributions for the
2222
#' coefficients, intercept, and auxiliary parameters.
2323
#'

R/stan_gamm4.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#' Bayesian generalized linear additive models with optional group-specific
2020
#' terms via Stan
2121
#'
22-
#' \if{html}{\figure{stanlogo.png}{options: width="25" alt="https://mc-stan.org/about/logo/"}}
22+
#' \if{html}{\figure{logo.svg}{options: width="25" alt="https://mc-stan.org/about/logo/"}}
2323
#' Bayesian inference for GAMMs with flexible priors.
2424
#'
2525
#' @export

R/stan_glm.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#' Bayesian generalized linear models via Stan
1919
#'
20-
#' \if{html}{\figure{stanlogo.png}{options: width="25" alt="https://mc-stan.org/about/logo/"}}
20+
#' \if{html}{\figure{logo.svg}{options: width="25" alt="https://mc-stan.org/about/logo/"}}
2121
#' Generalized linear modeling with optional prior distributions for the
2222
#' coefficients, intercept, and auxiliary parameters.
2323
#'

0 commit comments

Comments
 (0)