From eed26b48f71090d39f2e356de8f93dc2454d4425 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sat, 6 Dec 2025 14:38:55 +0530 Subject: [PATCH 1/8] update deps --- .Rbuildignore | 4 +- .github/CODE_OF_CONDUCT.md | 126 ------------------------------------- .github/CONTRIBUTING.md | 54 ---------------- .github/SUPPORT.md | 40 ------------ .gitignore | 4 ++ DESCRIPTION | 35 +++++------ Makefile | 19 ++++-- README.Rmd | 4 +- README.md | 2 +- codemeta.json | 18 +++--- 10 files changed, 46 insertions(+), 260 deletions(-) delete mode 100644 .github/CODE_OF_CONDUCT.md delete mode 100644 .github/CONTRIBUTING.md delete mode 100644 .github/SUPPORT.md diff --git a/.Rbuildignore b/.Rbuildignore index 3eab51669..c17f75ed6 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,7 +1,7 @@ +.claude +.dev .ls-lint.yml ^.*\.Rproj$ -^.dev$ -^.gitlab-ci\.yml$ ^API$ ^CITATION\.cff$ ^CODE_OF_CONDUCT\.md$ diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md deleted file mode 100644 index 58518f8bf..000000000 --- a/.github/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,126 +0,0 @@ -# Contributor Covenant Code of Conduct - -## Our Pledge - -We as members, contributors, and leaders pledge to make participation in our -community a harassment-free experience for everyone, regardless of age, body -size, visible or invisible disability, ethnicity, sex characteristics, gender -identity and expression, level of experience, education, socio-economic status, -nationality, personal appearance, race, caste, color, religion, or sexual -identity and orientation. - -We pledge to act and interact in ways that contribute to an open, welcoming, -diverse, inclusive, and healthy community. - -## Our Standards - -Examples of behavior that contributes to a positive environment for our -community include: - -- Demonstrating empathy and kindness toward other people -- Being respectful of differing opinions, viewpoints, and experiences -- Giving and gracefully accepting constructive feedback -- Accepting responsibility and apologizing to those affected by our mistakes, - and learning from the experience -- Focusing on what is best not just for us as individuals, but for the overall - community - -Examples of unacceptable behavior include: - -- The use of sexualized language or imagery, and sexual attention or advances of - any kind -- Trolling, insulting or derogatory comments, and personal or political attacks -- Public or private harassment -- Publishing others' private information, such as a physical or email address, - without their explicit permission -- Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Enforcement Responsibilities - -Community leaders are responsible for clarifying and enforcing our standards of -acceptable behavior and will take appropriate and fair corrective action in -response to any behavior that they deem inappropriate, threatening, offensive, -or harmful. - -Community leaders have the right and responsibility to remove, edit, or reject -comments, commits, code, wiki edits, issues, and other contributions that are -not aligned to this Code of Conduct, and will communicate reasons for moderation -decisions when appropriate. - -## Scope - -This Code of Conduct applies within all community spaces, and also applies when -an individual is officially representing the community in public spaces. -Examples of representing our community include using an official e-mail address, -posting via an official social media account, or acting as an appointed -representative at an online or offline event. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported to the community leaders responsible for enforcement at patilindrajeet.science@gmail.com. -All complaints will be reviewed and investigated promptly and fairly. - -All community leaders are obligated to respect the privacy and security of the -reporter of any incident. - -## Enforcement Guidelines - -Community leaders will follow these Community Impact Guidelines in determining -the consequences for any action they deem in violation of this Code of Conduct: - -### 1. Correction - -**Community Impact**: Use of inappropriate language or other behavior deemed -unprofessional or unwelcome in the community. - -**Consequence**: A private, written warning from community leaders, providing -clarity around the nature of the violation and an explanation of why the -behavior was inappropriate. A public apology may be requested. - -### 2. Warning - -**Community Impact**: A violation through a single incident or series of -actions. - -**Consequence**: A warning with consequences for continued behavior. No -interaction with the people involved, including unsolicited interaction with -those enforcing the Code of Conduct, for a specified period of time. This -includes avoiding interactions in community spaces as well as external channels -like social media. Violating these terms may lead to a temporary or permanent -ban. - -### 3. Temporary Ban - -**Community Impact**: A serious violation of community standards, including -sustained inappropriate behavior. - -**Consequence**: A temporary ban from any sort of interaction or public -communication with the community for a specified period of time. No public or -private interaction with the people involved, including unsolicited interaction -with those enforcing the Code of Conduct, is allowed during this period. -Violating these terms may lead to a permanent ban. - -### 4. Permanent Ban - -**Community Impact**: Demonstrating a pattern of violation of community -standards, including sustained inappropriate behavior, harassment of an -individual, or aggression toward or disparagement of classes of individuals. - -**Consequence**: A permanent ban from any sort of public interaction within the -community. - -## Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], -version 2.1, available at -. - -Community Impact Guidelines were inspired by -[Mozilla's code of conduct enforcement ladder][https://github.com/mozilla/inclusion]. - -For answers to common questions about this code of conduct, see the FAQ at -. Translations are available at . - -[homepage]: https://www.contributor-covenant.org diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md deleted file mode 100644 index a54347197..000000000 --- a/.github/CONTRIBUTING.md +++ /dev/null @@ -1,54 +0,0 @@ -# Contributing to ggstatsplot - -This outlines how to propose a change to `{ggstatsplot}`. For more detailed info -about contributing to this, and other tidyverse packages, please see the -[**development contributing guide**](https://rstd.io/tidy-contrib). - -### Fixing typos - -Small typos or grammatical errors in documentation may be edited directly using -the GitHub web interface, so long as the changes are made in the _source_ file. - -- YES: you edit a roxygen comment in a `.R` file below `R/`. - -- NO: you edit an `.Rd` file below `man/`. - -### Prerequisites - -Before you make a substantial pull request, you should always file an issue and -make sure someone from the team agrees that it’s a problem. If you’ve found a -bug, create an associated issue and illustrate the bug with a minimal -[reprex](https://www.tidyverse.org/help/#reprex). - -### Pull request process - -- We recommend that you create a Git branch for each pull request (PR). - -- Look at the Travis and AppVeyor build status before and after making changes. - The `README` should contain badges for any continuous integration services - used by the package. - -- New code should follow the tidyverse [style - guide](http://style.tidyverse.org). You can use the - [styler](https://CRAN.R-project.org/package=styler) package to apply these - styles, but please don't restyle code that has nothing to do with your PR. - -- We use [roxygen2](https://cran.r-project.org/package=roxygen2), with Markdown - syntax, for documentation. - -- We use [testthat](https://cran.r-project.org/package=testthat). Contributions - with test cases included are easier to accept. - -- For user-facing changes, add a bullet to the top of `NEWS.md` below the - current development version header describing the changes made followed by - your GitHub username, and links to relevant issue(s)/PR(s). - -### Code of Conduct - -Please note that the ggstatsplot project is released with a [Contributor Code of -Conduct](CODE_OF_CONDUCT.md). By contributing to this project you agree to abide -by its terms. - -### See tidyverse [development contributing guide](https://rstd.io/tidy-contrib) - -for further details. diff --git a/.github/SUPPORT.md b/.github/SUPPORT.md deleted file mode 100644 index 4b4ec8c28..000000000 --- a/.github/SUPPORT.md +++ /dev/null @@ -1,40 +0,0 @@ -# Getting help with ggstatsplot - -Thanks for using ggstatsplot. Before filing an issue, there are a few places to -explore and pieces to put together to make the process as smooth as possible. - -Start by making a minimal **repr**oducible **ex**ample using the -[reprex](https://reprex.tidyverse.org/) package. If you haven't heard of or used -reprex before, you're in for a treat! Seriously, reprex will make all of your -R-question-asking endeavors easier (which is a pretty insane ROI for the five to -ten minutes it'll take you to learn what it's all about). For additional reprex -pointers, check out the [Get help!](https://www.tidyverse.org/help/) section of -the tidyverse site. - -Armed with your reprex, the next step is to figure out [where to -ask](https://www.tidyverse.org/help/#where-to-ask). - -- If it's a question: start with - [community.rstudio.com](https://community.rstudio.com/), and/or - StackOverflow. There are more people there to answer questions. - -- If it's a bug: you're in the right place, file an issue. - -- If you're not sure: let the community help you figure it out! If your - problem _is_ a bug or a feature request, you can easily return here and - report it. - -Before opening a new issue, be sure to [search issues and pull -requests](https://github.com/IndrajeetPatil/ggstatsplot/issues) to make sure the -bug hasn't been reported and/or already fixed in the development version. By -default, the search will be pre-populated with `is:issue is:open`. You can [edit -the -qualifiers](https://help.github.com/articles/searching-issues-and-pull-requests/) -(e.g. `is:pr`, `is:closed`) as needed. For example, you'd simply remove -`is:open` to search _all_ issues in the repo, open or closed. - -If you _are_ in the right place, and need to file an issue, please review the -["File issues"](https://www.tidyverse.org/contribute/#issues) paragraph from the -tidyverse contributing guidelines. - -Thanks for your help! diff --git a/.gitignore b/.gitignore index f04bb504b..aea8ca8c4 100644 --- a/.gitignore +++ b/.gitignore @@ -47,15 +47,19 @@ Network Trash Folder Temporary Items # R Studio files +*.Rcheck/* +*.tar.gz .RData .Rhistory .Rproj.user .Ruserdata +.claude .claude/settings.local.json .httr-oauth /Meta/ /doc/ CRAN-SUBMISSION +README.html inst/doc revdep/checks revdep/checks.noindex diff --git a/DESCRIPTION b/DESCRIPTION index 95f349409..2a2549f81 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,17 +2,12 @@ Type: Package Package: ggstatsplot Title: 'ggplot2' Based Plots with Statistical Details Version: 0.13.3.9000 -Authors@R: - c(person(given = "Indrajeet", - family = "Patil", - role = c("cre", "aut", "cph"), - email = "patilindrajeet.science@gmail.com", - comment = c(ORCID = "0000-0003-1995-6531")), - person(given = "Chuck", - family = "Powell", - email = "ibecav@gmail.com", - role = "ctb", - comment = c(ORCID = "0000-0002-3606-2188"))) +Authors@R: c( + person("Indrajeet", "Patil", , "patilindrajeet.science@gmail.com", role = c("cre", "aut", "cph"), + comment = c(ORCID = "0000-0003-1995-6531")), + person("Chuck", "Powell", , "ibecav@gmail.com", role = "ctb", + comment = c(ORCID = "0000-0002-3606-2188")) + ) Maintainer: Indrajeet Patil Description: Extension of 'ggplot2', 'ggstatsplot' creates graphics with details from statistical tests included in the plots themselves. It @@ -45,7 +40,7 @@ Imports: paletteer (>= 1.6.0), parameters (>= 0.28.3), patchwork (>= 1.3.2), - performance (>= 0.15.2), + performance (>= 0.15.3), purrr (>= 1.2.0), rlang (>= 1.1.6), statsExpressions (>= 1.7.1), @@ -53,8 +48,8 @@ Imports: utils Suggests: afex, - bayestestR, BayesFactor (>= 0.9.12-4.7), + bayestestR, gapminder, knitr, lme4 (>= 1.1-37), @@ -74,15 +69,13 @@ Suggests: WRS2 VignetteBuilder: knitr +Config/Needs/check: anthonynorth/roxyglobals +Config/roxyglobals/unique: TRUE +Config/testthat/edition: 3 +Config/testthat/parallel: true Encoding: UTF-8 Language: en-US LazyData: true -Roxygen: list( - markdown = TRUE, - roclets = c("collate", "namespace", "rd", "pkgapi::api_roclet", "roxyglobals::global_roclet") - ) +Roxygen: list( markdown = TRUE, roclets = c("collate", "namespace", "rd", + "pkgapi::api_roclet", "roxyglobals::global_roclet") ) RoxygenNote: 7.3.3 -Config/testthat/edition: 3 -Config/testthat/parallel: true -Config/Needs/check: anthonynorth/roxyglobals -Config/roxyglobals/unique: TRUE diff --git a/Makefile b/Makefile index 096660eac..2951536b6 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,17 @@ clean: @rm -rf $(PKGNAME)_$(PKGVERS).tar.gz $(PKGNAME).Rcheck update_deps: - Rscript \ - -e 'options(repos = c(CRAN = "https://cran.r-project.org"))' \ - -e 'usethis::use_latest_dependencies(source = "CRAN")' \ - -e 'roxygen2::roxygenise()' \ - -e 'codemetar::write_codemeta()' + Rscript -e 'options(repos = c(CRAN = "https://packagemanager.posit.co/cran/latest")); usethis::use_tidy_description()' + Rscript -e 'options(repos = c(CRAN = "https://packagemanager.posit.co/cran/latest")); usethis::use_latest_dependencies(source = "CRAN", overwrite = TRUE)' + Rscript -e 'roxygen2::roxygenise()' + Rscript -e 'codemetar::write_codemeta()' + +document: + Rscript -e 'roxygen2::roxygenise()' + Rscript -e 'rmarkdown::render("README.Rmd")' + +format: + Rscript -e 'styler::style_pkg()' + +lint: + Rscript -e 'lintr::lint_package()' diff --git a/README.Rmd b/README.Rmd index a9765356b..7a21aa991 100644 --- a/README.Rmd +++ b/README.Rmd @@ -791,5 +791,5 @@ of commitment): - Add new functionality (in the form of new plotting functions or helpers for preparing subtitles) -Please note that this project is released with a -[Contributor Code of Conduct](https://indrajeetpatil.github.io/ggstatsplot/CODE_OF_CONDUCT.html). By participating in this project you agree to abide by its terms. +Please note that this project is released with a +[Contributor Code of Conduct](https://www.contributor-covenant.org/version/3/0/code_of_conduct/). By participating in this project you agree to abide by its terms. diff --git a/README.md b/README.md index e1c96281c..d89818e77 100644 --- a/README.md +++ b/README.md @@ -847,5 +847,5 @@ order of commitment): helpers for preparing subtitles) Please note that this project is released with a [Contributor Code of -Conduct](https://indrajeetpatil.github.io/ggstatsplot/CODE_OF_CONDUCT.html). +Conduct](https://www.contributor-covenant.org/version/3/0/code_of_conduct/). By participating in this project you agree to abide by its terms. diff --git a/codemeta.json b/codemeta.json index 204d84c69..dfb4aad50 100644 --- a/codemeta.json +++ b/codemeta.json @@ -72,28 +72,28 @@ }, { "@type": "SoftwareApplication", - "identifier": "bayestestR", - "name": "bayestestR", + "identifier": "BayesFactor", + "name": "BayesFactor", + "version": ">= 0.9.12-4.7", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", "name": "Comprehensive R Archive Network (CRAN)", "url": "https://cran.r-project.org" }, - "sameAs": "https://CRAN.R-project.org/package=bayestestR" + "sameAs": "https://CRAN.R-project.org/package=BayesFactor" }, { "@type": "SoftwareApplication", - "identifier": "BayesFactor", - "name": "BayesFactor", - "version": ">= 0.9.12-4.7", + "identifier": "bayestestR", + "name": "bayestestR", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", "name": "Comprehensive R Archive Network (CRAN)", "url": "https://cran.r-project.org" }, - "sameAs": "https://CRAN.R-project.org/package=BayesFactor" + "sameAs": "https://CRAN.R-project.org/package=bayestestR" }, { "@type": "SoftwareApplication", @@ -489,7 +489,7 @@ "@type": "SoftwareApplication", "identifier": "performance", "name": "performance", - "version": ">= 0.15.2", + "version": ">= 0.15.3", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", @@ -557,7 +557,7 @@ }, "SystemRequirements": null }, - "fileSize": "9311.344KB", + "fileSize": "13187.225KB", "citation": [ { "@type": "ScholarlyArticle", From d98d2bd72bfe6353bf9de13055fa6187eecf1934 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sat, 6 Dec 2025 14:42:50 +0530 Subject: [PATCH 2/8] fix link checker workflow --- paper/JOSS files/paper.Rmd | 4 +--- paper/JOSS files/paper.md | 19 +++++++------------ 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/paper/JOSS files/paper.Rmd b/paper/JOSS files/paper.Rmd index 5bd01c5ba..eb76715c0 100644 --- a/paper/JOSS files/paper.Rmd +++ b/paper/JOSS files/paper.Rmd @@ -150,9 +150,7 @@ source code stored at [GitHub](https://github.com/IndrajeetPatil/ggstatsplot/). In the spirit of honest and open science, requests and suggestions for fixes, feature updates, as well as general questions and concerns are encouraged via direct interaction with contributors and developers by filing an -[issue](https://github.com/IndrajeetPatil/ggstatsplot/issues) while respecting -[*Contribution -Guidelines*](https://indrajeetpatil.github.io/ggstatsplot/CONTRIBUTING.html). +[issue](https://github.com/IndrajeetPatil/ggstatsplot/issues). # Acknowledgements diff --git a/paper/JOSS files/paper.md b/paper/JOSS files/paper.md index e50d100c5..c08e696ca 100644 --- a/paper/JOSS files/paper.md +++ b/paper/JOSS files/paper.md @@ -23,8 +23,6 @@ journal: JOSS link-citations: yes --- - - # Summary Graphical displays can reveal problems in a statistical model that might not be @@ -49,7 +47,6 @@ phases into one in the form of an informative graphic with statistical details. Before discussing benefits of this approach, we will show an example (Figure 1). - ```r library(palmerpenguins) # for 'penguins' dataset @@ -84,21 +81,21 @@ implemented in the `{ggplot2}` package [@Wickham2016]. In summary, the benefits of `{ggstatsplot}`'s approach are the following. It: a. produces charts displaying both raw data, and numerical plus graphical - summary indices, +summary indices, b. avoids errors in and increases reproducibility of statistical reporting, c. highlights the importance of the effect by providing effect size measures by - default, +default, -d. provides an easy way to evaluate *absence* of an effect using Bayes factors, +d. provides an easy way to evaluate _absence_ of an effect using Bayes factors, e. encourages researchers and readers to evaluate statistical assumptions of a model in the context of the underlying data (Figure 2), f. is easy and simple enough that someone with little to no coding experience - can use it without making an error and may even encourage beginners to - programmatically analyze data, instead of using GUI software. +can use it without making an error and may even encourage beginners to +programmatically analyze data, instead of using GUI software. \begin{figure} \includegraphics[width=1\linewidth]{reporting} \caption{Comparing the 'Standard' approach of reporting statistical analysis in apublication/report with the 'ggstatsplot' approach of reporting the same analysis next to aninformative graphic. Note that the results described in the 'Standard' approach are about the'Dinosaur' dataset plotted on the right. Without the accompanying visualization, it is hard toevaluate the validity of the results. The ideal reporting practice will be a hybrid of thesetwo approaches where the plot contains both the visual and numerical summaries about astatistical model, while the narrative provides interpretative context for the reportedstatistics.}\label{fig:reporting} @@ -108,7 +105,7 @@ f. is easy and simple enough that someone with little to no coding experience This package is an ambitious, ongoing, and long-term project. It currently supports common statistical tests (parametric, non-parametric, robust, or -Bayesian *t*-test, one-way ANOVA, contingency table analysis, correlation +Bayesian _t_-test, one-way ANOVA, contingency table analysis, correlation analysis, meta-analysis, regression analyses, etc.) and corresponding visualizations (box/violin plot, scatter plot, dot-and-whisker plot, pie chart, bar chart, etc.). It will continue expanding to support an increasing @@ -121,9 +118,7 @@ source code stored at [GitHub](https://github.com/IndrajeetPatil/ggstatsplot/). In the spirit of honest and open science, requests and suggestions for fixes, feature updates, as well as general questions and concerns are encouraged via direct interaction with contributors and developers by filing an -[issue](https://github.com/IndrajeetPatil/ggstatsplot/issues) while respecting -[*Contribution -Guidelines*](https://indrajeetpatil.github.io/ggstatsplot/CONTRIBUTING.html). +[issue](https://github.com/IndrajeetPatil/ggstatsplot/issues). # Acknowledgements From d81ca70e997e175df42f693c146fbacee2ef95e7 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sat, 6 Dec 2025 14:58:26 +0530 Subject: [PATCH 3/8] Update .Rbuildignore --- .Rbuildignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.Rbuildignore b/.Rbuildignore index c17f75ed6..e13bbcbdd 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -41,6 +41,7 @@ ^doc$ ^docs$ ^hextools/. +^man-roxygen$ ^old/. ^paper.*$ ^pkgdown$ From 6dc35e6fee910a9061fd4e2d1eb0486fa54b3f5b Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sat, 6 Dec 2025 15:46:36 +0530 Subject: [PATCH 4/8] update authors list --- DESCRIPTION | 9 +++------ NEWS.md | 11 ++++++++++- man/ggstatsplot-package.Rd | 5 ----- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 2a2549f81..56cfc863b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,13 +1,10 @@ Type: Package Package: ggstatsplot Title: 'ggplot2' Based Plots with Statistical Details -Version: 0.13.3.9000 -Authors@R: c( +Version: 0.13.4 +Authors@R: person("Indrajeet", "Patil", , "patilindrajeet.science@gmail.com", role = c("cre", "aut", "cph"), - comment = c(ORCID = "0000-0003-1995-6531")), - person("Chuck", "Powell", , "ibecav@gmail.com", role = "ctb", - comment = c(ORCID = "0000-0002-3606-2188")) - ) + comment = c(ORCID = "0000-0003-1995-6531")) Maintainer: Indrajeet Patil Description: Extension of 'ggplot2', 'ggstatsplot' creates graphics with details from statistical tests included in the plots themselves. It diff --git a/NEWS.md b/NEWS.md index c189e8aff..9a6eb36f8 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,10 +1,19 @@ -# ggstatsplot 0.13.3 +# ggstatsplot 0.13.4 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: +## MINOR CHANGES + +- Removed Chuck Powell from the contributors list in `DESCRIPTION`. While Chuck + made significant contributions to early versions of the package (2018-2019), + all of his code was completely replaced during the 2019 refactoring when + statistical functionality was moved to the `{statsExpressions}` package. + +# ggstatsplot 0.13.3 + ## BUG FIXES - Updates `gghistostats()` to fix parsing issues on secondary axis labels diff --git a/man/ggstatsplot-package.Rd b/man/ggstatsplot-package.Rd index 5e1a2502d..0eebc73b1 100644 --- a/man/ggstatsplot-package.Rd +++ b/man/ggstatsplot-package.Rd @@ -62,10 +62,5 @@ Useful links: \author{ \strong{Maintainer}: Indrajeet Patil \email{patilindrajeet.science@gmail.com} (\href{https://orcid.org/0000-0003-1995-6531}{ORCID}) [copyright holder] -Other contributors: -\itemize{ - \item Chuck Powell \email{ibecav@gmail.com} (\href{https://orcid.org/0000-0002-3606-2188}{ORCID}) [contributor] -} - } \keyword{internal} From 7bdd2bc7573cbcf7290412ebd46bdc6e68d4f688 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sat, 6 Dec 2025 16:11:45 +0530 Subject: [PATCH 5/8] improve code coverage --- tests/testthat/_snaps/extract-stats.md | 11 +++++++++++ tests/testthat/test-extract-stats.R | 1 + 2 files changed, 12 insertions(+) diff --git a/tests/testthat/_snaps/extract-stats.md b/tests/testthat/_snaps/extract-stats.md index 19825d4d7..64af18019 100644 --- a/tests/testthat/_snaps/extract-stats.md +++ b/tests/testthat/_snaps/extract-stats.md @@ -151,4 +151,15 @@ widehat(italic("C"))["Pearson"] == "0.52", CI["95%"] ~ "[" * "0.00", "0.74" * "]", italic("n")["obs"] == "13") + Code + extract_caption(p8) + Output + [[1]] + list(log[e] * (BF["01"]) == "-0.16", italic("a")["Gunel-Dickey"] == + "1.00") + + [[2]] + list(log[e] * (BF["01"]) == "0.82", italic("a")["Gunel-Dickey"] == + "1.00") + diff --git a/tests/testthat/test-extract-stats.R b/tests/testthat/test-extract-stats.R index dd1c54080..062a6f314 100644 --- a/tests/testthat/test-extract-stats.R +++ b/tests/testthat/test-extract-stats.R @@ -92,6 +92,7 @@ test_that( extracted_data <- extract_stats(p8) summary(extracted_data) extract_subtitle(p8) + extract_caption(p8) }) } ) From 0629650ab3087602ce28a31672fc633479787e61 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sun, 7 Dec 2025 08:12:28 +0530 Subject: [PATCH 6/8] bump statsExpressions --- DESCRIPTION | 2 +- codemeta.json | 13 ++----------- cran-comments.md | 2 +- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 56cfc863b..c3a16a426 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -40,7 +40,7 @@ Imports: performance (>= 0.15.3), purrr (>= 1.2.0), rlang (>= 1.1.6), - statsExpressions (>= 1.7.1), + statsExpressions (>= 1.7.2), tidyr (>= 1.3.1), utils Suggests: diff --git a/codemeta.json b/codemeta.json index dfb4aad50..a20d17fb6 100644 --- a/codemeta.json +++ b/codemeta.json @@ -8,7 +8,7 @@ "codeRepository": "https://github.com/IndrajeetPatil/ggstatsplot", "issueTracker": "https://github.com/IndrajeetPatil/ggstatsplot/issues", "license": "https://spdx.org/licenses/MIT", - "version": "0.13.3.9000", + "version": "0.13.4", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R", @@ -30,15 +30,6 @@ "@id": "https://orcid.org/0000-0003-1995-6531" } ], - "contributor": [ - { - "@type": "Person", - "givenName": "Chuck", - "familyName": "Powell", - "email": "ibecav@gmail.com", - "@id": "https://orcid.org/0000-0002-3606-2188" - } - ], "copyrightHolder": [ { "@type": "Person", @@ -557,7 +548,7 @@ }, "SystemRequirements": null }, - "fileSize": "13187.225KB", + "fileSize": "43717.024KB", "citation": [ { "@type": "ScholarlyArticle", diff --git a/cran-comments.md b/cran-comments.md index 2516b097f..79ebecb74 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -2,7 +2,7 @@ 0 errors | 0 warnings | 0 note -- Fixes a bug. +- Maintenance release. ## revdepcheck results From 18783e6c781179adac906310b87f11c41324a5ea Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Tue, 9 Dec 2025 20:13:17 +0530 Subject: [PATCH 7/8] no need for devel pak --- .github/workflows/R-CMD-check-devel.yaml | 2 -- .github/workflows/R-CMD-check-hard.yaml | 2 -- .github/workflows/R-CMD-check.yaml | 2 -- .github/workflows/check-no-warnings.yaml | 2 -- .github/workflows/check-readme.yaml | 2 -- .github/workflows/check-spelling.yaml | 2 -- .github/workflows/html-5-check.yaml | 2 -- .github/workflows/lint-changed-files.yaml | 2 -- .github/workflows/lint.yaml | 2 -- .github/workflows/pkgdown-no-suggests.yaml | 2 -- .github/workflows/pkgdown.yaml | 2 -- .github/workflows/styler.yaml | 2 -- .github/workflows/test-coverage-examples.yaml | 2 -- .github/workflows/test-coverage.yaml | 2 -- NEWS.md | 3 +-- 15 files changed, 1 insertion(+), 30 deletions(-) diff --git a/.github/workflows/R-CMD-check-devel.yaml b/.github/workflows/R-CMD-check-devel.yaml index 9c9d35c79..6d4b705ae 100644 --- a/.github/workflows/R-CMD-check-devel.yaml +++ b/.github/workflows/R-CMD-check-devel.yaml @@ -30,8 +30,6 @@ jobs: # only download hard deps under active development - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" needs: check cache: false extra-packages: | diff --git a/.github/workflows/R-CMD-check-hard.yaml b/.github/workflows/R-CMD-check-hard.yaml index fab528114..22a555ddd 100644 --- a/.github/workflows/R-CMD-check-hard.yaml +++ b/.github/workflows/R-CMD-check-hard.yaml @@ -35,8 +35,6 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" dependencies: '"hard"' cache: false extra-packages: | diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 68733e82e..8e1934278 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -54,8 +54,6 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" extra-packages: | any::rcmdcheck needs: check diff --git a/.github/workflows/check-no-warnings.yaml b/.github/workflows/check-no-warnings.yaml index 115fefda3..ebb5c69f3 100644 --- a/.github/workflows/check-no-warnings.yaml +++ b/.github/workflows/check-no-warnings.yaml @@ -23,8 +23,6 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" extra-packages: | any::devtools local::. diff --git a/.github/workflows/check-readme.yaml b/.github/workflows/check-readme.yaml index dd87844f2..922e55cbf 100644 --- a/.github/workflows/check-readme.yaml +++ b/.github/workflows/check-readme.yaml @@ -39,8 +39,6 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" extra-packages: | deps::. any::ggstatsplot diff --git a/.github/workflows/check-spelling.yaml b/.github/workflows/check-spelling.yaml index 0a86135f2..06a024ef8 100644 --- a/.github/workflows/check-spelling.yaml +++ b/.github/workflows/check-spelling.yaml @@ -25,8 +25,6 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" dependencies: '"hard"' extra-packages: | any::rcmdcheck diff --git a/.github/workflows/html-5-check.yaml b/.github/workflows/html-5-check.yaml index a97e3ea2f..35702fcee 100644 --- a/.github/workflows/html-5-check.yaml +++ b/.github/workflows/html-5-check.yaml @@ -24,8 +24,6 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" extra-packages: | any::rcmdcheck any::V8 diff --git a/.github/workflows/lint-changed-files.yaml b/.github/workflows/lint-changed-files.yaml index f406d3d9f..ca3bc00f9 100644 --- a/.github/workflows/lint-changed-files.yaml +++ b/.github/workflows/lint-changed-files.yaml @@ -20,8 +20,6 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" needs: check extra-packages: | any::gh diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 2e621da2c..d32b12af0 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -26,8 +26,6 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" extra-packages: | r-lib/lintr local::. diff --git a/.github/workflows/pkgdown-no-suggests.yaml b/.github/workflows/pkgdown-no-suggests.yaml index 0f04a876d..cfc77262a 100644 --- a/.github/workflows/pkgdown-no-suggests.yaml +++ b/.github/workflows/pkgdown-no-suggests.yaml @@ -33,8 +33,6 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" dependencies: '"hard"' cache: false extra-packages: | diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index f16a52bfc..b5bb0bb5f 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -33,8 +33,6 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" extra-packages: | r-lib/pkgdown local::. diff --git a/.github/workflows/styler.yaml b/.github/workflows/styler.yaml index 5ca33b3b3..260457d9e 100644 --- a/.github/workflows/styler.yaml +++ b/.github/workflows/styler.yaml @@ -21,8 +21,6 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" dependencies: '"hard"' extra-packages: | local::. diff --git a/.github/workflows/test-coverage-examples.yaml b/.github/workflows/test-coverage-examples.yaml index be7ba81fa..aac62d52c 100644 --- a/.github/workflows/test-coverage-examples.yaml +++ b/.github/workflows/test-coverage-examples.yaml @@ -24,8 +24,6 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" extra-packages: | any::covr local::. diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 6f6cde6fd..8199b4890 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -24,8 +24,6 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - pak-version: devel - upgrade: "TRUE" extra-packages: | any::covr needs: coverage diff --git a/NEWS.md b/NEWS.md index 9a6eb36f8..c5d19760a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -666,8 +666,7 @@ read the `NEWS` for that package: - `ggbarstats` loses `x.axis.orientation` argument. This argument was supposed to help avoid overlapping *x*-axis label, but now `ggplot2 3.3.0` has a - better way to handle this: - + better way to handle this. ## NEW FEATURES From 73280664f2badaa6337c928ddc98fd7bb2251666 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Tue, 9 Dec 2025 20:16:05 +0530 Subject: [PATCH 8/8] Update .Rbuildignore --- .Rbuildignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.Rbuildignore b/.Rbuildignore index e13bbcbdd..2d1e91225 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,6 +1,7 @@ .claude .dev .ls-lint.yml +README.html ^.*\.Rproj$ ^API$ ^CITATION\.cff$