Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RC: CRAN 0.12.5 #968

Merged
merged 8 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected].4
uses: JamesIves/[email protected].8
with:
branch: gh-pages
folder: docs
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5.2.0
uses: actions/setup-python@v5.3.0
with:
python-version: "3.12"
architecture: "x64"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/styler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
local::.
r-lib/pkgapi
r-lib/styler
any::roxygen2
r-lib/roxygen2
anthonynorth/roxyglobals
needs: |
styler
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# All available hooks: https://pre-commit.com/hooks.html
# R specific hooks: https://github.com/lorenzwalthert/precommit
default_stages: [commit]
default_stages: [pre-commit]
default_language_version:
python: python3

repos:
- repo: https://github.com/lorenzwalthert/precommit
rev: v0.4.2
rev: v0.4.3
hooks:
- id: no-browser-statement
- id: no-debug-statement
- id: parsable-R

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-json
Expand Down
28 changes: 12 additions & 16 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.4.9000
version: 0.12.5
doi: 10.21105/joss.03167
identifiers:
- type: doi
Expand Down Expand Up @@ -107,7 +107,7 @@ references:
orcid: https://orcid.org/0000-0003-4315-6788
year: '2024'
doi: 10.32614/CRAN.package.correlation
version: '>= 0.8.5'
version: '>= 0.8.6'
- type: software
title: datawizard
abstract: 'datawizard: Easy Data Wrangling and Statistical Transformations'
Expand Down Expand Up @@ -141,7 +141,7 @@ references:
orcid: https://orcid.org/0000-0001-9560-6336
year: '2024'
doi: 10.32614/CRAN.package.datawizard
version: '>= 0.12.2'
version: '>= 0.13.0'
- type: software
title: dplyr
abstract: 'dplyr: A Grammar of Data Manipulation'
Expand Down Expand Up @@ -235,7 +235,7 @@ references:
orcid: https://orcid.org/0000-0002-2843-6370
year: '2024'
doi: 10.32614/CRAN.package.ggrepel
version: '>= 0.9.5'
version: '>= 0.9.6'
- type: software
title: ggside
abstract: 'ggside: Side Grammar Graphics'
Expand Down Expand Up @@ -284,7 +284,7 @@ references:
orcid: https://orcid.org/0000-0002-6983-2759
year: '2024'
doi: 10.32614/CRAN.package.glue
version: '>= 1.7.0'
version: '>= 1.8.0'
- type: software
title: insight
abstract: 'insight: Easy Access to Model Information for Various Model Objects'
Expand Down Expand Up @@ -326,7 +326,7 @@ references:
orcid: https://orcid.org/0000-0002-9271-5075
year: '2024'
doi: 10.32614/CRAN.package.insight
version: '>= 0.20.2'
version: '>= 0.20.5'
- type: software
title: paletteer
abstract: 'paletteer: Comprehensive Collection of Color Palettes'
Expand Down Expand Up @@ -371,7 +371,7 @@ references:
orcid: https://orcid.org/0000-0001-9560-6336
year: '2024'
doi: 10.32614/CRAN.package.parameters
version: '>= 0.22.1'
version: '>= 0.23.0'
- type: software
title: patchwork
abstract: 'patchwork: The Composer of Plots'
Expand All @@ -385,7 +385,7 @@ references:
orcid: https://orcid.org/0000-0002-5147-4711
year: '2024'
doi: 10.32614/CRAN.package.patchwork
version: '>= 1.2.0'
version: '>= 1.3.0'
- type: software
title: performance
abstract: 'performance: Assessment of Regression Models Performance'
Expand Down Expand Up @@ -423,7 +423,7 @@ references:
orcid: https://orcid.org/0000-0003-4315-6788
year: '2024'
doi: 10.32614/CRAN.package.performance
version: '>= 0.12.2'
version: '>= 0.12.4'
- type: software
title: purrr
abstract: 'purrr: Functional Programming Tools'
Expand Down Expand Up @@ -468,9 +468,9 @@ references:
given-names: Indrajeet
email: [email protected]
orcid: https://orcid.org/0000-0003-1995-6531
doi: 10.32614/CRAN.package.statsExpressions
version: '>= 1.5.5'
year: '2024'
doi: 10.32614/CRAN.package.statsExpressions
version: '>= 1.6.1'
- type: software
title: tidyr
abstract: 'tidyr: Tidy Messy Data'
Expand Down Expand Up @@ -499,7 +499,6 @@ references:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2024'
doi: 10.32614/CRAN.package.utils
- type: software
title: afex
abstract: 'afex: Analysis of Factorial Experiments'
Expand Down Expand Up @@ -597,8 +596,6 @@ references:
- family-names: Ripley
given-names: Brian
email: [email protected]
- family-names: Venables
given-names: Bill
year: '2024'
doi: 10.32614/CRAN.package.MASS
- type: software
Expand Down Expand Up @@ -739,7 +736,6 @@ references:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2024'
doi: 10.32614/CRAN.package.stats
- type: software
title: survival
abstract: 'survival: Survival Analysis'
Expand Down Expand Up @@ -806,7 +802,7 @@ references:
email: [email protected]
year: '2024'
doi: 10.32614/CRAN.package.vdiffr
version: '>= 1.0.7'
version: '>= 1.0.8'
- type: software
title: withr
abstract: 'withr: Run Code ''With'' Temporarily Modified Global State'
Expand Down
26 changes: 13 additions & 13 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Type: Package
Package: ggstatsplot
Title: 'ggplot2' Based Plots with Statistical Details
Version: 0.12.4.9000
Version: 0.12.5
Authors@R:
c(person(given = "Indrajeet",
family = "Patil",
role = c("cre", "aut", "cph"),
email = "[email protected]",
comment = c(ORCID = "0000-0003-1995-6531", Twitter = "@patilindrajeets")),
comment = c(ORCID = "0000-0003-1995-6531")),
person(given = "Chuck",
family = "Powell",
email = "[email protected]",
Expand All @@ -31,23 +31,23 @@ BugReports: https://github.com/IndrajeetPatil/ggstatsplot/issues
Depends:
R (>= 4.1.0)
Imports:
correlation (>= 0.8.5),
datawizard (>= 0.12.2),
correlation (>= 0.8.6),
datawizard (>= 0.13.0),
dplyr (>= 1.1.4),
ggcorrplot (>= 0.1.4.1),
ggplot2 (>= 3.5.1),
ggrepel (>= 0.9.5),
ggrepel (>= 0.9.6),
ggside (>= 0.3.1),
ggsignif (>= 0.6.4),
glue (>= 1.7.0),
insight (>= 0.20.2),
glue (>= 1.8.0),
insight (>= 0.20.5),
paletteer (>= 1.6.0),
parameters (>= 0.22.1),
patchwork (>= 1.2.0),
performance (>= 0.12.2),
parameters (>= 0.23.0),
patchwork (>= 1.3.0),
performance (>= 0.12.4),
purrr (>= 1.0.2),
rlang (>= 1.1.4),
statsExpressions (>= 1.5.5),
statsExpressions (>= 1.6.1),
tidyr (>= 1.3.1),
utils
Suggests:
Expand All @@ -67,7 +67,7 @@ Suggests:
survival,
testthat (>= 3.2.1),
tibble,
vdiffr (>= 1.0.7),
vdiffr (>= 1.0.8),
withr,
WRS2
VignetteBuilder:
Expand All @@ -79,7 +79,7 @@ Roxygen: list(
markdown = TRUE,
roclets = c("collate", "namespace", "rd", "pkgapi::api_roclet", "roxyglobals::global_roclet")
)
RoxygenNote: 7.3.2
RoxygenNote: 7.3.2.9000
Config/testthat/edition: 3
Config/testthat/parallel: true
Config/Needs/check: anthonynorth/roxyglobals
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ggstatsplot 0.12.4.9000
# ggstatsplot 0.12.5

N.B. All statistical analysis in `{ggstatsplot}` is carried out in
`{statsExpressions}`. Thus, to see changes related to statistical expressions,
Expand All @@ -18,6 +18,10 @@ read the `NEWS` for that package:
- `ggpiestats()` and `ggbarstats()` now respect `ratio()` argument for
proportion tests run in case of two-way contingency tables (#818).

## MINOR CHANGES

- Unused dataset has been removed: `bugs_wide`.

# ggstatsplot 0.12.4

## MAJOR CHANGES
Expand Down
39 changes: 7 additions & 32 deletions R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#' @name movies_long
#' @details Modified dataset from `{ggplot2movies}` package.
#'
#' The internet movie database, <https://imdb.com/>, is a website devoted
#' The internet movie database (IMDB) is a website devoted
#' to collecting movie data supplied by studios and fans. It claims to be the
#' biggest movie database on the web and is run by amazon.
#'
Expand Down Expand Up @@ -99,40 +99,15 @@
#' disgustingness).
#' - desire. The desire to kill an arthropod was indicated on a scale from 0 to 10.
#'
#' @source <https://www.sciencedirect.com/science/article/pii/S0747563213000277>
#' @references
#' Ryan, R. S., Wilde, M., & Crist, S. (2013). Compared to a small, supervised
#' lab experiment, a large, unsupervised web-based experiment on a previously
#' unknown effect has benefits that outweigh its potential costs. _Computers in
#' Human Behavior_, _29_(4), 1295-1301.

#'
#' @examples
#' dim(bugs_long)
#' head(bugs_long)
#' dplyr::glimpse(bugs_long)
"bugs_long"


#' @title Wide-format version of the "Bugs" dataset.
#' @name bugs_wide
#' @details This data set, "Bugs", provides the extent to which men and women
#' want to kill arthropods that vary in freighteningness (low, high) and
#' disgustingness (low, high). Each participant rates their attitudes towards
#' all anthropods. Subset of the data reported by Ryan et al. (2013).
#'
#' @format A data frame with 93 rows and 6 variables
#'
#' - subject. Dummy identity number for each participant.
#' - gender. Participant's gender (Female, Male).
#' - region. Region of the world the participant was from.
#' - education. Level of education.
#' - ldlf,ldhf,hdlf,hdhf. The desire to kill an arthropod was indicated on
#' a scale from 0 to 10 in each condition of the experiment (**LDLF**: low
#' freighteningness and low disgustingness; **LFHD**: low freighteningness and
#' high disgustingness; **HFHD**: high freighteningness and low
#' disgustingness; **HFHD**: high freighteningness and high disgustingness).
#'
#'
#' @source
#' <https://www.sciencedirect.com/science/article/pii/S0747563213000277>
#'
#' @examples
#' dim(bugs_wide)
#' head(bugs_wide)
#' dplyr::glimpse(bugs_wide)
"bugs_wide"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ plot that will be invariant across models:
their **confidence intervals** (`95%` is the default). The estimate
can either be effect sizes (for tests that depend on the
`F`-statistic) or regression coefficients (for tests with `t`-,
$\chi^{2}$-, and `z`-statistic), etc. The function will, by default,
$`\chi^{2}`$-, and `z`-statistic), etc. The function will, by default,
display a helpful `x`-axis label that should clear up what estimates
are being displayed. The confidence intervals can sometimes be
asymmetric if bootstrapping was used.
Expand Down
Loading
Loading