diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 70a42cdc..c6d5c99e 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -18,15 +18,20 @@ jobs: fail-fast: false matrix: config: + - {os: macos-latest, r: 'devel'} - {os: macos-latest, r: 'release'} + - {os: macos-latest, r: 'oldrel'} + - {os: windows-latest, r: 'devel'} - {os: windows-latest, r: 'release'} - - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} + - {os: windows-latest, r: 'oldrel'} + - {os: ubuntu-latest, r: 'devel'} - {os: ubuntu-latest, r: 'release'} - - {os: ubuntu-latest, r: 'oldrel-1'} + - {os: ubuntu-latest, r: 'oldrel'} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} R_KEEP_PKG_SOURCE: yes + R_VERSION_TYPE: ${{ matrix.config.r }} steps: - uses: actions/checkout@v3 @@ -36,7 +41,6 @@ jobs: - uses: r-lib/actions/setup-r@v2 with: r-version: ${{ matrix.config.r }} - http-user-agent: ${{ matrix.config.http-user-agent }} use-public-rspm: true - uses: r-lib/actions/setup-r-dependencies@v2 diff --git a/DESCRIPTION b/DESCRIPTION index a205b9ee..833e7c99 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -55,7 +55,7 @@ Suggests: survival, testthat (>= 2.0.0), vdiffr (>= 1.0.2) -RoxygenNote: 7.3.0 +RoxygenNote: 7.3.1 VignetteBuilder: knitr Encoding: UTF-8 Roxygen: list(markdown = TRUE) diff --git a/R/ppc-distributions.R b/R/ppc-distributions.R index aadd21b6..e05d3ac7 100644 --- a/R/ppc-distributions.R +++ b/R/ppc-distributions.R @@ -550,7 +550,6 @@ ppc_violin_grouped <- args_violin_y <- list( data = function(x) dplyr::filter(x, .data$is_y), aes(fill = "y", color = "y"), - show.legend = FALSE, alpha = 0 ) @@ -561,8 +560,7 @@ ppc_violin_grouped <- alpha = y_alpha, size = y_size, width = y_jitter, - height = 0, - show.legend = FALSE + height = 0 ) violin_y_func <- if (y_violin) geom_violin else geom_ignore diff --git a/R/ppc-test-statistics.R b/R/ppc-test-statistics.R index 775f9b9b..a9b6da86 100644 --- a/R/ppc-test-statistics.R +++ b/R/ppc-test-statistics.R @@ -216,7 +216,7 @@ ppc_stat_freqpoly <- geom_vline( data = dplyr::filter(data, .data$variable == "y"), mapping = aes(xintercept = .data$value, color = "y"), - show.legend = FALSE, + show.legend = TRUE, linewidth = 1 ) + scale_color_ppc( diff --git a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-default.svg b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-default.svg index 4b99e562..41586c5d 100644 --- a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-default.svg +++ b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-default.svg @@ -90,36 +90,36 @@ f N - - - - - - -N -e -f -f - -N - -0.1 -N -e -f -f - -N - -0.5 -N -e -f -f - -N -> -0.5 + + + + + + +N +e +f +f + +N + +0.1 +N +e +f +f + +N + +0.5 +N +e +f +f + +N +> +0.5 mcmc_neff (default) diff --git a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-hist-binwidth.svg b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-hist-binwidth.svg index 5e1e144e..8c2fe3e6 100644 --- a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-hist-binwidth.svg +++ b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-hist-binwidth.svg @@ -118,33 +118,33 @@ f N - - - -N -e -f -f - -N - -0.1 -N -e -f -f - -N - -0.5 -N -e -f -f - -N -> -0.5 + + + +N +e +f +f + +N + +0.1 +N +e +f +f + +N + +0.5 +N +e +f +f + +N +> +0.5 mcmc_neff_hist (binwidth) diff --git a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-hist-default.svg b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-hist-default.svg index fe3f2ad6..89485ae3 100644 --- a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-hist-default.svg +++ b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-neff-hist-default.svg @@ -145,33 +145,33 @@ f N - - - -N -e -f -f - -N - -0.1 -N -e -f -f - -N - -0.5 -N -e -f -f - -N -> -0.5 + + + +N +e +f +f + +N + +0.1 +N +e +f +f + +N + +0.5 +N +e +f +f + +N +> +0.5 mcmc_neff_hist (default) diff --git a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-default.svg b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-default.svg index c69494ea..75769584 100644 --- a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-default.svg +++ b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-default.svg @@ -59,24 +59,24 @@ 1.10 R ^ - - - - - - -R -^ - -1.05 -R -^ - -1.1 -R -^ -> -1.1 + + + + + + +R +^ + +1.05 +R +^ + +1.1 +R +^ +> +1.1 mcmc_rhat (default) diff --git a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-hist-binwidth.svg b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-hist-binwidth.svg index c4c8723e..d4309a0c 100644 --- a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-hist-binwidth.svg +++ b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-hist-binwidth.svg @@ -74,21 +74,21 @@ 1.20 R ^ - - - -R -^ - -1.05 -R -^ - -1.1 -R -^ -> -1.1 + + + +R +^ + +1.05 +R +^ + +1.1 +R +^ +> +1.1 mcmc_rhat_hist (binwidth) diff --git a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-hist-default.svg b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-hist-default.svg index 5e47bc0b..b1773b17 100644 --- a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-hist-default.svg +++ b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-hist-default.svg @@ -131,21 +131,21 @@ 1.20 R ^ - - - -R -^ - -1.05 -R -^ - -1.1 -R -^ -> -1.1 + + + +R +^ + +1.05 +R +^ + +1.1 +R +^ +> +1.1 mcmc_rhat_hist (default) diff --git a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-sized.svg b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-sized.svg index 6d1e1199..7719c1bf 100644 --- a/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-sized.svg +++ b/tests/testthat/_snaps/mcmc-diagnostics/mcmc-rhat-sized.svg @@ -59,24 +59,24 @@ 1.10 R ^ - - - - - - -R -^ - -1.05 -R -^ - -1.1 -R -^ -> -1.1 + + + + + + +R +^ + +1.05 +R +^ + +1.1 +R +^ +> +1.1 mcmc_rhat (sized) diff --git a/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-alpha.svg b/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-alpha.svg index be560ef6..ad516cbc 100644 --- a/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-alpha.svg +++ b/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-alpha.svg @@ -25,8 +25,8 @@ - - + + @@ -37,8 +37,8 @@ - - + + @@ -49,8 +49,8 @@ - - + + @@ -61,8 +61,8 @@ - - + + @@ -73,8 +73,8 @@ - - + + diff --git a/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-chains-default.svg b/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-chains-default.svg index c3b31123..9ce112ea 100644 --- a/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-chains-default.svg +++ b/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-chains-default.svg @@ -27,22 +27,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-default.svg b/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-default.svg index ff9dd1ee..875d6165 100644 --- a/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-default.svg +++ b/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-default.svg @@ -25,8 +25,8 @@ - - + + @@ -37,8 +37,8 @@ - - + + @@ -49,8 +49,8 @@ - - + + @@ -61,8 +61,8 @@ - - + + @@ -73,8 +73,8 @@ - - + + diff --git a/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-overlay-default.svg b/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-overlay-default.svg index f6fe4f70..738a1930 100644 --- a/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-overlay-default.svg +++ b/tests/testthat/_snaps/mcmc-distributions/mcmc-dens-overlay-default.svg @@ -25,10 +25,10 @@ - - - - + + + + @@ -38,10 +38,10 @@ - - - - + + + + diff --git a/tests/testthat/_snaps/mcmc-distributions/mcmc-violin-default.svg b/tests/testthat/_snaps/mcmc-distributions/mcmc-violin-default.svg index ed7d6fa6..a9353d96 100644 --- a/tests/testthat/_snaps/mcmc-distributions/mcmc-violin-default.svg +++ b/tests/testthat/_snaps/mcmc-distributions/mcmc-violin-default.svg @@ -25,20 +25,20 @@ - + - - - + + + - - - + + + - - - + + + @@ -50,20 +50,20 @@ - - - + + + - - - - - - + + + + + + - - + + diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-default.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-default.svg index 61911bd7..36e4f705 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-default.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-default.svg @@ -26,46 +26,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-equal-height.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-equal-height.svg index 83bcd9d5..1ce0f876 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-equal-height.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-equal-height.svg @@ -26,46 +26,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-inner.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-inner.svg index 53f3c686..8c805667 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-inner.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-inner.svg @@ -26,46 +26,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-means.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-means.svg index 4fae648d..ef3ae608 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-means.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-means.svg @@ -26,46 +26,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-no-points.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-no-points.svg index a542f3ca..315ae626 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-no-points.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-no-points.svg @@ -26,36 +26,36 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-outer.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-outer.svg index f48ec860..f0e72826 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-outer.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-outer.svg @@ -26,46 +26,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-rhats.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-rhats.svg index 7d86b3fe..3432c81c 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-rhats.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-rhats.svg @@ -26,46 +26,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -93,27 +93,27 @@ -2 0 2 - - - - - - - - - -R -^ - -1.05 -R -^ - -1.1 -R -^ -> -1.1 + + + + + + + + + +R +^ + +1.05 +R +^ + +1.1 +R +^ +> +1.1 mcmc_areas (rhats) diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-default.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-default.svg index 47ccc439..33146e8e 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-default.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-default.svg @@ -30,46 +30,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-inner.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-inner.svg index fb4e7cd6..71d26eaa 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-inner.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-inner.svg @@ -30,46 +30,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-outer.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-outer.svg index b1eedd92..08479641 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-outer.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-outer.svg @@ -30,46 +30,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-size.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-size.svg index 0d6aaf6e..14b09956 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-size.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-ridges-size.svg @@ -30,46 +30,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-scaled-height.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-scaled-height.svg index 1eab4b91..acccda35 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-scaled-height.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-scaled-height.svg @@ -26,46 +26,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-size.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-size.svg index abdb048c..fee13769 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-size.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-areas-size.svg @@ -26,46 +26,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/mcmc-intervals/mcmc-intervals-rhats.svg b/tests/testthat/_snaps/mcmc-intervals/mcmc-intervals-rhats.svg index 9653929a..181911a5 100644 --- a/tests/testthat/_snaps/mcmc-intervals/mcmc-intervals-rhats.svg +++ b/tests/testthat/_snaps/mcmc-intervals/mcmc-intervals-rhats.svg @@ -65,21 +65,21 @@ 0 1 2 - - - -R -^ - -1.05 -R -^ - -1.1 -R -^ -> -1.1 + + + +R +^ + +1.05 +R +^ + +1.1 +R +^ +> +1.1 mcmc_intervals (rhats) diff --git a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-acceptance-chain.svg b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-acceptance-chain.svg index 0eeb6f35..2ac74f7f 100644 --- a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-acceptance-chain.svg +++ b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-acceptance-chain.svg @@ -220,2536 +220,2536 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - --100 --90 --80 --70 --60 --50 - - - - - - - - - - - -0.7 -0.8 -0.9 -1.0 -accept_stat__ -lp__ + +-100 +-90 +-80 +-70 +-60 +-50 + + + + + + + + + + + +0.7 +0.8 +0.9 +1.0 +accept_stat__ +lp__ diff --git a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-acceptance-default.svg b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-acceptance-default.svg index d8f012f3..d756e4f6 100644 --- a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-acceptance-default.svg +++ b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-acceptance-default.svg @@ -164,2036 +164,2036 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - --100 --90 --80 --70 --60 --50 - - - - - - - - - - - -0.7 -0.8 -0.9 -1.0 -accept_stat__ -lp__ + +-100 +-90 +-80 +-70 +-60 +-50 + + + + + + + + + + + +0.7 +0.8 +0.9 +1.0 +accept_stat__ +lp__ diff --git a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-divergence-chain.svg b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-divergence-chain.svg index 74585583..f5cb9d13 100644 --- a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-divergence-chain.svg +++ b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-divergence-chain.svg @@ -29,37 +29,37 @@ - - + + - - - - - + + + + + - --100 --90 --80 --70 --60 --50 - - - - - - - - - -No divergence -Divergence + +-100 +-90 +-80 +-70 +-60 +-50 + + + + + + + + + +No divergence +Divergence lp__ -44 divergences (13 from chain 1) +44 divergences (13 from chain 1) @@ -71,31 +71,31 @@ - - + + - - - - - + + + + + - -0.7 -0.8 -0.9 -1.0 - - - - - - - -No divergence -Divergence -accept_stat__ + +0.7 +0.8 +0.9 +1.0 + + + + + + + +No divergence +Divergence +accept_stat__ diff --git a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-divergence-default.svg b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-divergence-default.svg index 64030a94..2499f533 100644 --- a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-divergence-default.svg +++ b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-divergence-default.svg @@ -29,35 +29,35 @@ - - + + - - - + + + - --100 --90 --80 --70 --60 --50 - - - - - - - - - -No divergence -Divergence + +-100 +-90 +-80 +-70 +-60 +-50 + + + + + + + + + +No divergence +Divergence lp__ -44 divergences +44 divergences @@ -69,29 +69,29 @@ - - + + - - - + + + - -0.7 -0.8 -0.9 -1.0 - - - - - - - -No divergence -Divergence -accept_stat__ + +0.7 +0.8 +0.9 +1.0 + + + + + + + +No divergence +Divergence +accept_stat__ diff --git a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-energy-default.svg b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-energy-default.svg index f45b1fbe..a8f481f0 100644 --- a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-energy-default.svg +++ b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-energy-default.svg @@ -239,11 +239,9 @@ E - - π E π diff --git a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-energy-merged.svg b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-energy-merged.svg index c7f3bdd3..febebeb7 100644 --- a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-energy-merged.svg +++ b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-energy-merged.svg @@ -70,11 +70,9 @@ E - - π E π diff --git a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-stepsize-chain.svg b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-stepsize-chain.svg index df39f44f..3aa8a72c 100644 --- a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-stepsize-chain.svg +++ b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-stepsize-chain.svg @@ -29,44 +29,44 @@ - - + + - - - - - - + + + + + + - --100 --90 --80 --70 --60 --50 - - - - - - - - - - - -0.33 -(chain 3) -0.37 -(chain 1) -0.42 -(chain 2) -0.47 -(chain 4) + +-100 +-90 +-80 +-70 +-60 +-50 + + + + + + + + + + + +0.33 +(chain 3) +0.37 +(chain 1) +0.42 +(chain 2) +0.47 +(chain 4) lp__ @@ -79,40 +79,40 @@ - - + + - - - - - - + + + + + + - -0.7 -0.8 -0.9 -1.0 - - - - - - - - - -0.33 -(chain 3) -0.37 -(chain 1) -0.42 -(chain 2) -0.47 -(chain 4) + +0.7 +0.8 +0.9 +1.0 + + + + + + + + + +0.33 +(chain 3) +0.37 +(chain 1) +0.42 +(chain 2) +0.47 +(chain 4) accept_stat__ diff --git a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-stepsize-default.svg b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-stepsize-default.svg index 79d06a69..d3076cb2 100644 --- a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-stepsize-default.svg +++ b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-stepsize-default.svg @@ -29,43 +29,43 @@ - - + + - - - - - + + + + + - --100 --90 --80 --70 --60 --50 - - - - - - - - - - - -0.33 -(chain 3) -0.37 -(chain 1) -0.42 -(chain 2) -0.47 -(chain 4) + +-100 +-90 +-80 +-70 +-60 +-50 + + + + + + + + + + + +0.33 +(chain 3) +0.37 +(chain 1) +0.42 +(chain 2) +0.47 +(chain 4) lp__ @@ -78,39 +78,39 @@ - - + + - - - - - + + + + + - -0.7 -0.8 -0.9 -1.0 - - - - - - - - - -0.33 -(chain 3) -0.37 -(chain 1) -0.42 -(chain 2) -0.47 -(chain 4) + +0.7 +0.8 +0.9 +1.0 + + + + + + + + + +0.33 +(chain 3) +0.37 +(chain 1) +0.42 +(chain 2) +0.47 +(chain 4) accept_stat__ diff --git a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-treedepth-chain.svg b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-treedepth-chain.svg index aa264d29..4d9cc002 100644 --- a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-treedepth-chain.svg +++ b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-treedepth-chain.svg @@ -29,69 +29,69 @@ - - + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - --100 --90 --80 --70 --60 --50 - - - - - - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -treedepth__ -lp__ + +-100 +-90 +-80 +-70 +-60 +-50 + + + + + + + + + + + + + + + + + +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +treedepth__ +lp__ @@ -103,59 +103,59 @@ - - + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - -1 - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -treedepth__ -accept_stat__ + +1 + + + + + + + + + + + + +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +treedepth__ +accept_stat__ @@ -167,45 +167,45 @@ - - + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - -0.0 -2.5 -5.0 -7.5 -10.0 + + + + + + + +0.0 +2.5 +5.0 +7.5 +10.0 treedepth__ diff --git a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-treedepth-default.svg b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-treedepth-default.svg index 471de4df..093fc9cf 100644 --- a/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-treedepth-default.svg +++ b/tests/testthat/_snaps/mcmc-nuts/mcmc-nuts-treedepth-default.svg @@ -29,59 +29,59 @@ - - + + - - - - - - - - - - - + + + + + + + + + + + - --100 --90 --80 --70 --60 --50 - - - - - - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -treedepth__ -lp__ + +-100 +-90 +-80 +-70 +-60 +-50 + + + + + + + + + + + + + + + + + +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +treedepth__ +lp__ @@ -93,49 +93,49 @@ - - + + - - - - - - - - - - - + + + + + + + + + + + - -1 - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -treedepth__ -accept_stat__ + +1 + + + + + + + + + + + + +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +treedepth__ +accept_stat__ @@ -147,35 +147,35 @@ - - + + - - - + + + - - - - - - - + + + + + + + - - - - - - - -0.0 -2.5 -5.0 -7.5 -10.0 + + + + + + + +0.0 +2.5 +5.0 +7.5 +10.0 treedepth__ diff --git a/tests/testthat/_snaps/mcmc-recover/mcmc-recover-hist-default.svg b/tests/testthat/_snaps/mcmc-recover/mcmc-recover-hist-default.svg index 3fadc86e..9dc04597 100644 --- a/tests/testthat/_snaps/mcmc-recover/mcmc-recover-hist-default.svg +++ b/tests/testthat/_snaps/mcmc-recover/mcmc-recover-hist-default.svg @@ -2614,8 +2614,8 @@ Estimated - -True + +True mcmc_recover_hist (default) diff --git a/tests/testthat/_snaps/mcmc-recover/mcmc-recover-intervals-default.svg b/tests/testthat/_snaps/mcmc-recover/mcmc-recover-intervals-default.svg index e858b398..51f9676b 100644 --- a/tests/testthat/_snaps/mcmc-recover/mcmc-recover-intervals-default.svg +++ b/tests/testthat/_snaps/mcmc-recover/mcmc-recover-intervals-default.svg @@ -69,8 +69,6 @@ - - Estimated True diff --git a/tests/testthat/_snaps/mcmc-recover/mcmc-recover-intervals-prob.svg b/tests/testthat/_snaps/mcmc-recover/mcmc-recover-intervals-prob.svg index 2f5d00f1..1685b73e 100644 --- a/tests/testthat/_snaps/mcmc-recover/mcmc-recover-intervals-prob.svg +++ b/tests/testthat/_snaps/mcmc-recover/mcmc-recover-intervals-prob.svg @@ -75,8 +75,6 @@ - - Estimated True diff --git a/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-hex-bw.svg b/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-hex-bw.svg index 070e2ee2..40d9950a 100644 --- a/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-hex-bw.svg +++ b/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-hex-bw.svg @@ -152,14 +152,14 @@ 3 V1 V2 +Density + + + + low high -Density - - - - mcmc_hex (bw) diff --git a/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-hex-default.svg b/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-hex-default.svg index 5d1303d4..a6d9473c 100644 --- a/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-hex-default.svg +++ b/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-hex-default.svg @@ -150,14 +150,14 @@ 3 V1 V2 +Density + + + + low high -Density - - - - mcmc_hex (default) diff --git a/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-default.svg b/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-default.svg index 2db11c87..730d9e74 100644 --- a/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-default.svg +++ b/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-default.svg @@ -29,53 +29,53 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - --2 -0 -2 -4 + + + + + +-2 +0 +2 +4 V1 @@ -88,1029 +88,1029 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - --2 -0 -2 - - - - - - - - --4 --2 -0 -2 + +-2 +0 +2 + + + + + + + + +-4 +-2 +0 +2 @@ -1122,1029 +1122,1029 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - --2 -0 -2 -4 - - - - - - - - --2 -0 -2 + +-2 +0 +2 +4 + + + + + + + + +-2 +0 +2 @@ -2156,55 +2156,55 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - --4 --2 -0 -2 -4 + + + + + + +-4 +-2 +0 +2 +4 V2 diff --git a/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-divs-hex.svg b/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-divs-hex.svg index 4ca244e6..6592093a 100644 --- a/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-divs-hex.svg +++ b/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-divs-hex.svg @@ -29,53 +29,53 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - --2 -0 -2 -4 + + + + + +-2 +0 +2 +4 V1 @@ -88,437 +88,437 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - --2 -0 -2 - - - - - - - - --4 --2 -0 -2 + +-2 +0 +2 + + + + + + + + +-4 +-2 +0 +2 @@ -530,429 +530,429 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - --2 -0 -2 -4 - - - - - - - - - --2 -0 -2 -4 + +-2 +0 +2 +4 + + + + + + + + + +-2 +0 +2 +4 @@ -964,55 +964,55 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - --4 --2 -0 -2 -4 + + + + + + +-4 +-2 +0 +2 +4 V2 diff --git a/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-divs-td.svg b/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-divs-td.svg index 9011898f..7f325612 100644 --- a/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-divs-td.svg +++ b/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-divs-td.svg @@ -29,53 +29,53 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - --2 -0 -2 -4 + + + + + +-2 +0 +2 +4 V1 @@ -88,1413 +88,1413 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - --2 -0 -2 - - - - - - - - --4 --2 -0 -2 + +-2 +0 +2 + + + + + + + + +-4 +-2 +0 +2 @@ -1506,1413 +1506,1413 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - --2 -0 -2 -4 - - - - - - - - --2 -0 -2 + +-2 +0 +2 +4 + + + + + + + + +-2 +0 +2 @@ -2924,55 +2924,55 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - --4 --2 -0 -2 -4 + + + + + + +-4 +-2 +0 +2 +4 V2 diff --git a/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-td.svg b/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-td.svg index 2915a71c..eb0ccc83 100644 --- a/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-td.svg +++ b/tests/testthat/_snaps/mcmc-scatter-and-parcoord/mcmc-pairs-td.svg @@ -29,53 +29,53 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - --2 -0 -2 -4 + + + + + +-2 +0 +2 +4 V1 @@ -88,1367 +88,1367 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - --2 -0 -2 - - - - - - - - --4 --2 -0 -2 + +-2 +0 +2 + + + + + + + + +-4 +-2 +0 +2 @@ -1460,1367 +1460,1367 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - --2 -0 -2 -4 - - - - - - - - --2 -0 -2 + +-2 +0 +2 +4 + + + + + + + + +-2 +0 +2 @@ -2832,55 +2832,55 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - --4 --2 -0 -2 -4 + + + + + + +-4 +-2 +0 +2 +4 V2 diff --git a/tests/testthat/_snaps/mcmc-traces/mcmc-trace-divergences-custom.svg b/tests/testthat/_snaps/mcmc-traces/mcmc-trace-divergences-custom.svg index b891d782..b856f48d 100644 --- a/tests/testthat/_snaps/mcmc-traces/mcmc-trace-divergences-custom.svg +++ b/tests/testthat/_snaps/mcmc-traces/mcmc-trace-divergences-custom.svg @@ -95,17 +95,17 @@ 400 500 V1 -Chain - - - - -1 -2 -3 -4 - -Divergence +Chain + + + + +1 +2 +3 +4 + +Divergence mcmc_trace divergences (custom) diff --git a/tests/testthat/_snaps/mcmc-traces/mcmc-trace-divergences-default.svg b/tests/testthat/_snaps/mcmc-traces/mcmc-trace-divergences-default.svg index 3f5cff94..2063b26e 100644 --- a/tests/testthat/_snaps/mcmc-traces/mcmc-trace-divergences-default.svg +++ b/tests/testthat/_snaps/mcmc-traces/mcmc-trace-divergences-default.svg @@ -95,17 +95,17 @@ 400 500 V1 -Chain - - - - -1 -2 -3 -4 - -Divergence +Chain + + + + +1 +2 +3 +4 + +Divergence mcmc_trace divergences (default) diff --git a/tests/testthat/_snaps/ppc-discrete/ppc-bars-default.svg b/tests/testthat/_snaps/ppc-discrete/ppc-bars-default.svg index 6b6e466c..4884ed5f 100644 --- a/tests/testthat/_snaps/ppc-discrete/ppc-bars-default.svg +++ b/tests/testthat/_snaps/ppc-discrete/ppc-bars-default.svg @@ -73,8 +73,8 @@ r e p - -y + +y ppc_bars (default) diff --git a/tests/testthat/_snaps/ppc-discrete/ppc-bars-grouped-default.svg b/tests/testthat/_snaps/ppc-discrete/ppc-bars-grouped-default.svg index 80b41836..79b7916f 100644 --- a/tests/testthat/_snaps/ppc-discrete/ppc-bars-grouped-default.svg +++ b/tests/testthat/_snaps/ppc-discrete/ppc-bars-grouped-default.svg @@ -132,8 +132,8 @@ r e p - -y + +y ppc_bars_grouped (default) diff --git a/tests/testthat/_snaps/ppc-discrete/ppc-bars-grouped-facet-args-prob-size.svg b/tests/testthat/_snaps/ppc-discrete/ppc-bars-grouped-facet-args-prob-size.svg index 88e72737..fc093aee 100644 --- a/tests/testthat/_snaps/ppc-discrete/ppc-bars-grouped-facet-args-prob-size.svg +++ b/tests/testthat/_snaps/ppc-discrete/ppc-bars-grouped-facet-args-prob-size.svg @@ -130,8 +130,8 @@ r e p - -y + +y ppc_bars_grouped (facet_args, prob, size) diff --git a/tests/testthat/_snaps/ppc-discrete/ppc-bars-prob-0-33-width-size-fatten.svg b/tests/testthat/_snaps/ppc-discrete/ppc-bars-prob-0-33-width-size-fatten.svg index bc485216..800dd449 100644 --- a/tests/testthat/_snaps/ppc-discrete/ppc-bars-prob-0-33-width-size-fatten.svg +++ b/tests/testthat/_snaps/ppc-discrete/ppc-bars-prob-0-33-width-size-fatten.svg @@ -75,8 +75,8 @@ r e p - -y + +y ppc_bars (prob=0.33, width, size, fatten) diff --git a/tests/testthat/_snaps/ppc-discrete/ppc-bars-width-size-fatten.svg b/tests/testthat/_snaps/ppc-discrete/ppc-bars-width-size-fatten.svg index 330fc92c..9da25a91 100644 --- a/tests/testthat/_snaps/ppc-discrete/ppc-bars-width-size-fatten.svg +++ b/tests/testthat/_snaps/ppc-discrete/ppc-bars-width-size-fatten.svg @@ -73,8 +73,8 @@ r e p - -y + +y ppc_bars (width, size, fatten) diff --git a/tests/testthat/_snaps/ppc-discrete/ppc-rootogram-default.svg b/tests/testthat/_snaps/ppc-discrete/ppc-rootogram-default.svg index 9863d91a..30064206 100644 --- a/tests/testthat/_snaps/ppc-discrete/ppc-rootogram-default.svg +++ b/tests/testthat/_snaps/ppc-discrete/ppc-rootogram-default.svg @@ -60,11 +60,11 @@ u n t - - -Expected - -Observed + +Observed + + +Expected ppc_rootogram (default) diff --git a/tests/testthat/_snaps/ppc-discrete/ppc-rootogram-style-hanging-prob-size.svg b/tests/testthat/_snaps/ppc-discrete/ppc-rootogram-style-hanging-prob-size.svg index 3e2b8c07..e3d6e82b 100644 --- a/tests/testthat/_snaps/ppc-discrete/ppc-rootogram-style-hanging-prob-size.svg +++ b/tests/testthat/_snaps/ppc-discrete/ppc-rootogram-style-hanging-prob-size.svg @@ -63,11 +63,11 @@ u n t - - -Expected - -Observed + +Observed + + +Expected ppc_rootogram (style='hanging', prob, size) diff --git a/tests/testthat/_snaps/ppc-distributions/ppc-dens-default.svg b/tests/testthat/_snaps/ppc-distributions/ppc-dens-default.svg index 76b053b2..993ae360 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppc-dens-default.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppc-dens-default.svg @@ -25,8 +25,8 @@ - - + + @@ -38,8 +38,8 @@ - - + + @@ -51,8 +51,8 @@ - - + + @@ -64,8 +64,8 @@ - - + + @@ -77,8 +77,8 @@ - - + + @@ -90,8 +90,8 @@ - - + + @@ -103,8 +103,8 @@ - - + + @@ -116,8 +116,8 @@ - - + + @@ -129,8 +129,8 @@ - - + + diff --git a/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-alpha-size.svg b/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-alpha-size.svg index ee68af65..fa0ca8da 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-alpha-size.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-alpha-size.svg @@ -25,32 +25,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -61,10 +61,8 @@ -2 0 2 - - y y r diff --git a/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-default.svg b/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-default.svg index 2ff29fd5..adec89cf 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-default.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-default.svg @@ -25,32 +25,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -61,10 +61,8 @@ -2 0 2 - - y y r diff --git a/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-grouped-alpha-size.svg b/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-grouped-alpha-size.svg index 751de693..9e488a18 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-grouped-alpha-size.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-grouped-alpha-size.svg @@ -25,32 +25,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -62,32 +62,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -99,32 +99,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -136,32 +136,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -222,10 +222,8 @@ 2 - - y y r diff --git a/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-grouped-default.svg b/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-grouped-default.svg index 2ae917ee..479770e0 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-grouped-default.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppc-dens-overlay-grouped-default.svg @@ -25,32 +25,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -62,32 +62,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -99,32 +99,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -136,32 +136,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -222,10 +222,8 @@ 2 - - y y r diff --git a/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-default.svg b/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-default.svg index ab123878..56e21f82 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-default.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-default.svg @@ -61,10 +61,8 @@ 3 4 5 - - y y r diff --git a/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-discrete-size-alpha.svg b/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-discrete-size-alpha.svg index 6c12221b..e35e25a8 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-discrete-size-alpha.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-discrete-size-alpha.svg @@ -61,10 +61,8 @@ 3 4 5 - - y y r diff --git a/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-grouped-default.svg b/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-grouped-default.svg index 7b9a9677..029410fb 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-grouped-default.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-grouped-default.svg @@ -121,10 +121,8 @@ - - y y r diff --git a/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-grouped-discrete-size-alpha.svg b/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-grouped-discrete-size-alpha.svg index ba2c460d..cb9301ac 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-grouped-discrete-size-alpha.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppc-ecdf-overlay-grouped-discrete-size-alpha.svg @@ -121,10 +121,8 @@ - - y y r diff --git a/tests/testthat/_snaps/ppc-distributions/ppc-violin-grouped-default.svg b/tests/testthat/_snaps/ppc-distributions/ppc-violin-grouped-default.svg index 74cd348e..9872023a 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppc-violin-grouped-default.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppc-violin-grouped-default.svg @@ -25,26 +25,26 @@ - - - - - - + + + + + + - - + + - - + + - - - - + + + + @@ -65,7 +65,7 @@ B C D - + y y diff --git a/tests/testthat/_snaps/ppc-distributions/ppc-violin-grouped-points-low-jitter.svg b/tests/testthat/_snaps/ppc-distributions/ppc-violin-grouped-points-low-jitter.svg index 21369544..fd199bac 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppc-violin-grouped-points-low-jitter.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppc-violin-grouped-points-low-jitter.svg @@ -25,19 +25,19 @@ - - - - - - + + + + + + - - + + - - + + @@ -161,7 +161,7 @@ B C D - + y y diff --git a/tests/testthat/_snaps/ppc-distributions/ppc-violin-grouped-with-points.svg b/tests/testthat/_snaps/ppc-distributions/ppc-violin-grouped-with-points.svg index 2aefc532..2cc8b323 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppc-violin-grouped-with-points.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppc-violin-grouped-with-points.svg @@ -25,26 +25,26 @@ - - - - - - + + + + + + - - + + - - + + - - - - + + + + @@ -165,7 +165,8 @@ B C D - + + y y diff --git a/tests/testthat/_snaps/ppc-distributions/ppd-dens-default.svg b/tests/testthat/_snaps/ppc-distributions/ppd-dens-default.svg index cf9e0ae7..196bc98f 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppd-dens-default.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppd-dens-default.svg @@ -25,8 +25,8 @@ - - + + @@ -38,8 +38,8 @@ - - + + @@ -51,8 +51,8 @@ - - + + @@ -64,8 +64,8 @@ - - + + @@ -77,8 +77,8 @@ - - + + @@ -90,8 +90,8 @@ - - + + @@ -103,8 +103,8 @@ - - + + @@ -116,8 +116,8 @@ - - + + diff --git a/tests/testthat/_snaps/ppc-distributions/ppd-dens-overlay-alpha-size.svg b/tests/testthat/_snaps/ppc-distributions/ppd-dens-overlay-alpha-size.svg index a4615afc..c4878809 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppd-dens-overlay-alpha-size.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppd-dens-overlay-alpha-size.svg @@ -25,31 +25,31 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/ppc-distributions/ppd-dens-overlay-default.svg b/tests/testthat/_snaps/ppc-distributions/ppd-dens-overlay-default.svg index 8b3984c1..987aa7a3 100644 --- a/tests/testthat/_snaps/ppc-distributions/ppd-dens-overlay-default.svg +++ b/tests/testthat/_snaps/ppc-distributions/ppd-dens-overlay-default.svg @@ -25,31 +25,31 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-intervals-default.svg b/tests/testthat/_snaps/ppc-intervals/ppc-intervals-default.svg index b8497936..4ed73687 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-intervals-default.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-intervals-default.svg @@ -452,14 +452,10 @@ 75 100 Data point (index) - - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-intervals-grouped-default.svg b/tests/testthat/_snaps/ppc-intervals/ppc-intervals-grouped-default.svg index 0f4823a7..50546836 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-intervals-grouped-default.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-intervals-grouped-default.svg @@ -601,14 +601,10 @@ Data point (index) - - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-intervals-grouped-x-values.svg b/tests/testthat/_snaps/ppc-intervals/ppc-intervals-grouped-x-values.svg index 6264f6c6..f5997757 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-intervals-grouped-x-values.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-intervals-grouped-x-values.svg @@ -593,14 +593,10 @@ x - - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-intervals-interval-width.svg b/tests/testthat/_snaps/ppc-intervals/ppc-intervals-interval-width.svg index e74e8867..ffac8c6f 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-intervals-interval-width.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-intervals-interval-width.svg @@ -452,14 +452,10 @@ 75 100 Data point (index) - - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-intervals-x-values.svg b/tests/testthat/_snaps/ppc-intervals/ppc-intervals-x-values.svg index 36696ce1..7103c230 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-intervals-x-values.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-intervals-x-values.svg @@ -454,14 +454,10 @@ 2 3 x - - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-default.svg b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-default.svg index b76747fb..8cd3aff1 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-default.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-default.svg @@ -63,12 +63,9 @@ 75 100 Data point (index) - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-default.svg b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-default.svg index 6c7a3975..779d598f 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-default.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-default.svg @@ -245,12 +245,9 @@ Data point (index) - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-x-values.svg b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-x-values.svg index 559d1803..5f98b47a 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-x-values.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-x-values.svg @@ -237,12 +237,9 @@ x - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-y-draw-both.svg b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-y-draw-both.svg index 16afd027..4964c435 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-y-draw-both.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-y-draw-both.svg @@ -345,14 +345,10 @@ Data point (index) - - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-y-draw-line.svg b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-y-draw-line.svg index 467f3f19..48d203b5 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-y-draw-line.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-y-draw-line.svg @@ -245,12 +245,9 @@ Data point (index) - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-y-draw-point.svg b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-y-draw-point.svg index f8642eeb..048ab65d 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-y-draw-point.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-grouped-y-draw-point.svg @@ -341,12 +341,9 @@ Data point (index) - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-interval-width.svg b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-interval-width.svg index a01f475b..17b4cf9b 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-interval-width.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-interval-width.svg @@ -63,12 +63,9 @@ 75 100 Data point (index) - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-x-values.svg b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-x-values.svg index dc8f586c..19ad4530 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-x-values.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-x-values.svg @@ -65,12 +65,9 @@ 2 3 x - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-y-draw-both.svg b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-y-draw-both.svg index 764c0d49..75e0303a 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-y-draw-both.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-y-draw-both.svg @@ -163,14 +163,10 @@ 75 100 Data point (index) - - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-y-draw-line.svg b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-y-draw-line.svg index 9478adab..fda0bfcc 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-y-draw-line.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-y-draw-line.svg @@ -63,12 +63,9 @@ 75 100 Data point (index) - - - y y r diff --git a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-y-draw-point.svg b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-y-draw-point.svg index 429f589d..aebe089a 100644 --- a/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-y-draw-point.svg +++ b/tests/testthat/_snaps/ppc-intervals/ppc-ribbon-y-draw-point.svg @@ -162,12 +162,9 @@ 75 100 Data point (index) - - - y y r diff --git a/tests/testthat/_snaps/ppc-loo/ppc-loo-intervals-default.svg b/tests/testthat/_snaps/ppc-loo/ppc-loo-intervals-default.svg index e60a1f64..7581eea8 100644 --- a/tests/testthat/_snaps/ppc-loo/ppc-loo-intervals-default.svg +++ b/tests/testthat/_snaps/ppc-loo/ppc-loo-intervals-default.svg @@ -446,14 +446,10 @@ 75 100 Data point (index) - - - - y y r diff --git a/tests/testthat/_snaps/ppc-loo/ppc-loo-intervals-order.svg b/tests/testthat/_snaps/ppc-loo/ppc-loo-intervals-order.svg index e55a39d1..b53fa13d 100644 --- a/tests/testthat/_snaps/ppc-loo/ppc-loo-intervals-order.svg +++ b/tests/testthat/_snaps/ppc-loo/ppc-loo-intervals-order.svg @@ -436,14 +436,10 @@ Ordered by median - - - - y y r diff --git a/tests/testthat/_snaps/ppc-loo/ppc-loo-intervals-prob.svg b/tests/testthat/_snaps/ppc-loo/ppc-loo-intervals-prob.svg index 7df36259..d847f56f 100644 --- a/tests/testthat/_snaps/ppc-loo/ppc-loo-intervals-prob.svg +++ b/tests/testthat/_snaps/ppc-loo/ppc-loo-intervals-prob.svg @@ -446,14 +446,10 @@ 75 100 Data point (index) - - - - y y r diff --git a/tests/testthat/_snaps/ppc-loo/ppc-loo-pit-overlay-boundary.svg b/tests/testthat/_snaps/ppc-loo/ppc-loo-pit-overlay-boundary.svg index a6d7714b..e4d9fdee 100644 --- a/tests/testthat/_snaps/ppc-loo/ppc-loo-pit-overlay-boundary.svg +++ b/tests/testthat/_snaps/ppc-loo/ppc-loo-pit-overlay-boundary.svg @@ -25,107 +25,107 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -140,10 +140,8 @@ 0.5 0.7 0.9 - - PIT Unif ppc_loo_pit_overlay (boundary) diff --git a/tests/testthat/_snaps/ppc-loo/ppc-loo-pit-overlay-default.svg b/tests/testthat/_snaps/ppc-loo/ppc-loo-pit-overlay-default.svg index dcd9bdcf..82d31030 100644 --- a/tests/testthat/_snaps/ppc-loo/ppc-loo-pit-overlay-default.svg +++ b/tests/testthat/_snaps/ppc-loo/ppc-loo-pit-overlay-default.svg @@ -140,10 +140,8 @@ 0.5 0.75 1 - - PIT Unif ppc_loo_pit_overlay (default) diff --git a/tests/testthat/_snaps/ppc-loo/ppc-loo-ribbon-default.svg b/tests/testthat/_snaps/ppc-loo/ppc-loo-ribbon-default.svg index 2bb49103..f5393463 100644 --- a/tests/testthat/_snaps/ppc-loo/ppc-loo-ribbon-default.svg +++ b/tests/testthat/_snaps/ppc-loo/ppc-loo-ribbon-default.svg @@ -57,12 +57,9 @@ 75 100 Data point (index) - - - y y r diff --git a/tests/testthat/_snaps/ppc-loo/ppc-loo-ribbon-prob.svg b/tests/testthat/_snaps/ppc-loo/ppc-loo-ribbon-prob.svg index a5ce574c..b15bcc66 100644 --- a/tests/testthat/_snaps/ppc-loo/ppc-loo-ribbon-prob.svg +++ b/tests/testthat/_snaps/ppc-loo/ppc-loo-ribbon-prob.svg @@ -57,12 +57,9 @@ 75 100 Data point (index) - - - y y r diff --git a/tests/testthat/_snaps/ppc-loo/ppc-loo-ribbon-subset.svg b/tests/testthat/_snaps/ppc-loo/ppc-loo-ribbon-subset.svg index 5f688b64..6cba36fc 100644 --- a/tests/testthat/_snaps/ppc-loo/ppc-loo-ribbon-subset.svg +++ b/tests/testthat/_snaps/ppc-loo/ppc-loo-ribbon-subset.svg @@ -59,12 +59,9 @@ 7.5 10.0 Data point (index) - - - y y r diff --git a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-2d-default.svg b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-2d-default.svg index 79af0d4a..961b52b5 100644 --- a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-2d-default.svg +++ b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-2d-default.svg @@ -82,10 +82,8 @@ sd ) - - T ( y diff --git a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-2d-stat-size-alpha.svg b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-2d-stat-size-alpha.svg index 21360f41..80b8a63b 100644 --- a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-2d-stat-size-alpha.svg +++ b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-2d-stat-size-alpha.svg @@ -80,22 +80,20 @@ 0.2 median mad -T -= -( -median -, - -mad -) - - +T += +( +median +, + +mad +) + - -T -( -y -) +T +( +y +) T ( y diff --git a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-default.svg b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-default.svg index 6b6370bf..904fbd20 100644 --- a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-default.svg +++ b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-default.svg @@ -57,22 +57,22 @@ 0.1 0.2 0.3 -T -= -mean - -T -( -y -r -e -p -) - -T -( -y -) +T += +mean + +T +( +y +r +e +p +) + +T +( +y +) ppc_stat (default) diff --git a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-freqpoly-grouped-default.svg b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-freqpoly-grouped-default.svg index da3c0757..6c06b200 100644 --- a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-freqpoly-grouped-default.svg +++ b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-freqpoly-grouped-default.svg @@ -153,8 +153,9 @@ T = mean - + + T ( y diff --git a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-freqpoly-grouped-stat-facets-bw.svg b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-freqpoly-grouped-stat-facets-bw.svg index e67f2235..d8b70104 100644 --- a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-freqpoly-grouped-stat-facets-bw.svg +++ b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-freqpoly-grouped-stat-facets-bw.svg @@ -130,8 +130,9 @@ T = sum - + + T ( y diff --git a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-grouped-default.svg b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-grouped-default.svg index f59576c8..da2310ca 100644 --- a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-grouped-default.svg +++ b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-grouped-default.svg @@ -213,22 +213,22 @@ -T -= -mean - -T -( -y -r -e -p -) - -T -( -y -) +T += +mean + +T +( +y +r +e +p +) + +T +( +y +) ppc_stat_grouped (default) diff --git a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-grouped-stat-facet-args-binwidth.svg b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-grouped-stat-facet-args-binwidth.svg index 28b2b662..a794967f 100644 --- a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-grouped-stat-facet-args-binwidth.svg +++ b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-grouped-stat-facet-args-binwidth.svg @@ -141,22 +141,22 @@ -T -= -stats::var - -T -( -y -r -e -p -) - -T -( -y -) +T += +stats::var + +T +( +y +r +e +p +) + +T +( +y +) ppc_stat_grouped (stat, facet_args, binwidth) diff --git a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-stat-binwidth-freq.svg b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-stat-binwidth-freq.svg index e11c16e2..44731e31 100644 --- a/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-stat-binwidth-freq.svg +++ b/tests/testthat/_snaps/ppc-test-statistics/ppc-stat-stat-binwidth-freq.svg @@ -59,22 +59,22 @@ 1.1 1.2 1.3 -T -= -mad - -T -( -y -r -e -p -) - -T -( -y -) +T += +mad + +T +( +y +r +e +p +) + +T +( +y +) ppc_stat (stat, binwidth, freq) diff --git a/tests/testthat/helper.R b/tests/testthat/helper.R new file mode 100644 index 00000000..fc870e02 --- /dev/null +++ b/tests/testthat/helper.R @@ -0,0 +1,22 @@ +# Used if necessary to skip visual tests of SVGs (using vdiffr) +# on different R versions because they can be slightly different + +# R_VERSION_TYPE is set in the R-CMD-check.yaml GitHub Actions workflow file + +on_r_devel <- function() { + isTRUE(Sys.getenv("R_VERSION_TYPE") == "devel") +} +on_r_oldrel <- function() { + isTRUE(Sys.getenv("R_VERSION_TYPE") == "oldrel") +} + +skip_on_r_devel <- function() { + testthat::skip_if(on_r_devel()) +} +skip_on_r_oldrel <- function() { + testthat::skip_if(on_r_oldrel()) +} +skip_if_not_on_r_release <- function() { + skip_on_r_devel() + skip_on_r_oldrel() +} diff --git a/tests/testthat/test-aesthetics.R b/tests/testthat/test-aesthetics.R index 2359c6f4..a6fd30e9 100644 --- a/tests/testthat/test-aesthetics.R +++ b/tests/testthat/test-aesthetics.R @@ -219,6 +219,7 @@ color_scheme_set() test_that("color_scheme_view renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() color_scheme_set() p_default <- color_scheme_view() diff --git a/tests/testthat/test-mcmc-diagnostics.R b/tests/testthat/test-mcmc-diagnostics.R index 4eafe019..b1d3244e 100644 --- a/tests/testthat/test-mcmc-diagnostics.R +++ b/tests/testthat/test-mcmc-diagnostics.R @@ -109,6 +109,7 @@ test_that("mcmc_acf & mcmc_acf_bar throw correct errors", { test_that("mcmc_rhat renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() rhats <- seq(from = 1, to = 1.20, length.out = 10) @@ -122,6 +123,7 @@ test_that("mcmc_rhat renders correctly", { test_that("mcmc_rhat_hist renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() rhats <- seq(from = 1, to = 1.20, length.out = 10) @@ -136,6 +138,7 @@ test_that("mcmc_rhat_hist renders correctly", { test_that("mcmc_neff renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() neffs <- seq(from = 0, to = 1, length.out = 20) @@ -146,6 +149,7 @@ test_that("mcmc_neff renders correctly", { test_that("mcmc_neff_hist renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() neffs <- seq(from = 0, to = 1, length.out = 20) @@ -159,6 +163,7 @@ test_that("mcmc_neff_hist renders correctly", { test_that("mcmc_acf renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_acf(vdiff_dframe) vdiffr::expect_doppelganger("mcmc_acf (default)", p_base) @@ -170,6 +175,7 @@ test_that("mcmc_acf renders correctly", { test_that("mcmc_acf_bar renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_acf_bar(vdiff_dframe) vdiffr::expect_doppelganger("mcmc_acf_bar (default)", p_base) diff --git a/tests/testthat/test-mcmc-distributions.R b/tests/testthat/test-mcmc-distributions.R index 73cbc513..7b2ae9fa 100644 --- a/tests/testthat/test-mcmc-distributions.R +++ b/tests/testthat/test-mcmc-distributions.R @@ -124,6 +124,7 @@ test_that("mcmc_* throws error if 1 chain but multiple chains required", { test_that("mcmc_hist renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_hist(vdiff_dframe, binwidth = 0.1) vdiffr::expect_doppelganger("mcmc_hist (default)", p_base) @@ -138,6 +139,7 @@ test_that("mcmc_hist renders correctly", { test_that("mcmc_dens renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_dens(vdiff_dframe) vdiffr::expect_doppelganger("mcmc_dens (default)", p_base) @@ -149,6 +151,7 @@ test_that("mcmc_dens renders correctly", { test_that("mcmc_dens_overlay renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_dens_overlay(vdiff_dframe_chains) vdiffr::expect_doppelganger("mcmc_dens_overlay (default)", p_base) @@ -157,6 +160,7 @@ test_that("mcmc_dens_overlay renders correctly", { test_that("mcmc_dens_chains renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_dens_chains(vdiff_dframe_chains) vdiffr::expect_doppelganger("mcmc_dens_chains (default)", p_base) @@ -165,6 +169,7 @@ test_that("mcmc_dens_chains renders correctly", { test_that("mcmc_hist_by_chain renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_hist_by_chain(vdiff_dframe_chains, binwidth = 0.5) vdiffr::expect_doppelganger("mcmc_hist_by_chain (default)", p_base) @@ -173,6 +178,7 @@ test_that("mcmc_hist_by_chain renders correctly", { test_that("mcmc_violin renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_violin(vdiff_dframe_chains) vdiffr::expect_doppelganger("mcmc_violin (default)", p_base) diff --git a/tests/testthat/test-mcmc-intervals.R b/tests/testthat/test-mcmc-intervals.R index 7ea7567a..ee4a8bc4 100644 --- a/tests/testthat/test-mcmc-intervals.R +++ b/tests/testthat/test-mcmc-intervals.R @@ -178,6 +178,7 @@ test_that("inconsistent probabilities raise warning (#138)", { test_that("mcmc_intervals renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_intervals(vdiff_dframe) vdiffr::expect_doppelganger("mcmc_intervals (default)", p_base) @@ -205,6 +206,7 @@ test_that("mcmc_intervals renders correctly", { test_that("mcmc_areas renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_areas(vdiff_dframe) vdiffr::expect_doppelganger("mcmc_areas (default)", p_base) @@ -238,6 +240,7 @@ test_that("mcmc_areas renders correctly", { test_that("mcmc_areas_ridges renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_areas_ridges(vdiff_dframe) vdiffr::expect_doppelganger("mcmc_areas_ridges (default)", p_base) diff --git a/tests/testthat/test-mcmc-nuts.R b/tests/testthat/test-mcmc-nuts.R index b4fefc5e..c9f52a98 100644 --- a/tests/testthat/test-mcmc-nuts.R +++ b/tests/testthat/test-mcmc-nuts.R @@ -97,6 +97,7 @@ source(test_path("data-for-mcmc-tests.R")) test_that("mcmc_nuts_acceptance renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_nuts_acceptance(vdiff_dframe_chains_np, vdiff_dframe_chains_lp) vdiffr::expect_doppelganger("mcmc_nuts_acceptance (default)", p_base) @@ -108,6 +109,7 @@ test_that("mcmc_nuts_acceptance renders correctly", { test_that("mcmc_nuts_divergence renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_nuts_divergence(vdiff_dframe_chains_np, vdiff_dframe_chains_lp) vdiffr::expect_doppelganger("mcmc_nuts_divergence (default)", p_base) @@ -119,6 +121,7 @@ test_that("mcmc_nuts_divergence renders correctly", { test_that("mcmc_nuts_treedepth renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_nuts_treedepth(vdiff_dframe_chains_np, vdiff_dframe_chains_lp) vdiffr::expect_doppelganger("mcmc_nuts_treedepth (default)", p_base) @@ -130,6 +133,7 @@ test_that("mcmc_nuts_treedepth renders correctly", { test_that("mcmc_nuts_stepsize renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_nuts_stepsize(vdiff_dframe_chains_np, vdiff_dframe_chains_lp) vdiffr::expect_doppelganger("mcmc_nuts_stepsize (default)", p_base) @@ -141,6 +145,7 @@ test_that("mcmc_nuts_stepsize renders correctly", { test_that("mcmc_nuts_energy renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_nuts_energy(vdiff_dframe_chains_np, vdiff_dframe_chains_lp, binwidth = 10) vdiffr::expect_doppelganger("mcmc_nuts_energy (default)", p_base) diff --git a/tests/testthat/test-mcmc-recover.R b/tests/testthat/test-mcmc-recover.R index 7cdd9077..a545caa8 100644 --- a/tests/testthat/test-mcmc-recover.R +++ b/tests/testthat/test-mcmc-recover.R @@ -106,6 +106,7 @@ test_that("mcmc_recover_hist returns a ggplot object", { test_that("mcmc_recover_hist renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_recover_hist(draws, true, binwidth = 0.01) vdiffr::expect_doppelganger("mcmc_recover_hist (default)", p_base) @@ -114,6 +115,7 @@ test_that("mcmc_recover_hist renders correctly", { test_that("mcmc_recover_intervals renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_recover_intervals(draws, true) vdiffr::expect_doppelganger("mcmc_recover_intervals (default)", p_base) @@ -125,6 +127,7 @@ test_that("mcmc_recover_intervals renders correctly", { test_that("mcmc_recover_scatter renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_recover_scatter(draws, true) vdiffr::expect_doppelganger("mcmc_recover_scatter (default)", p_base) diff --git a/tests/testthat/test-mcmc-scatter-and-parcoord.R b/tests/testthat/test-mcmc-scatter-and-parcoord.R index e76e4212..7ec8b3f9 100644 --- a/tests/testthat/test-mcmc-scatter-and-parcoord.R +++ b/tests/testthat/test-mcmc-scatter-and-parcoord.R @@ -373,6 +373,7 @@ test_that("parcoord_style_np throws correct errors", { test_that("mcmc_scatter renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_scatter(vdiff_dframe_chains) vdiffr::expect_doppelganger("mcmc_scatter (default)", p_base) @@ -395,6 +396,7 @@ test_that("mcmc_hex renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") skip_if_not_installed("hexbin") + skip_on_r_oldrel() p_base <- mcmc_hex(vdiff_dframe, pars = c("V1", "V2")) vdiffr::expect_doppelganger("mcmc_hex (default)", p_base) @@ -410,6 +412,7 @@ test_that("mcmc_hex renders correctly", { test_that("mcmc_parcoord renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_parcoord(vdiff_dframe_chains) vdiffr::expect_doppelganger("mcmc_parcoord (default)", p_base) @@ -427,6 +430,7 @@ test_that("mcmc_pairs renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") skip_if_not_installed("hexbin") + skip_on_r_oldrel() p_base <- mcmc_pairs(vdiff_dframe_chains) vdiffr::expect_doppelganger("mcmc_pairs (default)", p_base) diff --git a/tests/testthat/test-mcmc-traces.R b/tests/testthat/test-mcmc-traces.R index 0243ed68..d7ba2b39 100644 --- a/tests/testthat/test-mcmc-traces.R +++ b/tests/testthat/test-mcmc-traces.R @@ -116,6 +116,7 @@ test_that("mcmc_trace 'np' argument works", { test_that("mcmc_trace renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_trace(vdiff_dframe_chains, pars = c("V1", "V2")) p_one_param <- mcmc_trace(vdiff_dframe_chains, pars = "V1") @@ -138,6 +139,7 @@ test_that("mcmc_trace renders correctly", { test_that("mcmc_rank_overlay renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_rank_overlay(vdiff_dframe_chains, pars = c("V1", "V2")) p_base_ref <- mcmc_rank_overlay( @@ -167,6 +169,7 @@ test_that("mcmc_rank_overlay renders correctly", { test_that("mcmc_rank_hist renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_rank_hist(vdiff_dframe_chains, pars = c("V1", "V2")) p_base_ref <- mcmc_rank_hist( @@ -199,6 +202,7 @@ test_that("mcmc_rank_hist renders correctly", { test_that("mcmc_trace_highlight renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_trace_highlight( vdiff_dframe_chains, @@ -227,6 +231,7 @@ test_that("mcmc_trace_highlight renders correctly", { test_that("mcmc_rank_ecdf renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_rank_ecdf(vdiff_dframe_chains, pars = c("V1", "V2")) p_one_param <- mcmc_rank_ecdf(vdiff_dframe_chains, pars = "V1") @@ -255,6 +260,7 @@ test_that("mcmc_rank_ecdf renders correctly", { test_that("mcmc_trace with 'np' renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- mcmc_trace( vdiff_dframe_chains, diff --git a/tests/testthat/test-ppc-censoring.R b/tests/testthat/test-ppc-censoring.R index 30b7f0c9..f78639cb 100644 --- a/tests/testthat/test-ppc-censoring.R +++ b/tests/testthat/test-ppc-censoring.R @@ -32,6 +32,7 @@ test_that("ppc_km_overlay renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") skip_if_not_installed("ggfortify") + skip_on_r_oldrel() p_base <- ppc_km_overlay(vdiff_y2, vdiff_yrep2, status_y = vdiff_status_y2) vdiffr::expect_doppelganger("ppc_km_overlay (default)", p_base) @@ -49,6 +50,7 @@ test_that("ppc_km_overlay_grouped renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") skip_if_not_installed("ggfortify") + skip_on_r_oldrel() p_base <- ppc_km_overlay_grouped(vdiff_y2, vdiff_yrep2, vdiff_group2, status_y = vdiff_status_y2) diff --git a/tests/testthat/test-ppc-discrete.R b/tests/testthat/test-ppc-discrete.R index 635bfc64..2a1d5285 100644 --- a/tests/testthat/test-ppc-discrete.R +++ b/tests/testthat/test-ppc-discrete.R @@ -104,6 +104,7 @@ test_that("ppc_rootogram errors if y/yrep not counts", { test_that("ppc_bars renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_bars(vdiff_y2, vdiff_yrep2) vdiffr::expect_doppelganger("ppc_bars (default)", p_base) @@ -137,6 +138,7 @@ test_that("ppc_bars renders correctly", { test_that("ppc_bars_grouped renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_bars_grouped(vdiff_y2, vdiff_yrep2, vdiff_group2) vdiffr::expect_doppelganger("ppc_bars_grouped (default)", p_base) @@ -158,6 +160,7 @@ test_that("ppc_bars_grouped renders correctly", { test_that("ppc_rootogram renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_rootogram(vdiff_y2, vdiff_yrep2) vdiffr::expect_doppelganger("ppc_rootogram (default)", p_base) diff --git a/tests/testthat/test-ppc-distributions.R b/tests/testthat/test-ppc-distributions.R index eb77240f..e544e144 100644 --- a/tests/testthat/test-ppc-distributions.R +++ b/tests/testthat/test-ppc-distributions.R @@ -91,6 +91,7 @@ test_that("ppc_violin_grouped returns a ggplot object", { test_that("ppc_hist renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_hist(vdiff_y, vdiff_yrep[1:8, ]) vdiffr::expect_doppelganger("ppc_hist (default)", p_base) @@ -109,6 +110,7 @@ test_that("ppc_hist renders correctly", { test_that("ppc_freqpoly renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_freqpoly(vdiff_y, vdiff_yrep[1:8, ]) vdiffr::expect_doppelganger("ppc_freqpoly (default)", p_base) @@ -140,6 +142,7 @@ test_that("ppc_freqpoly renders correctly", { test_that("ppc_freqpoly_grouped renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_freqpoly_grouped(vdiff_y, vdiff_yrep[1:3, ], vdiff_group) vdiffr::expect_doppelganger("ppc_freqpoly_grouped (default)", p_base) @@ -152,6 +155,7 @@ test_that("ppc_freqpoly_grouped renders correctly", { test_that("ppc_boxplot renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_boxplot(vdiff_y, vdiff_yrep[1:8, ]) vdiffr::expect_doppelganger("ppc_boxplot (default)", p_base) @@ -176,6 +180,7 @@ test_that("ppc_boxplot renders correctly", { test_that("ppc_ecdf_overlay renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_ecdf_overlay(vdiff_y2, vdiff_yrep2) vdiffr::expect_doppelganger("ppc_ecdf_overlay (default)", p_base) @@ -196,6 +201,8 @@ test_that("ppc_ecdf_overlay renders correctly", { test_that("ppc_ecdf_overlay_grouped renders correctly", { testthat::skip_on_cran() + testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_ecdf_overlay_grouped(vdiff_y2, vdiff_yrep2, vdiff_group2) vdiffr::expect_doppelganger("ppc_ecdf_overlay_grouped (default)", p_base) @@ -218,6 +225,7 @@ test_that("ppc_ecdf_overlay_grouped renders correctly", { test_that("ppc_dens renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_dens(vdiff_y, vdiff_yrep[1:8, ]) vdiffr::expect_doppelganger("ppc_dens (default)", p_base) @@ -230,6 +238,7 @@ test_that("ppc_dens renders correctly", { test_that("ppc_dens_overlay renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_dens_overlay(vdiff_y, vdiff_yrep) vdiffr::expect_doppelganger("ppc_dens_overlay (default)", p_base) @@ -247,6 +256,8 @@ test_that("ppc_dens_overlay renders correctly", { test_that("ppc_dens_overlay_grouped renders correctly", { testthat::skip_on_cran() + testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_dens_overlay_grouped(vdiff_y, vdiff_yrep, vdiff_group) vdiffr::expect_doppelganger("ppc_dens_overlay_grouped (default)", p_base) @@ -269,6 +280,7 @@ test_that("ppc_violin_grouped renders correctly", { testthat::skip_on_cran() testthat::skip_if_not(getRversion() >= "3.6.0") testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_violin_grouped(vdiff_y, vdiff_yrep, vdiff_group) vdiffr::expect_doppelganger("ppc_violin_grouped (default)", p_base) @@ -300,6 +312,7 @@ test_that("ppc_violin_grouped renders correctly", { test_that("ppc_pit_ecdf, ppc_pit_ecdf_grouped renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_pit_ecdf(y, yrep, interpolate_adj = FALSE) g_base <- ppc_pit_ecdf_grouped(y, yrep, group = group, interpolate_adj = FALSE) diff --git a/tests/testthat/test-ppc-errors.R b/tests/testthat/test-ppc-errors.R index d6424b38..fdf20d7d 100644 --- a/tests/testthat/test-ppc-errors.R +++ b/tests/testthat/test-ppc-errors.R @@ -66,6 +66,8 @@ test_that("bin_errors works for edge cases", { test_that("ppc_error_hist renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() + p_base <- ppc_error_hist(vdiff_y, vdiff_yrep[1:3, ]) vdiffr::expect_doppelganger("ppc_error_hist (default)", p_base) }) @@ -73,6 +75,8 @@ test_that("ppc_error_hist renders correctly", { test_that("ppc_error_hist_grouped renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() + p_base <- ppc_error_hist_grouped(vdiff_y, vdiff_yrep[1:3, ], vdiff_group) vdiffr::expect_doppelganger("ppc_error_hist_grouped (default)", p_base) }) @@ -80,6 +84,8 @@ test_that("ppc_error_hist_grouped renders correctly", { test_that("ppc_error_scatter renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() + p_base <- ppc_error_scatter(vdiff_y, vdiff_yrep[1:3, ]) vdiffr::expect_doppelganger("ppc_error_scatter (default)", p_base) }) @@ -87,6 +93,8 @@ test_that("ppc_error_scatter renders correctly", { test_that("ppc_error_scatter_avg renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() + p_base <- ppc_error_scatter_avg(vdiff_y, vdiff_yrep) vdiffr::expect_doppelganger("ppc_error_scatter_avg (default)", p_base) }) @@ -94,6 +102,8 @@ test_that("ppc_error_scatter_avg renders correctly", { test_that("ppc_error_scatter_avg_grouped renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() + p_base <- ppc_error_scatter_avg_grouped(vdiff_y, vdiff_yrep, vdiff_group) vdiffr::expect_doppelganger("ppc_error_scatter_avg_grouped (default)", p_base) }) @@ -101,6 +111,8 @@ test_that("ppc_error_scatter_avg_grouped renders correctly", { test_that("ppc_error_scatter_avg_vs_x renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() + p_base <- ppc_error_scatter_avg_vs_x(vdiff_y, vdiff_yrep, x = seq_along(vdiff_y)) vdiffr::expect_doppelganger("ppc_error_scatter_avg_vs_x (default)", p_base) }) @@ -108,6 +120,7 @@ test_that("ppc_error_scatter_avg_vs_x renders correctly", { test_that("ppc_error_binned renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() rbeta2 <- function(n, mu, phi) { a <- mu * phi diff --git a/tests/testthat/test-ppc-intervals.R b/tests/testthat/test-ppc-intervals.R index 30047441..d1d7aa9d 100644 --- a/tests/testthat/test-ppc-intervals.R +++ b/tests/testthat/test-ppc-intervals.R @@ -108,6 +108,7 @@ test_that("ppc_intervals_data does math correctly", { test_that("ppc_intervals renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_intervals(vdiff_y, vdiff_yrep) vdiffr::expect_doppelganger("ppc_intervals (default)", p_base) @@ -132,6 +133,7 @@ test_that("ppc_intervals renders correctly", { test_that("ppc_intervals_grouped renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_intervals_grouped(vdiff_y, vdiff_yrep, group = vdiff_group) vdiffr::expect_doppelganger("ppc_intervals_grouped (default)", p_base) @@ -157,6 +159,7 @@ test_that("ppc_intervals_grouped renders correctly", { test_that("ppc_ribbon renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_ribbon(vdiff_y, vdiff_yrep) vdiffr::expect_doppelganger("ppc_ribbon (default)", p_base) @@ -190,6 +193,7 @@ test_that("ppc_ribbon renders correctly", { test_that("ppc_ribbon_grouped renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_ribbon_grouped(vdiff_y, vdiff_yrep, group = vdiff_group) vdiffr::expect_doppelganger("ppc_ribbon_grouped (default)", p_base) diff --git a/tests/testthat/test-ppc-loo.R b/tests/testthat/test-ppc-loo.R index 878d9389..47afe69d 100644 --- a/tests/testthat/test-ppc-loo.R +++ b/tests/testthat/test-ppc-loo.R @@ -167,6 +167,7 @@ test_that("ppc_loo_pit_overlay renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") skip_if_not_installed("loo") + skip_on_r_oldrel() p_base <- suppressMessages(ppc_loo_pit_overlay(vdiff_loo_y, vdiff_loo_yrep, vdiff_loo_lw)) vdiffr::expect_doppelganger("ppc_loo_pit_overlay (default)", p_base) @@ -184,6 +185,7 @@ test_that("ppc_loo_pit_qq renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") skip_if_not_installed("loo") + skip_on_r_oldrel() p_base <- ppc_loo_pit_qq(vdiff_loo_y, vdiff_loo_yrep, vdiff_loo_lw) vdiffr::expect_doppelganger("ppc_loo_pit_qq (default)", p_base) @@ -193,6 +195,7 @@ test_that("ppc_loo_intervals renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") skip_if_not_installed("loo") + skip_on_r_oldrel() psis_object <- suppressWarnings(loo::psis(-vdiff_loo_lw)) p_base <- ppc_loo_intervals( @@ -224,6 +227,7 @@ test_that("ppc_loo_ribbon renders correctly", { skip_on_cran() skip_if_not_installed("vdiffr") skip_if_not_installed("loo") + skip_on_r_oldrel() psis_object <- suppressWarnings(loo::psis(-vdiff_loo_lw)) p_base <- ppc_loo_ribbon( diff --git a/tests/testthat/test-ppc-scatterplots.R b/tests/testthat/test-ppc-scatterplots.R index 56d74ac2..2640472e 100644 --- a/tests/testthat/test-ppc-scatterplots.R +++ b/tests/testthat/test-ppc-scatterplots.R @@ -35,6 +35,7 @@ test_that("ppc_scatter_avg_grouped returns a ggplot object", { test_that("ppc_scatter renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_scatter(vdiff_y, vdiff_yrep[1:6, ]) vdiffr::expect_doppelganger("ppc_scatter (default)", p_base) @@ -54,6 +55,7 @@ test_that("ppc_scatter renders correctly", { test_that("ppc_scatter_avg renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_scatter_avg(vdiff_y, vdiff_yrep) vdiffr::expect_doppelganger("ppc_scatter_avg (default)", p_base) @@ -73,6 +75,7 @@ test_that("ppc_scatter_avg renders correctly", { test_that("ppc_scatter_avg_grouped renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_scatter_avg_grouped(vdiff_y, vdiff_yrep, vdiff_group) vdiffr::expect_doppelganger("ppc_scatter_avg_grouped (default)", p_base) diff --git a/tests/testthat/test-ppc-test-statistics.R b/tests/testthat/test-ppc-test-statistics.R index 3eb764d2..ab8b7166 100644 --- a/tests/testthat/test-ppc-test-statistics.R +++ b/tests/testthat/test-ppc-test-statistics.R @@ -99,6 +99,7 @@ test_that("ppc_stat_data and ppd_stat_data throw correct errors", { test_that("ppc_stat renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_stat(vdiff_y, vdiff_yrep, binwidth = 0.05) + yaxis_text() vdiffr::expect_doppelganger("ppc_stat (default)", p_base) @@ -132,6 +133,7 @@ test_that("ppc_stat renders correctly", { test_that("ppc_stat_2d renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_stat_2d(vdiff_y, vdiff_yrep) vdiffr::expect_doppelganger("ppc_stat_2d (default)", p_base) @@ -165,6 +167,7 @@ test_that("ppc_stat_2d renders correctly", { test_that("ppc_stat_grouped renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_stat_grouped(vdiff_y, vdiff_yrep, vdiff_group, binwidth = 0.05) vdiffr::expect_doppelganger("ppc_stat_grouped (default)", p_base) @@ -200,6 +203,7 @@ test_that("ppc_stat_grouped renders correctly", { test_that("ppc_stat_freqpoly_grouped renders correctly", { testthat::skip_on_cran() testthat::skip_if_not_installed("vdiffr") + skip_on_r_oldrel() p_base <- ppc_stat_freqpoly_grouped(vdiff_y, vdiff_yrep, vdiff_group, binwidth = 0.05) vdiffr::expect_doppelganger("ppc_stat_freqpoly_grouped (default)", p_base)