Skip to content

Commit

Permalink
CRAN RC 0.12.0 (#861)
Browse files Browse the repository at this point in the history
* bump deps

* fix regression

* bump Pandoc version

* bump deps

* bump versions

* update actions

* Update check-readme.yaml

* remove redundant `pairwise.comparisons` arg

closes #858

* also update vignettes for the API change

* use roxyglobals

to automate generating global variables

* fix styler workflow; minor styling

* clean up comments; bump Pandoc

* minor

* use latest versions for pairwise comparisons

* skip on devel for now

* rstantools needed?

* run random order check on R-release

* use per-operation grouping feature

* use glue for creating expressions

* Apply automatic changes

* Update faq.Rmd

closes #864

* CRAN submission

---------

Co-authored-by: IndrajeetPatil <IndrajeetPatil@users.noreply.github.com>
  • Loading branch information
IndrajeetPatil and IndrajeetPatil committed Aug 7, 2023
1 parent befe812 commit 24ca86f
Show file tree
Hide file tree
Showing 60 changed files with 1,155 additions and 302 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check-hard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# https://github.com/jgm/pandoc/releases
- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "3.1.2"
pandoc-version: "3.1.6"

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check-strict.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "3.1.2"
pandoc-version: "3.1.6"

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "3.1.2"
pandoc-version: "3.1.6"

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-link-rot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "3.1.2"
pandoc-version: "3.1.6"

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-random-test-order.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: r-lib/actions/setup-r@v2
with:
r-version: "devel"
r-version: "release"
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
Expand All @@ -34,7 +34,7 @@ jobs:
library(cli)
library(glue)
library(testthat)
pkgload::load_all(".")
pkgload::load_all(".", quiet = TRUE)
test_script_paths <- testthat::find_test_scripts("tests/testthat")
seed <- sample.int(1e6, 1L)
cli_inform("Chosen seed for the current test run: {seed}")
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
fail-fast: false
matrix:
config:
#- { os: ubuntu-latest, r: "release" }
- { os: ubuntu-latest, r: "devel" }
- { os: ubuntu-latest, r: "release" }
#- { os: ubuntu-latest, r: "devel" }

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -32,7 +32,7 @@ jobs:
# https://github.com/jgm/pandoc/releases
- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "3.1.2"
pandoc-version: "3.1.6"

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-spelling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "3.1.2"
pandoc-version: "3.1.6"

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-vignette-warnings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "3.1.2"
pandoc-version: "3.1.6"

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown-no-suggests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# https://github.com/jgm/pandoc/releases
- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "3.1.2"
pandoc-version: "3.1.6"

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "3.1.2"
pandoc-version: "3.1.6"

- uses: r-lib/actions/setup-r@v2
with:
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Deploy to GitHub pages 馃殌
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
folder: docs
1 change: 1 addition & 0 deletions .github/workflows/styler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
r-lib/pkgapi
r-lib/styler
r-lib/roxygen2
anthonynorth/roxyglobals
needs: |
styler
roxygen2
Expand Down
4 changes: 2 additions & 2 deletions API
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ extract_caption(p)
extract_stats(p, ...)
extract_subtitle(p)
ggbarstats(data, x, y, counts = NULL, type = "parametric", paired = FALSE, results.subtitle = TRUE, label = "percentage", label.args = list(alpha = 1, fill = "white"), k = 2L, proportion.test = results.subtitle, perc.k = 0L, bf.message = TRUE, ratio = NULL, conf.level = 0.95, sampling.plan = "indepMulti", fixed.margin = "rows", prior.concentration = 1, title = NULL, subtitle = NULL, caption = NULL, legend.title = NULL, xlab = NULL, ylab = NULL, ggtheme = ggstatsplot::theme_ggstatsplot(), package = "RColorBrewer", palette = "Dark2", ggplot.component = NULL, ...)
ggbetweenstats(data, x, y, type = "parametric", pairwise.comparisons = TRUE, pairwise.display = "significant", p.adjust.method = "holm", effsize.type = "unbiased", bf.prior = 0.707, bf.message = TRUE, results.subtitle = TRUE, xlab = NULL, ylab = NULL, caption = NULL, title = NULL, subtitle = NULL, k = 2L, var.equal = FALSE, conf.level = 0.95, nboot = 100L, tr = 0.2, centrality.plotting = TRUE, centrality.type = type, centrality.point.args = list(size = 5, color = "darkred"), centrality.label.args = list(size = 3, nudge_x = 0.4, segment.linetype = 4, min.segment.length = 0), point.args = list(position = ggplot2::position_jitterdodge(dodge.width = 0.6), alpha = 0.4, size = 3, stroke = 0, na.rm = TRUE), boxplot.args = list(width = 0.3, alpha = 0.2, na.rm = TRUE), violin.args = list(width = 0.5, alpha = 0.2, na.rm = TRUE), ggsignif.args = list(textsize = 3, tip_length = 0.01, na.rm = TRUE), ggtheme = ggstatsplot::theme_ggstatsplot(), package = "RColorBrewer", palette = "Dark2", ggplot.component = NULL, ...)
ggbetweenstats(data, x, y, type = "parametric", pairwise.display = "significant", p.adjust.method = "holm", effsize.type = "unbiased", bf.prior = 0.707, bf.message = TRUE, results.subtitle = TRUE, xlab = NULL, ylab = NULL, caption = NULL, title = NULL, subtitle = NULL, k = 2L, var.equal = FALSE, conf.level = 0.95, nboot = 100L, tr = 0.2, centrality.plotting = TRUE, centrality.type = type, centrality.point.args = list(size = 5, color = "darkred"), centrality.label.args = list(size = 3, nudge_x = 0.4, segment.linetype = 4, min.segment.length = 0), point.args = list(position = ggplot2::position_jitterdodge(dodge.width = 0.6), alpha = 0.4, size = 3, stroke = 0, na.rm = TRUE), boxplot.args = list(width = 0.3, alpha = 0.2, na.rm = TRUE), violin.args = list(width = 0.5, alpha = 0.2, na.rm = TRUE), ggsignif.args = list(textsize = 3, tip_length = 0.01, na.rm = TRUE), ggtheme = ggstatsplot::theme_ggstatsplot(), package = "RColorBrewer", palette = "Dark2", ggplot.component = NULL, ...)
ggcoefstats(x, statistic = NULL, conf.int = TRUE, conf.level = 0.95, k = 2L, exclude.intercept = FALSE, effectsize.type = "eta", meta.analytic.effect = FALSE, meta.type = "parametric", bf.message = TRUE, sort = "none", xlab = NULL, ylab = NULL, title = NULL, subtitle = NULL, caption = NULL, only.significant = FALSE, point.args = list(size = 3, color = "blue", na.rm = TRUE), errorbar.args = list(height = 0, na.rm = TRUE), vline = TRUE, vline.args = list(linewidth = 1, linetype = "dashed"), stats.labels = TRUE, stats.label.color = NULL, stats.label.args = list(size = 3, direction = "y", min.segment.length = 0), package = "RColorBrewer", palette = "Dark2", ggtheme = ggstatsplot::theme_ggstatsplot(), ...)
ggcorrmat(data, cor.vars = NULL, cor.vars.names = NULL, matrix.type = "upper", type = "parametric", tr = 0.2, partial = FALSE, k = 2L, sig.level = 0.05, conf.level = 0.95, bf.prior = 0.707, p.adjust.method = "holm", pch = "cross", ggcorrplot.args = list(method = "square", outline.color = "black", pch.cex = 14), package = "RColorBrewer", palette = "Dark2", colors = c("#E69F00", "white", "#009E73"), ggtheme = ggstatsplot::theme_ggstatsplot(), ggplot.component = NULL, title = NULL, subtitle = NULL, caption = NULL, ...)
ggdotplotstats(data, x, y, xlab = NULL, ylab = NULL, title = NULL, subtitle = NULL, caption = NULL, type = "parametric", test.value = 0, bf.prior = 0.707, bf.message = TRUE, effsize.type = "g", conf.level = 0.95, tr = 0.2, k = 2L, results.subtitle = TRUE, point.args = list(color = "black", size = 3, shape = 16), centrality.plotting = TRUE, centrality.type = type, centrality.line.args = list(color = "blue", linewidth = 1, linetype = "dashed"), ggplot.component = NULL, ggtheme = ggstatsplot::theme_ggstatsplot(), ...)
gghistostats(data, x, binwidth = NULL, xlab = NULL, title = NULL, subtitle = NULL, caption = NULL, type = "parametric", test.value = 0, bf.prior = 0.707, bf.message = TRUE, effsize.type = "g", conf.level = 0.95, tr = 0.2, k = 2L, ggtheme = ggstatsplot::theme_ggstatsplot(), results.subtitle = TRUE, bin.args = list(color = "black", fill = "grey50", alpha = 0.7), centrality.plotting = TRUE, centrality.type = type, centrality.line.args = list(color = "blue", linewidth = 1, linetype = "dashed"), normal.curve = FALSE, normal.curve.args = list(linewidth = 2), ggplot.component = NULL, ...)
ggpiestats(data, x, y = NULL, counts = NULL, type = "parametric", paired = FALSE, results.subtitle = TRUE, label = "percentage", label.args = list(direction = "both"), label.repel = FALSE, k = 2L, proportion.test = results.subtitle, perc.k = 0L, bf.message = TRUE, ratio = NULL, conf.level = 0.95, sampling.plan = "indepMulti", fixed.margin = "rows", prior.concentration = 1, title = NULL, subtitle = NULL, caption = NULL, legend.title = NULL, ggtheme = ggstatsplot::theme_ggstatsplot(), package = "RColorBrewer", palette = "Dark2", ggplot.component = NULL, ...)
ggscatterstats(data, x, y, type = "parametric", conf.level = 0.95, bf.prior = 0.707, bf.message = TRUE, tr = 0.2, k = 2L, results.subtitle = TRUE, label.var = NULL, label.expression = NULL, marginal = TRUE, point.args = list(size = 3, alpha = 0.4, stroke = 0), point.width.jitter = 0, point.height.jitter = 0, point.label.args = list(size = 3, max.overlaps = 1e+06), smooth.line.args = list(linewidth = 1.5, color = "blue", method = "lm", formula = y ~ x), xsidehistogram.args = list(fill = "#009E73", color = "black", na.rm = TRUE), ysidehistogram.args = list(fill = "#D55E00", color = "black", na.rm = TRUE), xlab = NULL, ylab = NULL, title = NULL, subtitle = NULL, caption = NULL, ggtheme = ggstatsplot::theme_ggstatsplot(), ggplot.component = NULL, ...)
ggwithinstats(data, x, y, type = "parametric", pairwise.comparisons = TRUE, pairwise.display = "significant", p.adjust.method = "holm", effsize.type = "unbiased", bf.prior = 0.707, bf.message = TRUE, results.subtitle = TRUE, xlab = NULL, ylab = NULL, caption = NULL, title = NULL, subtitle = NULL, k = 2L, conf.level = 0.95, nboot = 100L, tr = 0.2, centrality.plotting = TRUE, centrality.type = type, centrality.point.args = list(size = 5, color = "darkred"), centrality.label.args = list(size = 3, nudge_x = 0.4, segment.linetype = 4), centrality.path = TRUE, centrality.path.args = list(linewidth = 1, color = "red", alpha = 0.5), point.args = list(size = 3, alpha = 0.5, na.rm = TRUE), point.path = TRUE, point.path.args = list(alpha = 0.5, linetype = "dashed"), boxplot.args = list(width = 0.2, alpha = 0.5, na.rm = TRUE), violin.args = list(width = 0.5, alpha = 0.2, na.rm = TRUE), ggsignif.args = list(textsize = 3, tip_length = 0.01, na.rm = TRUE), ggtheme = ggstatsplot::theme_ggstatsplot(), package = "RColorBrewer", palette = "Dark2", ggplot.component = NULL, ...)
ggwithinstats(data, x, y, type = "parametric", pairwise.display = "significant", p.adjust.method = "holm", effsize.type = "unbiased", bf.prior = 0.707, bf.message = TRUE, results.subtitle = TRUE, xlab = NULL, ylab = NULL, caption = NULL, title = NULL, subtitle = NULL, k = 2L, conf.level = 0.95, nboot = 100L, tr = 0.2, centrality.plotting = TRUE, centrality.type = type, centrality.point.args = list(size = 5, color = "darkred"), centrality.label.args = list(size = 3, nudge_x = 0.4, segment.linetype = 4), centrality.path = TRUE, centrality.path.args = list(linewidth = 1, color = "red", alpha = 0.5), point.args = list(size = 3, alpha = 0.5, na.rm = TRUE), point.path = TRUE, point.path.args = list(alpha = 0.5, linetype = "dashed"), boxplot.args = list(width = 0.2, alpha = 0.5, na.rm = TRUE), violin.args = list(width = 0.5, alpha = 0.2, na.rm = TRUE), ggsignif.args = list(textsize = 3, tip_length = 0.01, na.rm = TRUE), ggtheme = ggstatsplot::theme_ggstatsplot(), package = "RColorBrewer", palette = "Dark2", ggplot.component = NULL, ...)
grouped_ggbarstats(data, ..., grouping.var, plotgrid.args = list(), annotation.args = list())
grouped_ggbetweenstats(data, ..., grouping.var, plotgrid.args = list(), annotation.args = list())
grouped_ggcorrmat(data, ..., grouping.var, plotgrid.args = list(), annotation.args = list())
Expand Down
32 changes: 19 additions & 13 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -----------------------------------------------------------
# CITATION file created with {cffr} R package, v0.4.1
# CITATION file created with {cffr} R package, v0.5.0
# See also: https://docs.ropensci.org/cffr/
# -----------------------------------------------------------

Expand All @@ -8,7 +8,7 @@ message: 'To cite package "ggstatsplot" in publications use:'
type: software
license: GPL-3.0-only
title: 'ggstatsplot: ''ggplot2'' Based Plots with Statistical Details'
version: 0.11.1.9000
version: 0.12.0
doi: 10.21105/joss.03167
abstract: 'Extension of ''ggplot2'', ''ggstatsplot'' creates graphics with details
from statistical tests included in the plots themselves. It provides an easier syntax
Expand Down Expand Up @@ -106,7 +106,7 @@ references:
abstract: 'datawizard: Easy Data Wrangling and Statistical Transformations'
notes: Imports
url: https://easystats.github.io/datawizard/
repository: https://CRAN.R-project.org/package=datawizard
repository: https://easystats.r-universe.dev
authors:
- family-names: Patil
given-names: Indrajeet
Expand All @@ -133,7 +133,7 @@ references:
email: brenton@wiernik.org
orcid: https://orcid.org/0000-0001-9560-6336
year: '2023'
version: '>= 0.7.1'
version: '>= 0.8.0'
- type: software
title: dplyr
abstract: 'dplyr: A Grammar of Data Manipulation'
Expand All @@ -158,7 +158,7 @@ references:
email: davis@posit.co
orcid: https://orcid.org/0000-0003-4777-038X
year: '2023'
version: '>= 1.1.1'
version: '>= 1.1.2'
- type: software
title: ggcorrplot
abstract: 'ggcorrplot: Visualization of a Correlation Matrix using ''ggplot2'''
Expand Down Expand Up @@ -249,6 +249,7 @@ references:
email: patilindrajeet.science@gmail.com
orcid: https://orcid.org/0000-0003-1995-6531
year: '2023'
version: '>= 0.6.4'
- type: software
title: glue
abstract: 'glue: Interpreted String Literals'
Expand Down Expand Up @@ -299,8 +300,12 @@ references:
given-names: Vincent
email: vincent.arel-bundock@umontreal.ca
orcid: https://orcid.org/0000-0003-2042-7063
version: '>= 0.19.1'
- family-names: Bacher
given-names: Etienne
email: etienne.bacher@protonmail.com
orcid: https://orcid.org/0000-0002-9271-5075
year: '2023'
version: '>= 0.19.3'
- type: software
title: paletteer
abstract: 'paletteer: Comprehensive Collection of Color Palettes'
Expand All @@ -316,7 +321,7 @@ references:
abstract: 'parameters: Processing of Model Parameters'
notes: Imports
url: https://easystats.github.io/parameters/
repository: https://CRAN.R-project.org/package=parameters
repository: https://easystats.r-universe.dev
authors:
- family-names: L眉decke
given-names: Daniel
Expand All @@ -342,7 +347,7 @@ references:
email: brenton@wiernik.org
orcid: https://orcid.org/0000-0001-9560-6336
year: '2023'
version: '>= 0.20.3'
version: '>= 0.21.1'
- type: software
title: patchwork
abstract: 'patchwork: The Composer of Plots'
Expand All @@ -360,7 +365,7 @@ references:
abstract: 'performance: Assessment of Regression Models Performance'
notes: Imports
url: https://easystats.github.io/performance/
repository: https://CRAN.R-project.org/package=performance
repository: https://easystats.r-universe.dev
authors:
- family-names: L眉decke
given-names: Daniel
Expand All @@ -387,7 +392,7 @@ references:
email: brenton@wiernik.org
orcid: https://orcid.org/0000-0001-9560-6336
year: '2023'
version: '>= 0.10.2'
version: '>= 0.10.4'
- type: software
title: purrr
abstract: 'purrr: Functional Programming Tools'
Expand Down Expand Up @@ -440,8 +445,8 @@ references:
given-names: Indrajeet
email: patilindrajeet.science@gmail.com
orcid: https://orcid.org/0000-0003-1995-6531
version: '>= 1.5.1'
year: '2023'
version: '>= 1.5.0'
- type: software
title: tidyr
abstract: 'tidyr: Tidy Messy Data'
Expand Down Expand Up @@ -611,6 +616,7 @@ references:
email: thorsten.pohlert@gmx.de
orcid: https://orcid.org/0000-0003-3855-3025
year: '2023'
version: '>= 1.9.7'
- type: software
title: psych
abstract: 'psych: Procedures for Psychological, Psychometric, and Personality Research'
Expand Down Expand Up @@ -686,9 +692,9 @@ references:
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@rstudio.com
email: hadley@posit.co
year: '2023'
version: '>= 3.1.7'
version: '>= 3.1.10'
- type: software
title: tibble
abstract: 'tibble: Simple Data Frames'
Expand Down
25 changes: 13 additions & 12 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: ggstatsplot
Title: 'ggplot2' Based Plots with Statistical Details
Version: 0.11.1.9000
Version: 0.12.0
Authors@R:
c(person(given = "Indrajeet",
family = "Patil",
Expand Down Expand Up @@ -32,23 +32,23 @@ Depends:
R (>= 4.1.0)
Imports:
correlation (>= 0.8.4),
datawizard (>= 0.7.1),
dplyr (>= 1.1.1),
datawizard (>= 0.8.0),
dplyr (>= 1.1.2),
ggcorrplot (>= 0.1.4),
ggplot2 (>= 3.4.2),
ggrepel (>= 0.9.3),
ggside (>= 0.2.2),
ggsignif,
ggsignif (>= 0.6.4),
glue,
insight (>= 0.19.1),
insight (>= 0.19.3),
paletteer,
parameters (>= 0.20.3),
parameters (>= 0.21.1),
patchwork,
performance (>= 0.10.2),
performance (>= 0.10.4),
purrr (>= 1.0.1),
rlang,
stats,
statsExpressions (>= 1.5.0),
statsExpressions (>= 1.5.1),
tidyr,
utils
Suggests:
Expand All @@ -61,11 +61,11 @@ Suggests:
metaBMA,
metafor,
metaplus,
PMCMRplus,
PMCMRplus (>= 1.9.7),
psych,
rmarkdown,
survival,
testthat (>= 3.1.7),
testthat (>= 3.1.10),
tibble,
vdiffr (>= 1.0.5),
WRS2
Expand All @@ -75,9 +75,10 @@ Encoding: UTF-8
Language: en-US
LazyData: true
Roxygen: list(
markdown = TRUE,
roclets = c("rd", "namespace", "collate", "pkgapi::api_roclet")
markdown = TRUE,
roclets = c("collate", "namespace", "rd", "pkgapi::api_roclet", "roxyglobals::global_roclet")
)
RoxygenNote: 7.2.3.9000
Config/testthat/edition: 3
Config/testthat/parallel: true
Config/Needs/check: anthonynorth/roxyglobals
9 changes: 7 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ggstatsplot 0.11.1.9000
# ggstatsplot 0.12.0

N.B. All statistical analysis in `{ggstatsplot}` is carried out in
`{statsExpressions}`. Thus, to see changes related to statistical expressions,
Expand All @@ -12,10 +12,15 @@ read the `NEWS` for that package:
argument was also redundant. Since removing a specific geom is straightforward
using `*.args` arguments. Examples for these two functions illustrate how.

- `ggbetweenstats()` and `ggwithinstats()` retire `pairwise.comparisons`
argument since it was redundant. In order to turn off showing pairwise
comparisons, you can now use `pairwise.display = "none"`.

## NEW FEATURES

- `ggbetweenstats()` gets `boxplot.args` argument to pass additional arguments
to the underlying geom function.
to the underlying geom function. This also fixes regression introduced in
`0.11.1` release where outlier points were displayed along with box plot.

# ggstatsplot 0.11.1

Expand Down
6 changes: 4 additions & 2 deletions R/combine_plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,20 @@
#' @param ... Currently ignored.
#' @inheritParams patchwork::wrap_plots
#'
#' @autoglobal
#'
#' @examples
#' library(ggplot2)
#'
#' # preparing the first plot
#' # first plot
#' p1 <- ggplot(
#' data = subset(iris, iris$Species == "setosa"),
#' aes(x = Sepal.Length, y = Sepal.Width)
#' ) +
#' geom_point() +
#' labs(title = "setosa")
#'
#' # preparing the second plot
#' # second plot
#' p2 <- ggplot(
#' data = subset(iris, iris$Species == "versicolor"),
#' aes(x = Sepal.Length, y = Sepal.Width)
Expand Down
2 changes: 2 additions & 0 deletions R/extract_stats.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#' @param p A plot from `{ggstatsplot}` package
#' @param ... Ignored
#'
#' @autoglobal
#'
#' @examplesIf identical(Sys.getenv("NOT_CRAN"), "true") && requireNamespace("PMCMRplus", quietly = TRUE)
#' set.seed(123)
#'
Expand Down
Loading

0 comments on commit 24ca86f

Please sign in to comment.