Skip to content

Commit 9cc5df9

Browse files
RC: CRAN 1.6.0 (#292)
- Start using parametrized unit testing - Fix vignette issues in CRAN --------- Co-authored-by: IndrajeetPatil <[email protected]>
1 parent 66303e5 commit 9cc5df9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+800
-542
lines changed

.Rbuildignore

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.ls-lint.yml
22
^.*\.Rproj$
3-
^.gitlab-ci\.yaml$
3+
^.dev$
4+
^.gitlab-ci\.yml$
45
^API$
56
^CITATION\.cff$
67
^CODE_OF_CONDUCT\.md$
@@ -19,37 +20,34 @@
1920
^WIP/.
2021
^\.Rproj\.user$
2122
^\.circleci$
22-
^\.coveralls\.yaml$
23+
^\.coveralls\.yml$
2324
^\.covrignore$
2425
^\.github$
2526
^\.github/ISSUE_TEMPLATE$
2627
^\.github/workflows/R\.yaml$
2728
^\.github/workflows/pr-commands\.yaml$
28-
^\.gitsum$
2929
^\.httr-oauth$
3030
^\.lintr$
3131
^\.pre-commit-config\.yaml$
32-
^\.travis\.yaml$
32+
^\.travis\.yml$
3333
^\cache$
3434
^_pkgdown\.yaml$
3535
^_pkgdown\.yml$
36-
^appveyor\.yaml$
37-
^brew\-log$
36+
^appveyor\.yml$
3837
^codecov\.yaml$
3938
^codemeta\.json$
4039
^cran-comments\.md$
4140
^data-raw$
4241
^doc$
4342
^docs$
4443
^gitsum$
44+
^hextools/.
4545
^man-roxygen$
46+
^old/.
4647
^paper.*$
4748
^pkgdown$
4849
^revdep$
50+
^shell$
4951
^tests/manual$
50-
^tests/testmanual$
51-
hextools
5252
publication/*
5353
references.bib
54-
shell
55-
tests\^spelling
Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,26 @@ output:
44
rmarkdown::html_vignette:
55
toc: true
66
toc_depth: 4
7+
keep_md: true
78
vignette: >
89
%\VignetteIndexEntry{Test and effect size details}
910
%\VignetteEngine{knitr::rmarkdown}
1011
%\VignetteEncoding{UTF-8}
1112
---
1213

13-
```{r}
14+
```{r setup}
1415
#| label = "setup",
1516
#| message = FALSE,
1617
#| warning = FALSE,
1718
#| include = FALSE,
1819
#| echo = FALSE
19-
source("setup.R")
20+
source("../setup.R")
21+
22+
# TODO: check if the pkgdown issue with child document path is resolved # nolint.
23+
# for now, run `rmarkdown::render("vignettes/web_only/stats_details.Rmd")` from root directory
24+
knitr::opts_chunk$set(
25+
eval = if (identical(Sys.getenv("IN_PKGDOWN"), "true")) FALSE else TRUE
26+
)
2027
```
2128

2229
This vignette can be cited as:
@@ -38,7 +45,7 @@ Abbreviations used: CI = Confidence Interval
3845

3946
## Summary of functionality
4047

41-
```{r child="../man/rmd-fragments/functionality.Rmd"}
48+
```{r child="../../man/rmd-fragments/functionality.Rmd"}
4249
```
4350

4451
## Summary of tests and effect sizes
@@ -52,37 +59,37 @@ more about how one-way (between-subjects) ANOVA, you can run
5259

5360
### `centrality_description()`
5461

55-
```{r child="../man/rmd-fragments/centrality_description.Rmd"}
62+
```{r child="../../man/rmd-fragments/centrality_description.Rmd"}
5663
```
5764

5865
### `oneway_anova()`
5966

60-
```{r child="../man/rmd-fragments/oneway_anova.Rmd"}
67+
```{r child="../../man/rmd-fragments/oneway_anova.Rmd"}
6168
```
6269

6370
### `two_sample_test()`
6471

65-
```{r child="../man/rmd-fragments/two_sample_test.Rmd"}
72+
```{r child="../../man/rmd-fragments/two_sample_test.Rmd"}
6673
```
6774

6875
### `one_sample_test()`
6976

70-
```{r child="../man/rmd-fragments/one_sample_test.Rmd"}
77+
```{r child="../../man/rmd-fragments/one_sample_test.Rmd"}
7178
```
7279

7380
### `corr_test()`
7481

75-
```{r child="../man/rmd-fragments/corr_test.Rmd"}
82+
```{r child="../../man/rmd-fragments/corr_test.Rmd"}
7683
```
7784

7885
### `contingency_table()`
7986

80-
```{r child="../man/rmd-fragments/contingency_table.Rmd"}
87+
```{r child="../../man/rmd-fragments/contingency_table.Rmd"}
8188
```
8289

8390
### `meta_analysis()`
8491

85-
```{r child="../man/rmd-fragments/meta_analysis.Rmd"}
92+
```{r child="../../man/rmd-fragments/meta_analysis.Rmd"}
8693
```
8794

8895
## Effect size interpretation

.github/workflows/R-CMD-check-hard.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
any::rmarkdown
4646
any::curl
4747
any::testthat
48+
any::patrick
4849
needs: check
4950

5051
- uses: r-lib/actions/check-r-package@v2

.github/workflows/styler.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@ jobs:
3030
local::.
3131
r-lib/pkgapi
3232
r-lib/styler
33-
any::roxygen2
33+
r-lib/roxygen2
34+
any::metaplus
3435
anthonynorth/roxyglobals
3536
needs: |
36-
metaplus
37-
styler
38-
roxygen2
37+
check
3938
4039
- name: Enable styler cache
4140
run: |

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Meta
22
doc
3+
docs
34
# Windows image file caches
45
Thumbs.db
56
ehthumbs.db
@@ -37,6 +38,7 @@ $RECYCLE.BIN/
3738
Network Trash Folder
3839
Temporary Items
3940
# R Studio files
41+
*.html
4042
.RData
4143
.Rhistory
4244
.Rproj.user

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ default_language_version:
66

77
repos:
88
- repo: https://github.com/lorenzwalthert/precommit
9-
rev: v0.4.2
9+
rev: v0.4.3
1010
hooks:
1111
- id: no-browser-statement
1212
- id: no-debug-statement

CITATION.cff

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ references:
9797
given-names: Mattan S.
9898
year: '2024'
9999
doi: 10.32614/CRAN.package.afex
100-
version: '>= 1.3-1'
100+
version: '>= 1.4-1'
101101
- type: software
102102
title: BayesFactor
103103
abstract: 'BayesFactor: Computation of Bayes Factors for Common Designs'
@@ -181,7 +181,7 @@ references:
181181
orcid: https://orcid.org/0000-0001-9560-6336
182182
year: '2024'
183183
doi: 10.32614/CRAN.package.datawizard
184-
version: '>= 0.12.2'
184+
version: '>= 0.12.3'
185185
- type: software
186186
title: dplyr
187187
abstract: 'dplyr: A Grammar of Data Manipulation'
@@ -304,7 +304,7 @@ references:
304304
orcid: https://orcid.org/0000-0002-9271-5075
305305
year: '2024'
306306
doi: 10.32614/CRAN.package.insight
307-
version: '>= 0.20.2'
307+
version: '>= 0.20.4'
308308
- type: software
309309
title: magrittr
310310
abstract: 'magrittr: A Forward-Pipe Operator for R'
@@ -353,7 +353,7 @@ references:
353353
orcid: https://orcid.org/0000-0001-9560-6336
354354
year: '2024'
355355
doi: 10.32614/CRAN.package.parameters
356-
version: '>= 0.22.1'
356+
version: '>= 0.22.2'
357357
- type: software
358358
title: performance
359359
abstract: 'performance: Assessment of Regression Models Performance'
@@ -391,7 +391,7 @@ references:
391391
orcid: https://orcid.org/0000-0003-4315-6788
392392
year: '2024'
393393
doi: 10.32614/CRAN.package.performance
394-
version: '>= 0.12.2'
394+
version: '>= 0.12.3'
395395
- type: software
396396
title: PMCMRplus
397397
abstract: 'PMCMRplus: Calculate Pairwise Multiple Comparisons of Mean Rank Sums
@@ -449,7 +449,6 @@ references:
449449
name: R Foundation for Statistical Computing
450450
address: Vienna, Austria
451451
year: '2024'
452-
doi: 10.32614/CRAN.package.stats
453452
- type: software
454453
title: tibble
455454
abstract: 'tibble: Simple Data Frames'
@@ -510,7 +509,7 @@ references:
510509
given-names: Winston
511510
year: '2024'
512511
doi: 10.32614/CRAN.package.withr
513-
version: '>= 3.0.0'
512+
version: '>= 3.0.1'
514513
- type: software
515514
title: WRS2
516515
abstract: 'WRS2: A Collection of Robust Statistical Methods'
@@ -545,7 +544,7 @@ references:
545544
abstract: 'bayestestR: Understand and Describe Bayesian Models and Posterior Distributions'
546545
notes: Suggests
547546
url: https://easystats.github.io/bayestestR/
548-
repository: https://easystats.r-universe.dev
547+
repository: https://CRAN.R-project.org/package=bayestestR
549548
authors:
550549
- family-names: Makowski
551550
given-names: Dominique
@@ -676,6 +675,18 @@ references:
676675
year: '2024'
677676
doi: 10.32614/CRAN.package.metaplus
678677
version: '>= 1.0-5'
678+
- type: software
679+
title: patrick
680+
abstract: 'patrick: Parameterized Unit Testing'
681+
notes: Suggests
682+
url: https://github.com/google/patrick
683+
repository: https://CRAN.R-project.org/package=patrick
684+
authors:
685+
- family-names: Quinn
686+
given-names: Michael
687+
688+
year: '2024'
689+
doi: 10.32614/CRAN.package.patrick
679690
- type: software
680691
title: rmarkdown
681692
abstract: 'rmarkdown: Dynamic Documents for R'
@@ -775,4 +786,3 @@ references:
775786
name: R Foundation for Statistical Computing
776787
address: Vienna, Austria
777788
year: '2024'
778-
doi: 10.32614/CRAN.package.utils

DESCRIPTION

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
Type: Package
22
Package: statsExpressions
33
Title: Tidy Dataframes and Expressions with Statistical Details
4-
Version: 1.5.5.9000
4+
Version: 1.6.0
55
Authors@R:
6-
person("Indrajeet", "Patil", , "[email protected]", role = c("cre", "aut", "cph"),
7-
comment = c(ORCID = "0000-0003-1995-6531", Twitter = "@patilindrajeets"))
6+
person("Indrajeet", "Patil", , "[email protected]", role = c("cre", "aut", "cph"))
87
Maintainer: Indrajeet Patil <[email protected]>
98
Description: Utilities for producing dataframes with rich details for the
109
most common types of statistical approaches and tests: parametric,
@@ -22,24 +21,24 @@ BugReports: https://github.com/IndrajeetPatil/statsExpressions/issues
2221
Depends:
2322
R (>= 4.1.0)
2423
Imports:
25-
afex (>= 1.3-1),
24+
afex (>= 1.4-1),
2625
BayesFactor (>= 0.9.12-4.7),
2726
correlation (>= 0.8.5),
28-
datawizard (>= 0.12.2),
27+
datawizard (>= 0.12.3),
2928
dplyr (>= 1.1.4),
3029
effectsize (>= 0.8.9),
3130
glue (>= 1.7.0),
32-
insight (>= 0.20.2),
31+
insight (>= 0.20.4),
3332
magrittr (>= 2.0.3),
34-
parameters (>= 0.22.1),
35-
performance (>= 0.12.2),
33+
parameters (>= 0.22.2),
34+
performance (>= 0.12.3),
3635
PMCMRplus (>= 1.9.10),
3736
purrr (>= 1.0.2),
3837
rlang (>= 1.1.4),
3938
stats,
4039
tibble (>= 3.2.1),
4140
tidyr (>= 1.3.1),
42-
withr (>= 3.0.0),
41+
withr (>= 3.0.1),
4342
WRS2 (>= 1.1-6),
4443
zeallot (>= 0.1.0)
4544
Suggests:
@@ -49,6 +48,7 @@ Suggests:
4948
metaBMA,
5049
metafor,
5150
metaplus (>= 1.0-5),
51+
patrick,
5252
rmarkdown,
5353
rstantools,
5454
survival,
@@ -65,4 +65,4 @@ Language: en-US
6565
LazyData: true
6666
Roxygen: list( markdown = TRUE, roclets = c("collate", "namespace", "rd",
6767
"pkgapi::api_roclet", "roxyglobals::global_roclet") )
68-
RoxygenNote: 7.3.2
68+
RoxygenNote: 7.3.2.9000

NEWS.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# statsExpressions 1.5.5.9000
1+
# statsExpressions 1.6.0
2+
3+
## MAJOR CHANGES
4+
5+
- _Test and effect size details_ vignette is now available only on the package
6+
website (https://indrajeetpatil.github.io/statsExpressions/articles/).
7+
8+
- Unused dataset has been removed: `movies_wide`.
29

310
# statsExpressions 1.5.5
411

0 commit comments

Comments
 (0)