Skip to content

Commit 5d17e8d

Browse files
RC 1.5.5: Fixes to get rid of easystats warnings (#286)
* add citation template * Update pkgdown.yaml * adapt to easystats changes * update parameters version * use stricter options * use more citation template * use latest effectsize * Update .Rbuildignore * bump metaplus * bump to latest CRAN version of metaplus * turn off partial matching of args * update news * bump version * fix CRAN check issue * Apply automatic changes * Update WORDLIST * fox style workflow issue --------- Co-authored-by: IndrajeetPatil <IndrajeetPatil@users.noreply.github.com>
1 parent 6e11e9c commit 5d17e8d

40 files changed

+141
-37
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
^doc$
4343
^docs$
4444
^gitsum$
45+
^man-roxygen$
4546
^paper.*$
4647
^pkgdown$
4748
^revdep$

.github/workflows/check-all-examples.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ jobs:
4444

4545
- name: Run examples
4646
run: |
47-
options(crayon.enabled = TRUE, warn = 2L)
47+
options(
48+
crayon.enabled = TRUE,
49+
# warnPartialMatchArgs = TRUE,
50+
# warnPartialMatchAttr = TRUE,
51+
# warnPartialMatchDollar = TRUE,
52+
warn = 2L
53+
)
4854
devtools::run_examples(run_dontrun = TRUE, run_donttest = TRUE, document = FALSE)
4955
shell: Rscript {0}

.github/workflows/check-readme.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ jobs:
5454
5555
- name: Render README
5656
run: |
57-
options(crayon.enabled = TRUE, warn = 2L)
57+
options(
58+
crayon.enabled = TRUE,
59+
# warnPartialMatchArgs = TRUE,
60+
# warnPartialMatchAttr = TRUE,
61+
# warnPartialMatchDollar = TRUE,
62+
warn = 2L
63+
)
5864
rmarkdown::render("README.Rmd")
5965
shell: Rscript {0}

.github/workflows/check-vignette-warnings.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@ jobs:
3838
3939
- name: Build vignettes
4040
run: |
41-
options(crayon.enabled = TRUE, warn = 2L)
41+
options(
42+
crayon.enabled = TRUE,
43+
# warnPartialMatchArgs = TRUE,
44+
# warnPartialMatchAttr = TRUE,
45+
# warnPartialMatchDollar = TRUE,
46+
warn = 2L
47+
)
4248
vignettes <- fs::dir_ls("vignettes/", glob = "*.Rmd", recurse = TRUE)
4349
purrr::walk(vignettes, rmarkdown::render)
4450
shell: Rscript {0}

.github/workflows/pkgdown.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
pak-version: devel
3737
upgrade: "TRUE"
3838
extra-packages: |
39-
r-lib/evaluate
4039
r-lib/pkgdown
4140
local::.
4241
needs: website

.github/workflows/styler.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
any::roxygen2
3434
anthonynorth/roxyglobals
3535
needs: |
36+
metaplus
3637
styler
3738
roxygen2
3839
@@ -66,7 +67,7 @@ jobs:
6667
- name: Style package
6768
run: |
6869
options(crayon.enabled = TRUE)
69-
styler::style_pkg(filetype = c(".qmd", ".R", ".Rmd", ".Rmarkdown", ".Rnw"))
70+
styler::style_pkg()
7071
shell: Rscript {0}
7172

7273
- name: Document

CITATION.cff

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ message: 'To cite package "statsExpressions" in publications use:'
88
type: software
99
license: MIT
1010
title: 'statsExpressions: Tidy Dataframes and Expressions with Statistical Details'
11-
version: 1.5.4.9000
11+
version: 1.5.5
1212
doi: 10.21105/joss.03236
1313
abstract: 'Utilities for producing dataframes with rich details for the most common
1414
types of statistical approaches and tests: parametric, nonparametric, robust, and
@@ -32,7 +32,6 @@ preferred-citation:
3232
email: patilindrajeet.science@gmail.com
3333
orcid: https://orcid.org/0000-0003-1995-6531
3434
doi: 10.21105/joss.03236
35-
url: https://doi.org/10.21105/joss.03236
3635
year: '2021'
3736
publisher:
3837
name: The Open Journal
@@ -206,7 +205,7 @@ references:
206205
abstract: 'effectsize: Indices of Effect Size'
207206
notes: Imports
208207
url: https://easystats.github.io/effectsize/
209-
repository: https://easystats.r-universe.dev
208+
repository: https://CRAN.R-project.org/package=effectsize
210209
authors:
211210
- family-names: Ben-Shachar
212211
given-names: Mattan S.
@@ -237,7 +236,7 @@ references:
237236
email: philip.waggoner@gmail.com
238237
orcid: https://orcid.org/0000-0002-7825-7573
239238
year: '2024'
240-
version: '>= 0.8.8'
239+
version: '>= 0.8.9'
241240
- type: software
242241
title: glue
243242
abstract: 'glue: Interpreted String Literals'
@@ -315,7 +314,7 @@ references:
315314
abstract: 'parameters: Processing of Model Parameters'
316315
notes: Imports
317316
url: https://easystats.github.io/parameters/
318-
repository: https://easystats.r-universe.dev
317+
repository: https://CRAN.R-project.org/package=parameters
319318
authors:
320319
- family-names: Lüdecke
321320
given-names: Daniel
@@ -341,7 +340,7 @@ references:
341340
email: brenton@wiernik.org
342341
orcid: https://orcid.org/0000-0001-9560-6336
343342
year: '2024'
344-
version: '>= 0.21.7'
343+
version: '>= 0.22.0'
345344
- type: software
346345
title: performance
347346
abstract: 'performance: Assessment of Regression Models Performance'
@@ -641,12 +640,13 @@ references:
641640
authors:
642641
- family-names: Beath
643642
given-names: Ken
644-
email: ken@kjbeath.com.au
643+
email: ken@kjbeath.id.au
645644
- family-names: Bolker
646645
given-names: Ben
647646
email: bolker@mcmaster.ca
648647
- name: R Development Core Team
649648
year: '2024'
649+
version: '>= 1.0-5'
650650
- type: software
651651
title: rmarkdown
652652
abstract: 'rmarkdown: Dynamic Documents for R'

DESCRIPTION

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: statsExpressions
33
Title: Tidy Dataframes and Expressions with Statistical Details
4-
Version: 1.5.4.9000
4+
Version: 1.5.5
55
Authors@R:
66
person("Indrajeet", "Patil", , "patilindrajeet.science@gmail.com", role = c("cre", "aut", "cph"),
77
comment = c(ORCID = "0000-0003-1995-6531", Twitter = "@patilindrajeets"))
@@ -27,11 +27,11 @@ Imports:
2727
correlation (>= 0.8.5),
2828
datawizard (>= 0.11.0),
2929
dplyr (>= 1.1.4),
30-
effectsize (>= 0.8.8),
30+
effectsize (>= 0.8.9),
3131
glue (>= 1.7.0),
3232
insight (>= 0.20.1),
3333
magrittr (>= 2.0.3),
34-
parameters (>= 0.21.7),
34+
parameters (>= 0.22.0),
3535
performance (>= 0.12.0),
3636
PMCMRplus (>= 1.9.10),
3737
purrr (>= 1.0.2),
@@ -48,7 +48,7 @@ Suggests:
4848
knitr,
4949
metaBMA,
5050
metafor,
51-
metaplus,
51+
metaplus (>= 1.0-5),
5252
rmarkdown,
5353
rstantools,
5454
survival,
@@ -62,8 +62,6 @@ Config/testthat/parallel: true
6262
Encoding: UTF-8
6363
Language: en-US
6464
LazyData: true
65-
Roxygen: list(
66-
markdown = TRUE,
67-
roclets = c("collate", "namespace", "rd", "pkgapi::api_roclet", "roxyglobals::global_roclet")
68-
)
69-
RoxygenNote: 7.3.1
65+
Roxygen: list( markdown = TRUE, roclets = c("collate", "namespace", "rd",
66+
"pkgapi::api_roclet", "roxyglobals::global_roclet") )
67+
RoxygenNote: 7.3.2

NEWS.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
# statsExpressions 1.5.4.9000
1+
# statsExpressions 1.5.5
22

33
## MAJOR CHANGES
44

55
- The package licence has been updated to an MIT license.
66

7+
## MINOR CHANGES
8+
9+
- Updates code to fix warnings coming via updates to easystats packages.
10+
711
# statsExpressions 1.5.4
812

913
## MAJOR CHANGES

R/add-expression-col.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@
7070
#' digits = 3L,
7171
#' digits.df = 3L
7272
#' )
73+
#'
74+
#' @template citation
75+
#'
7376
#' @export
7477
add_expression_col <- function(
7578
data,

0 commit comments

Comments
 (0)