Skip to content

Commit

Permalink
RC: CRAN 0.12.1 (#882)
Browse files Browse the repository at this point in the history
* update metaBMA tests; standardize vignette metadat

* clean some lints

* inline code [skip ci]

* minor

* remove unnecessary import versions

* Allow passing additional args to n label

closes #883

* remove remotes field

* clean up of lints and workflows

* add withr to Suggests

* prepare for CRAN

* fixes pkgdown?
  • Loading branch information
IndrajeetPatil authored Sep 21, 2023
1 parent 3ccd43c commit 99b2c37
Show file tree
Hide file tree
Showing 65 changed files with 377 additions and 537 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.6.1"
pandoc-version: "3.1.8"

- 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.6.1"
pandoc-version: "3.1.8"

- 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.6.1"
pandoc-version: "3.1.8"

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-all-examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
extra-packages: |
any::devtools
local::.
needs: check

- name: Run examples
run: |
Expand Down
3 changes: 2 additions & 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.6.1"
pandoc-version: "3.1.8"

- uses: r-lib/actions/setup-r@v2
with:
Expand All @@ -36,6 +36,7 @@ jobs:
extra-packages: |
any::rcmdcheck
any::urlchecker
needs: check

- name: Run URL checker
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-random-test-order.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
pak-version: devel
extra-packages: |
local::.
needs: check

- name: Run Tests in Random Order
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# https://github.com/jgm/pandoc/releases
- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "3.1.6.1"
pandoc-version: "3.1.8"

- 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.6.1"
pandoc-version: "3.1.8"

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-test-warnings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
extra-packages: |
local::.
any::devtools
needs: check

- name: Run Tests
run: |
Expand Down
3 changes: 2 additions & 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.6.1"
pandoc-version: "3.1.8"

- uses: r-lib/actions/setup-r@v2
with:
Expand All @@ -31,6 +31,7 @@ jobs:
pak-version: devel
extra-packages: |
local::.
needs: check

- name: Build vignettes
run: |
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/lint-changed-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:
extra-packages: |
any::gh
r-lib/lintr
any::purrr
needs: check
- name: Install package
run: R CMD INSTALL .
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.6.1"
pandoc-version: "3.1.8"

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
3 changes: 2 additions & 1 deletion .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.6.1"
pandoc-version: "3.1.8"

- uses: r-lib/actions/setup-r@v2
with:
Expand All @@ -37,6 +37,7 @@ jobs:
pak-version: devel
extra-packages: |
r-lib/pkgdown
r-lib/vdiffr
local::.
needs: website

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
pak-version: devel
extra-packages: |
r-lib/covr
needs: coverage
needs: check

- name: Test coverage
run: |
Expand Down
2 changes: 1 addition & 1 deletion API
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ combine_plots(plotlist, plotgrid.args = list(), annotation.args = list(), guides
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, ...)
ggbarstats(data, x, y, counts = NULL, type = "parametric", paired = FALSE, results.subtitle = TRUE, label = "percentage", label.args = list(alpha = 1, fill = "white"), sample.size.label.args = list(size = 4), 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.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, ...)
Expand Down
46 changes: 34 additions & 12 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -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.12.0.9000
version: 0.12.1
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 @@ -104,13 +104,12 @@ references:
email: [email protected]
orcid: https://orcid.org/0000-0003-4315-6788
year: '2023'
version: '>= 0.8.4'
- type: software
title: datawizard
abstract: 'datawizard: Easy Data Wrangling and Statistical Transformations'
notes: Imports
url: https://easystats.github.io/datawizard/
repository: https://easystats.r-universe.dev
repository: https://CRAN.R-project.org/package=datawizard
authors:
- family-names: Patil
given-names: Indrajeet
Expand All @@ -137,7 +136,7 @@ references:
email: [email protected]
orcid: https://orcid.org/0000-0001-9560-6336
year: '2023'
version: '>= 0.8.0'
version: '>= 0.9.0'
- type: software
title: dplyr
abstract: 'dplyr: A Grammar of Data Manipulation'
Expand Down Expand Up @@ -174,7 +173,6 @@ references:
given-names: Alboukadel
email: [email protected]
year: '2023'
version: '>= 0.1.4.1'
- type: software
title: ggplot2
abstract: 'ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics'
Expand Down Expand Up @@ -274,7 +272,7 @@ references:
abstract: 'insight: Easy Access to Model Information for Various Model Objects'
notes: Imports
url: https://easystats.github.io/insight/
repository: https://CRAN.R-project.org/package=insight
repository: https://easystats.r-universe.dev
authors:
- family-names: Lüdecke
given-names: Daniel
Expand Down Expand Up @@ -309,7 +307,7 @@ references:
email: [email protected]
orcid: https://orcid.org/0000-0002-9271-5075
year: '2023'
version: '>= 0.19.4'
version: '>= 0.19.5'
- type: software
title: paletteer
abstract: 'paletteer: Comprehensive Collection of Color Palettes'
Expand Down Expand Up @@ -351,7 +349,7 @@ references:
email: [email protected]
orcid: https://orcid.org/0000-0001-9560-6336
year: '2023'
version: '>= 0.21.1'
version: '>= 0.21.2'
- type: software
title: patchwork
abstract: 'patchwork: The Composer of Plots'
Expand All @@ -369,7 +367,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 Down Expand Up @@ -449,8 +447,8 @@ references:
given-names: Indrajeet
email: [email protected]
orcid: https://orcid.org/0000-0003-1995-6531
year: '2023'
version: '>= 1.5.2'
year: '2023'
- type: software
title: tidyr
abstract: 'tidyr: Tidy Messy Data'
Expand Down Expand Up @@ -574,12 +572,12 @@ references:
title: metaBMA
abstract: 'metaBMA: Bayesian Model Averaging for Random and Fixed Effects Meta-Analysis'
notes: Suggests
url: https://github.com/danheck/metaBMA
url: https://danheck.github.io/metaBMA/
repository: https://CRAN.R-project.org/package=metaBMA
authors:
- family-names: Heck
given-names: Daniel W.
email: dheck@uni-marburg.de
email: daniel.heck@uni-marburg.de
orcid: https://orcid.org/0000-0002-6302-9252
year: '2023'
- type: software
Expand Down Expand Up @@ -739,6 +737,30 @@ references:
email: [email protected]
year: '2023'
version: '>= 1.0.6'
- type: software
title: withr
abstract: 'withr: Run Code ''With'' Temporarily Modified Global State'
notes: Suggests
url: https://withr.r-lib.org
repository: https://CRAN.R-project.org/package=withr
authors:
- family-names: Hester
given-names: Jim
- family-names: Henry
given-names: Lionel
email: [email protected]
- family-names: Müller
given-names: Kirill
email: [email protected]
- family-names: Ushey
given-names: Kevin
email: [email protected]
- family-names: Wickham
given-names: Hadley
email: [email protected]
- family-names: Chang
given-names: Winston
year: '2023'
- type: software
title: WRS2
abstract: 'WRS2: A Collection of Robust Statistical Methods'
Expand Down
19 changes: 10 additions & 9 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.12.0.9000
Version: 0.12.1
Authors@R:
c(person(given = "Indrajeet",
family = "Patil",
Expand Down Expand Up @@ -31,18 +31,18 @@ BugReports: https://github.com/IndrajeetPatil/ggstatsplot/issues
Depends:
R (>= 4.1.0)
Imports:
correlation (>= 0.8.4),
datawizard (>= 0.8.0),
correlation,
datawizard (>= 0.9.0),
dplyr (>= 1.1.3),
ggcorrplot (>= 0.1.4.1),
ggcorrplot,
ggplot2 (>= 3.4.3),
ggrepel (>= 0.9.3),
ggside (>= 0.2.2),
ggsignif (>= 0.6.4),
glue,
insight (>= 0.19.4),
insight (>= 0.19.5),
paletteer,
parameters (>= 0.21.1),
parameters (>= 0.21.2),
patchwork,
performance (>= 0.10.5),
purrr (>= 1.0.2),
Expand All @@ -51,8 +51,6 @@ Imports:
statsExpressions (>= 1.5.2),
tidyr,
utils
Remotes:
r-lib/vdiffr
Suggests:
afex,
BayesFactor (>= 0.9.12-4.4),
Expand All @@ -70,6 +68,7 @@ Suggests:
testthat (>= 3.1.10),
tibble,
vdiffr (>= 1.0.6),
withr,
WRS2
VignetteBuilder:
knitr
Expand All @@ -83,4 +82,6 @@ Roxygen: list(
RoxygenNote: 7.2.3.9000
Config/testthat/edition: 3
Config/testthat/parallel: true
Config/Needs/check: anthonynorth/roxyglobals
Config/Needs/check:
anthonynorth/roxyglobals,
r-lib/vdiffr
9 changes: 8 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# ggstatsplot 0.12.0.9000
# ggstatsplot 0.12.1

N.B. All statistical analysis in `{ggstatsplot}` is carried out in
`{statsExpressions}`. Thus, to see changes related to statistical expressions,
read the `NEWS` for that package:
<https://indrajeetpatil.github.io/statsExpressions/news/index.html>

## MINOR CHANGES

- Maintenance updates for changes in upstream dependencies.

- `ggbarstats()` gains `sample.size.label.args` parameter to pass additional
arguments to `ggplot2::geom_text()`.

# ggstatsplot 0.12.0

## BREAKING CHANGES
Expand Down
Loading

0 comments on commit 99b2c37

Please sign in to comment.