diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index b0f3cd6..3cdf68c 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -1,16 +1,14 @@ -# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. -# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions +# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples +# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help on: push: - branches: - - master - - develop + branches: [master, develop] pull_request: - branches: - - master - - develop + branches: [master, develop] -name: R-CMD-check +name: R-CMD-check.yaml + +permissions: read-all jobs: R-CMD-check: @@ -22,63 +20,33 @@ jobs: fail-fast: false matrix: config: + - {os: macos-latest, r: 'release'} - {os: windows-latest, r: 'release'} - - {os: macOS-latest, r: 'release'} - - {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} - - {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} + - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} + - {os: ubuntu-latest, r: 'release'} + - {os: ubuntu-latest, r: 'oldrel-1'} env: - R_REMOTES_NO_ERRORS_FROM_WARNINGS: true - RSPM: ${{ matrix.config.rspm }} GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + R_KEEP_PKG_SOURCE: yes steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + + - uses: r-lib/actions/setup-pandoc@v2 - - uses: r-lib/actions/setup-r@v1 + - 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-pandoc@v1 - - - name: Query dependencies - run: | - install.packages('remotes') - saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2) - writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version") - shell: Rscript {0} - - - name: Cache R packages - if: runner.os != 'Windows' - uses: actions/cache@v2 + - uses: r-lib/actions/setup-r-dependencies@v2 with: - path: ${{ env.R_LIBS_USER }} - key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }} - restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1- - - - name: Install system dependencies - if: runner.os == 'Linux' - run: | - while read -r cmd - do - eval sudo $cmd - done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "20.04"))') - - - name: Install dependencies - run: | - remotes::install_deps(dependencies = TRUE) - remotes::install_cran("rcmdcheck") - shell: Rscript {0} - - - name: Check - env: - _R_CHECK_CRAN_INCOMING_REMOTE_: false - run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check") - shell: Rscript {0} + extra-packages: any::rcmdcheck + needs: check - - name: Upload check results - if: failure() - uses: actions/upload-artifact@main + - uses: r-lib/actions/check-r-package@v2 with: - name: ${{ runner.os }}-r${{ matrix.config.r }}-results - path: check + upload-snapshots: true + build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' diff --git a/.github/workflows/rhub.yaml b/.github/workflows/rhub.yaml new file mode 100644 index 0000000..74ec7b0 --- /dev/null +++ b/.github/workflows/rhub.yaml @@ -0,0 +1,95 @@ +# R-hub's generic GitHub Actions workflow file. It's canonical location is at +# https://github.com/r-hub/actions/blob/v1/workflows/rhub.yaml +# You can update this file to a newer version using the rhub2 package: +# +# rhub::rhub_setup() +# +# It is unlikely that you need to modify this file manually. + +name: R-hub +run-name: "${{ github.event.inputs.id }}: ${{ github.event.inputs.name || format('Manually run by {0}', github.triggering_actor) }}" + +on: + workflow_dispatch: + inputs: + config: + description: 'A comma separated list of R-hub platforms to use.' + type: string + default: 'linux,windows,macos' + name: + description: 'Run name. You can leave this empty now.' + type: string + id: + description: 'Unique ID. You can leave this empty now.' + type: string + +jobs: + + setup: + runs-on: ubuntu-latest + outputs: + containers: ${{ steps.rhub-setup.outputs.containers }} + platforms: ${{ steps.rhub-setup.outputs.platforms }} + + steps: + # NO NEED TO CHECKOUT HERE + - uses: r-hub/actions/setup@v1 + with: + config: ${{ github.event.inputs.config }} + id: rhub-setup + + linux-containers: + needs: setup + if: ${{ needs.setup.outputs.containers != '[]' }} + runs-on: ubuntu-latest + name: ${{ matrix.config.label }} + strategy: + fail-fast: false + matrix: + config: ${{ fromJson(needs.setup.outputs.containers) }} + container: + image: ${{ matrix.config.container }} + + steps: + - uses: r-hub/actions/checkout@v1 + - uses: r-hub/actions/platform-info@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + - uses: r-hub/actions/setup-deps@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + - uses: r-hub/actions/run-check@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + + other-platforms: + needs: setup + if: ${{ needs.setup.outputs.platforms != '[]' }} + runs-on: ${{ matrix.config.os }} + name: ${{ matrix.config.label }} + strategy: + fail-fast: false + matrix: + config: ${{ fromJson(needs.setup.outputs.platforms) }} + + steps: + - uses: r-hub/actions/checkout@v1 + - uses: r-hub/actions/setup-r@v1 + with: + job-config: ${{ matrix.config.job-config }} + token: ${{ secrets.RHUB_TOKEN }} + - uses: r-hub/actions/platform-info@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + - uses: r-hub/actions/setup-deps@v1 + with: + job-config: ${{ matrix.config.job-config }} + token: ${{ secrets.RHUB_TOKEN }} + - uses: r-hub/actions/run-check@v1 + with: + job-config: ${{ matrix.config.job-config }} + token: ${{ secrets.RHUB_TOKEN }} diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 9245d3a..5679b54 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -1,48 +1,61 @@ +# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples +# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help on: push: - branches: - - master - - develop + branches: [master, develop] pull_request: - branches: - - master - - develop + branches: [master, develop] -name: test-coverage +name: test-coverage.yaml + +permissions: read-all jobs: test-coverage: - runs-on: macOS-latest + runs-on: ubuntu-latest env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: r-lib/actions/setup-r@v1 + - uses: r-lib/actions/setup-r@v2 + with: + use-public-rspm: true - - uses: r-lib/actions/setup-pandoc@v1 + - uses: r-lib/actions/setup-r-dependencies@v2 + with: + extra-packages: any::covr, any::xml2 + needs: coverage - - name: Query dependencies + - name: Test coverage run: | - install.packages('remotes') - saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2) - writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version") + cov <- covr::package_coverage( + quiet = FALSE, + clean = FALSE, + install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package") + ) + covr::to_cobertura(cov) shell: Rscript {0} - - name: Cache R packages - uses: actions/cache@v2 + - uses: codecov/codecov-action@v4 with: - path: ${{ env.R_LIBS_USER }} - key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }} - restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1- - - - name: Install dependencies + fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }} + file: ./cobertura.xml + plugin: noop + disable_search: true + token: ${{ secrets.CODECOV_TOKEN }} + + - name: Show testthat output + if: always() run: | - install.packages(c("remotes")) - remotes::install_deps(dependencies = TRUE) - remotes::install_cran("covr") - shell: Rscript {0} + ## -------------------------------------------------------------------- + find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true + shell: bash - - name: Test coverage - run: covr::codecov() - shell: Rscript {0} + - name: Upload test results + if: failure() + uses: actions/upload-artifact@v4 + with: + name: coverage-test-failures + path: ${{ runner.temp }}/package diff --git a/DESCRIPTION b/DESCRIPTION index 4a7b724..03c66cc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -23,5 +23,5 @@ License: MIT + file LICENSE URL: https://github.com/rsquaredacademy/vistributions, https://vistributions.rsquaredacademy.com BugReports: https://github.com/rsquaredacademy/vistributions/issues Encoding: UTF-8 -RoxygenNote: 7.1.1 +RoxygenNote: 7.3.2 VignetteBuilder: knitr diff --git a/R/vdist-data-prep.R b/R/vdist-data-prep.R index 1402d2d..6bad1e2 100644 --- a/R/vdist-data-prep.R +++ b/R/vdist-data-prep.R @@ -305,7 +305,7 @@ nplot_data_prep <- function(mean, sd) { col <- c("#0000CD", "#4682B4", "#6495ED", "#4682B4", "#6495ED") l1 <- c(3, 2, 1, 5, 6) l2 <- c(5, 3, 2, 6, 7) - ll <- l[3:9] + ll <- l[3:9] plot_data <- data.frame(x = x, y = dnorm(x, mean, sd)) diff --git a/R/vistributions.R b/R/vistributions.R index 6ca6f7e..4ad8688 100644 --- a/R/vistributions.R +++ b/R/vistributions.R @@ -3,7 +3,10 @@ #' Visualize probability distributions. #' #' @docType package +#' @keywords internal #' @name vistributions +#' @aliases vistributions-package +"_PACKAGE" NULL ## quiets concerns of R CMD check re: the .'s that appear in pipelines diff --git a/README.Rmd b/README.Rmd index 082d154..1f161bb 100644 --- a/README.Rmd +++ b/README.Rmd @@ -17,9 +17,9 @@ knitr::opts_chunk$set( > Visualize probability distributions -[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/vistributions)](https://cran.r-project.org/package=vistributions) [![cran checks](https://cranchecks.info/badges/summary/vistributions)](https://cran.r-project.org/web/checks/check_results_vistributions.html) -[![R build status](https://github.com/rsquaredacademy/vistributions/workflows/R-CMD-check/badge.svg)](https://github.com/rsquaredacademy/vistributions/actions) -[![Coverage Status](https://img.shields.io/codecov/c/github/rsquaredacademy/vistributions/master.svg)](https://codecov.io/github/rsquaredacademy/vistributions?branch=master) [![status](https://tinyverse.netlify.com/badge/vistributions)](https://CRAN.R-project.org/package=vistributions) [![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) [![](https://cranlogs.r-pkg.org/badges/grand-total/vistributions)](https://cran.r-project.org/package=vistributions) +[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/vistributions)](https://cran.r-project.org/package=vistributions) +[![R-CMD-check](https://github.com/rsquaredacademy/vistributions/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/rsquaredacademy/vistributions/actions/workflows/R-CMD-check.yaml) +[![Coverage Status](https://img.shields.io/codecov/c/github/rsquaredacademy/vistributions/master.svg)](https://codecov.io/github/rsquaredacademy/vistributions?branch=master) ## Installation diff --git a/README.md b/README.md index fc0b87e..1a83d59 100644 --- a/README.md +++ b/README.md @@ -7,17 +7,10 @@ -[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/vistributions)](https://cran.r-project.org/package=vistributions) -[![cran -checks](https://cranchecks.info/badges/summary/vistributions)](https://cran.r-project.org/web/checks/check_results_vistributions.html) -[![R build -status](https://github.com/rsquaredacademy/vistributions/workflows/R-CMD-check/badge.svg)](https://github.com/rsquaredacademy/vistributions/actions) +[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/vistributions)](https://cran.r-project.org/package=vistributions) +[![R-CMD-check](https://github.com/rsquaredacademy/vistributions/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/rsquaredacademy/vistributions/actions/workflows/R-CMD-check.yaml) [![Coverage -Status](https://img.shields.io/codecov/c/github/rsquaredacademy/vistributions/master.svg)](https://codecov.io/github/rsquaredacademy/vistributions?branch=master) -[![status](https://tinyverse.netlify.com/badge/vistributions)](https://CRAN.R-project.org/package=vistributions) -[![Lifecycle: -stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) -[![](https://cranlogs.r-pkg.org/badges/grand-total/vistributions)](https://cran.r-project.org/package=vistributions) +Status](https://img.shields.io/codecov/c/github/rsquaredacademy/vistributions/master.svg)](https://codecov.io/github/rsquaredacademy/vistributions?branch=master) ## Installation @@ -33,8 +26,8 @@ devtools::install_github("rsquaredacademy/vistributions") ## Articles -- [Explore - Distributions](https://vistributions.rsquaredacademy.com/articles/introduction-to-vistributions.html) +- [Explore + Distributions](https://vistributions.rsquaredacademy.com/articles/introduction-to-vistributions.html) ## Usage @@ -48,6 +41,7 @@ vdist_normal_plot() ``` r + # visualize quantiles out of given probability vdist_normal_perc(0.95, mean = 2, sd = 1.36, type = 'both') ``` @@ -55,6 +49,7 @@ vdist_normal_perc(0.95, mean = 2, sd = 1.36, type = 'both') ``` r + # visualize probability from a given quantile vdist_normal_prob(c(-1.74, 1.83), type = 'both') ``` diff --git a/man/figures/README-normal-1.png b/man/figures/README-normal-1.png index 3dcdb34..565fa26 100644 Binary files a/man/figures/README-normal-1.png and b/man/figures/README-normal-1.png differ diff --git a/man/figures/README-normal-2.png b/man/figures/README-normal-2.png index 41752f5..eb1bf87 100644 Binary files a/man/figures/README-normal-2.png and b/man/figures/README-normal-2.png differ diff --git a/man/figures/README-normal-3.png b/man/figures/README-normal-3.png index 99d34e8..b18e0bf 100644 Binary files a/man/figures/README-normal-3.png and b/man/figures/README-normal-3.png differ diff --git a/man/vistributions.Rd b/man/vistributions.Rd index fc53ba9..c81c489 100644 --- a/man/vistributions.Rd +++ b/man/vistributions.Rd @@ -3,7 +3,22 @@ \docType{package} \name{vistributions} \alias{vistributions} +\alias{vistributions-package} \title{\code{vistributions} package} \description{ Visualize probability distributions. } +\seealso{ +Useful links: +\itemize{ + \item \url{https://github.com/rsquaredacademy/vistributions} + \item \url{https://vistributions.rsquaredacademy.com} + \item Report bugs at \url{https://github.com/rsquaredacademy/vistributions/issues} +} + +} +\author{ +\strong{Maintainer}: Aravind Hebbali \email{hebbali.aravind@gmail.com} + +} +\keyword{internal} diff --git a/tests/testthat/_snaps/visual/binomial-perc-lower.svg b/tests/testthat/_snaps/visual/binomial-perc-lower.svg index 3aabc25..0296eba 100644 --- a/tests/testthat/_snaps/visual/binomial-perc-lower.svg +++ b/tests/testthat/_snaps/visual/binomial-perc-lower.svg @@ -61,17 +61,17 @@ - - - - - - - - - - - + + + + + + + + + + + 0.00 diff --git a/tests/testthat/_snaps/visual/binomial-perc-upper.svg b/tests/testthat/_snaps/visual/binomial-perc-upper.svg index d252dcc..801439c 100644 --- a/tests/testthat/_snaps/visual/binomial-perc-upper.svg +++ b/tests/testthat/_snaps/visual/binomial-perc-upper.svg @@ -61,17 +61,17 @@ - - - - - - - - - - - + + + + + + + + + + + 0.00 diff --git a/tests/testthat/_snaps/visual/binomial-plot.svg b/tests/testthat/_snaps/visual/binomial-plot.svg index 138174a..deca733 100644 --- a/tests/testthat/_snaps/visual/binomial-plot.svg +++ b/tests/testthat/_snaps/visual/binomial-plot.svg @@ -56,17 +56,17 @@ - - - - - - - - - - - + + + + + + + + + + + 0.0 diff --git a/tests/testthat/_snaps/visual/binomial-prob-exact.svg b/tests/testthat/_snaps/visual/binomial-prob-exact.svg index 4a116c6..a4e0ae0 100644 --- a/tests/testthat/_snaps/visual/binomial-prob-exact.svg +++ b/tests/testthat/_snaps/visual/binomial-prob-exact.svg @@ -56,17 +56,17 @@ - - - - - - - - - - - + + + + + + + + + + + 0.0 diff --git a/tests/testthat/_snaps/visual/binomial-prob-interval.svg b/tests/testthat/_snaps/visual/binomial-prob-interval.svg index da0ba8f..dfe8c9d 100644 --- a/tests/testthat/_snaps/visual/binomial-prob-interval.svg +++ b/tests/testthat/_snaps/visual/binomial-prob-interval.svg @@ -56,17 +56,17 @@ - - - - - - - - - - - + + + + + + + + + + + 0.0 diff --git a/tests/testthat/_snaps/visual/binomial-prob-lower.svg b/tests/testthat/_snaps/visual/binomial-prob-lower.svg index eb0a517..99be831 100644 --- a/tests/testthat/_snaps/visual/binomial-prob-lower.svg +++ b/tests/testthat/_snaps/visual/binomial-prob-lower.svg @@ -56,17 +56,17 @@ - - - - - - - - - - - + + + + + + + + + + + 0.0 diff --git a/tests/testthat/_snaps/visual/binomial-prob-upper.svg b/tests/testthat/_snaps/visual/binomial-prob-upper.svg index 02eea1b..ca18dce 100644 --- a/tests/testthat/_snaps/visual/binomial-prob-upper.svg +++ b/tests/testthat/_snaps/visual/binomial-prob-upper.svg @@ -56,17 +56,17 @@ - - - - - - - - - - - + + + + + + + + + + + 0.0 diff --git a/tests/testthat/_snaps/visual/chisquare-perc-lower.svg b/tests/testthat/_snaps/visual/chisquare-perc-lower.svg index 0fa6ec1..31dd37a 100644 --- a/tests/testthat/_snaps/visual/chisquare-perc-lower.svg +++ b/tests/testthat/_snaps/visual/chisquare-perc-lower.svg @@ -45,8 +45,8 @@ 16.5% 83.5% - - + + diff --git a/tests/testthat/_snaps/visual/chisquare-perc-upper.svg b/tests/testthat/_snaps/visual/chisquare-perc-upper.svg index a1414ad..e0e6b0b 100644 --- a/tests/testthat/_snaps/visual/chisquare-perc-upper.svg +++ b/tests/testthat/_snaps/visual/chisquare-perc-upper.svg @@ -49,8 +49,8 @@ 78% 22% - - + + diff --git a/tests/testthat/_snaps/visual/chisquare-plot-1.svg b/tests/testthat/_snaps/visual/chisquare-plot-1.svg index 49ae113..ec2755c 100644 --- a/tests/testthat/_snaps/visual/chisquare-plot-1.svg +++ b/tests/testthat/_snaps/visual/chisquare-plot-1.svg @@ -67,7 +67,7 @@ - + diff --git a/tests/testthat/_snaps/visual/chisquare-plot-1a.svg b/tests/testthat/_snaps/visual/chisquare-plot-1a.svg index 8285e85..2abe50d 100644 --- a/tests/testthat/_snaps/visual/chisquare-plot-1a.svg +++ b/tests/testthat/_snaps/visual/chisquare-plot-1a.svg @@ -77,7 +77,7 @@ - + diff --git a/tests/testthat/_snaps/visual/chisquare-plot-2.svg b/tests/testthat/_snaps/visual/chisquare-plot-2.svg index 31edbb7..b9f50a1 100644 --- a/tests/testthat/_snaps/visual/chisquare-plot-2.svg +++ b/tests/testthat/_snaps/visual/chisquare-plot-2.svg @@ -63,7 +63,7 @@ - + diff --git a/tests/testthat/_snaps/visual/chisquare-plot-3.svg b/tests/testthat/_snaps/visual/chisquare-plot-3.svg index dbdc3a9..ba7f27a 100644 --- a/tests/testthat/_snaps/visual/chisquare-plot-3.svg +++ b/tests/testthat/_snaps/visual/chisquare-plot-3.svg @@ -63,7 +63,7 @@ - + diff --git a/tests/testthat/_snaps/visual/chisquare-prob-lower.svg b/tests/testthat/_snaps/visual/chisquare-prob-lower.svg index 81b4c4e..6882f99 100644 --- a/tests/testthat/_snaps/visual/chisquare-prob-lower.svg +++ b/tests/testthat/_snaps/visual/chisquare-prob-lower.svg @@ -41,8 +41,8 @@ 74.3% 25.7% - - + + diff --git a/tests/testthat/_snaps/visual/chisquare-prob-upper.svg b/tests/testthat/_snaps/visual/chisquare-prob-upper.svg index 2966d72..9bfce93 100644 --- a/tests/testthat/_snaps/visual/chisquare-prob-upper.svg +++ b/tests/testthat/_snaps/visual/chisquare-prob-upper.svg @@ -41,8 +41,8 @@ 73.5% 26.5% - - + + diff --git a/tests/testthat/_snaps/visual/f-perc-lower.svg b/tests/testthat/_snaps/visual/f-perc-lower.svg index d5fc469..0d33754 100644 --- a/tests/testthat/_snaps/visual/f-perc-lower.svg +++ b/tests/testthat/_snaps/visual/f-perc-lower.svg @@ -39,8 +39,8 @@ 95% 5% - - + + diff --git a/tests/testthat/_snaps/visual/f-perc-upper.svg b/tests/testthat/_snaps/visual/f-perc-upper.svg index 11567d0..eacdacd 100644 --- a/tests/testthat/_snaps/visual/f-perc-upper.svg +++ b/tests/testthat/_snaps/visual/f-perc-upper.svg @@ -39,8 +39,8 @@ 87.5% 12.5% - - + + diff --git a/tests/testthat/_snaps/visual/f-plot-1.svg b/tests/testthat/_snaps/visual/f-plot-1.svg index a88a89d..108d95f 100644 --- a/tests/testthat/_snaps/visual/f-plot-1.svg +++ b/tests/testthat/_snaps/visual/f-plot-1.svg @@ -37,7 +37,7 @@ - + diff --git a/tests/testthat/_snaps/visual/f-plot-2.svg b/tests/testthat/_snaps/visual/f-plot-2.svg index 0806034..64f9ef3 100644 --- a/tests/testthat/_snaps/visual/f-plot-2.svg +++ b/tests/testthat/_snaps/visual/f-plot-2.svg @@ -41,7 +41,7 @@ - + diff --git a/tests/testthat/_snaps/visual/f-prob-lower.svg b/tests/testthat/_snaps/visual/f-prob-lower.svg index 587a314..b823e8c 100644 --- a/tests/testthat/_snaps/visual/f-prob-lower.svg +++ b/tests/testthat/_snaps/visual/f-prob-lower.svg @@ -39,8 +39,8 @@ 93.7% 6.3% - - + + diff --git a/tests/testthat/_snaps/visual/f-prob-upper.svg b/tests/testthat/_snaps/visual/f-prob-upper.svg index 6705ce9..93b7f73 100644 --- a/tests/testthat/_snaps/visual/f-prob-upper.svg +++ b/tests/testthat/_snaps/visual/f-prob-upper.svg @@ -39,8 +39,8 @@ 82.1% 17.9% - - + + diff --git a/tests/testthat/_snaps/visual/normal-perc-both.svg b/tests/testthat/_snaps/visual/normal-perc-both.svg index a0c2deb..0475cdd 100644 --- a/tests/testthat/_snaps/visual/normal-perc-both.svg +++ b/tests/testthat/_snaps/visual/normal-perc-both.svg @@ -54,9 +54,9 @@ 95% 2.5% 2.5% - - - + + + diff --git a/tests/testthat/_snaps/visual/normal-perc-lower.svg b/tests/testthat/_snaps/visual/normal-perc-lower.svg index c0e836a..e966652 100644 --- a/tests/testthat/_snaps/visual/normal-perc-lower.svg +++ b/tests/testthat/_snaps/visual/normal-perc-lower.svg @@ -53,8 +53,8 @@ 95% 5% - - + + diff --git a/tests/testthat/_snaps/visual/normal-perc-upper.svg b/tests/testthat/_snaps/visual/normal-perc-upper.svg index c22b7c6..0839e98 100644 --- a/tests/testthat/_snaps/visual/normal-perc-upper.svg +++ b/tests/testthat/_snaps/visual/normal-perc-upper.svg @@ -53,8 +53,8 @@ 70% 30% - - + + diff --git a/tests/testthat/_snaps/visual/normal-plot-1.svg b/tests/testthat/_snaps/visual/normal-plot-1.svg index 4a98309..c600799 100644 --- a/tests/testthat/_snaps/visual/normal-plot-1.svg +++ b/tests/testthat/_snaps/visual/normal-plot-1.svg @@ -44,11 +44,11 @@ - - - - - + + + + + 0.0 diff --git a/tests/testthat/_snaps/visual/normal-plot-2.svg b/tests/testthat/_snaps/visual/normal-plot-2.svg index 7f0c8a7..dfc5c90 100644 --- a/tests/testthat/_snaps/visual/normal-plot-2.svg +++ b/tests/testthat/_snaps/visual/normal-plot-2.svg @@ -42,11 +42,11 @@ - - - - - + + + + + 0.0 diff --git a/tests/testthat/_snaps/visual/normal-prob-both.svg b/tests/testthat/_snaps/visual/normal-prob-both.svg index 256b8ed..8f9ce6f 100644 --- a/tests/testthat/_snaps/visual/normal-prob-both.svg +++ b/tests/testthat/_snaps/visual/normal-prob-both.svg @@ -48,9 +48,9 @@ 92.5% 4.1% 3.4% - - - + + + diff --git a/tests/testthat/_snaps/visual/normal-prob-lower.svg b/tests/testthat/_snaps/visual/normal-prob-lower.svg index 8f3a633..ea6383e 100644 --- a/tests/testthat/_snaps/visual/normal-prob-lower.svg +++ b/tests/testthat/_snaps/visual/normal-prob-lower.svg @@ -47,8 +47,8 @@ 90.5% 9.5% - - + + diff --git a/tests/testthat/_snaps/visual/normal-prob-upper.svg b/tests/testthat/_snaps/visual/normal-prob-upper.svg index 8db05f9..93e4ac4 100644 --- a/tests/testthat/_snaps/visual/normal-prob-upper.svg +++ b/tests/testthat/_snaps/visual/normal-prob-upper.svg @@ -47,8 +47,8 @@ 85.3% 14.7% - - + + diff --git a/tests/testthat/_snaps/visual/t-perc-both.svg b/tests/testthat/_snaps/visual/t-perc-both.svg index e8610d7..746b5ea 100644 --- a/tests/testthat/_snaps/visual/t-perc-both.svg +++ b/tests/testthat/_snaps/visual/t-perc-both.svg @@ -54,9 +54,9 @@ 69% 15.5% 15.5% - - - + + + diff --git a/tests/testthat/_snaps/visual/t-perc-lower.svg b/tests/testthat/_snaps/visual/t-perc-lower.svg index dc91e0d..d1c633b 100644 --- a/tests/testthat/_snaps/visual/t-perc-lower.svg +++ b/tests/testthat/_snaps/visual/t-perc-lower.svg @@ -53,8 +53,8 @@ 95% 5% - - + + diff --git a/tests/testthat/_snaps/visual/t-perc-upper.svg b/tests/testthat/_snaps/visual/t-perc-upper.svg index faa9ad6..903561f 100644 --- a/tests/testthat/_snaps/visual/t-perc-upper.svg +++ b/tests/testthat/_snaps/visual/t-perc-upper.svg @@ -53,8 +53,8 @@ 65% 35% - - + + diff --git a/tests/testthat/_snaps/visual/t-plot-1.svg b/tests/testthat/_snaps/visual/t-plot-1.svg index a3157f0..19d7c78 100644 --- a/tests/testthat/_snaps/visual/t-plot-1.svg +++ b/tests/testthat/_snaps/visual/t-plot-1.svg @@ -45,7 +45,7 @@ - + diff --git a/tests/testthat/_snaps/visual/t-plot-2.svg b/tests/testthat/_snaps/visual/t-plot-2.svg index 17884f1..0f43e65 100644 --- a/tests/testthat/_snaps/visual/t-plot-2.svg +++ b/tests/testthat/_snaps/visual/t-plot-2.svg @@ -45,7 +45,7 @@ - + diff --git a/tests/testthat/_snaps/visual/t-plot-3.svg b/tests/testthat/_snaps/visual/t-plot-3.svg index 0824692..5404b3d 100644 --- a/tests/testthat/_snaps/visual/t-plot-3.svg +++ b/tests/testthat/_snaps/visual/t-plot-3.svg @@ -45,7 +45,7 @@ - + diff --git a/tests/testthat/_snaps/visual/t-prob-both.svg b/tests/testthat/_snaps/visual/t-prob-both.svg index 37a9baf..3655c21 100644 --- a/tests/testthat/_snaps/visual/t-prob-both.svg +++ b/tests/testthat/_snaps/visual/t-prob-both.svg @@ -51,9 +51,9 @@ - - - + + + 80.8% 9.6% 9.6% diff --git a/tests/testthat/_snaps/visual/t-prob-interval.svg b/tests/testthat/_snaps/visual/t-prob-interval.svg index 20315dd..be4c4b7 100644 --- a/tests/testthat/_snaps/visual/t-prob-interval.svg +++ b/tests/testthat/_snaps/visual/t-prob-interval.svg @@ -51,9 +51,9 @@ - - - + + + 84.6% 7.7% 7.7% diff --git a/tests/testthat/_snaps/visual/t-prob-lower.svg b/tests/testthat/_snaps/visual/t-prob-lower.svg index 27fbef1..8f06285 100644 --- a/tests/testthat/_snaps/visual/t-prob-lower.svg +++ b/tests/testthat/_snaps/visual/t-prob-lower.svg @@ -51,8 +51,8 @@ - - + + 96% 4% diff --git a/tests/testthat/_snaps/visual/t-prob-upper.svg b/tests/testthat/_snaps/visual/t-prob-upper.svg index a1f69ad..379fd09 100644 --- a/tests/testthat/_snaps/visual/t-prob-upper.svg +++ b/tests/testthat/_snaps/visual/t-prob-upper.svg @@ -51,8 +51,8 @@ - - + + 81.2% 18.8%