From d3fa20ece7a3d8496527e35b912931d3d1ae1484 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 29 Jun 2026 13:36:31 +0200 Subject: [PATCH 1/3] Prepare CRAN release --- DESCRIPTION | 3 +-- NEWS.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index e0d95958d..6ced0e9fc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: performance Title: Assessment of Regression Models Performance -Version: 0.17.0.6 +Version: 0.17.1 Authors@R: c(person(given = "Daniel", family = "Lüdecke", @@ -168,4 +168,3 @@ Config/Needs/website: easystats/easystatstemplate Config/rcmdcheck/ignore-inconsequential-notes: true Config/roxygen2/version: 8.0.0 -Remotes: easystats/see diff --git a/NEWS.md b/NEWS.md index 9f9b55499..292583bc9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# performance (devel) +# performance 0.17.1 ## Changes From 59672eda39d98bafe8dc4489c81e7fb6e8dc0f36 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 29 Jun 2026 14:14:31 +0200 Subject: [PATCH 2/3] update tests, fix mising arg --- R/check_overdispersion.R | 1 + man/check_overdispersion.Rd | 2 ++ tests/testthat/_snaps/item_omega.md | 10 +++++----- tests/testthat/_snaps/model_performance.psych.md | 4 ++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/R/check_overdispersion.R b/R/check_overdispersion.R index 90e974287..ca0758da5 100644 --- a/R/check_overdispersion.R +++ b/R/check_overdispersion.R @@ -12,6 +12,7 @@ #' using the **DHARMa** package. For `glm`, the default is `"simulated"` for #' bernoulli, binomial and negative-binomial models. Set `residual_type = "normal"` #' to always use regular (i.e. non-simulated) residuals to assess overdispersion. +#' @param verbose Toggle warnings and messages. #' #' @inheritParams check_zeroinflation #' diff --git a/man/check_overdispersion.Rd b/man/check_overdispersion.Rd index 0f5c8e724..5c8b83577 100644 --- a/man/check_overdispersion.Rd +++ b/man/check_overdispersion.Rd @@ -27,6 +27,8 @@ using the \strong{DHARMa} package. For \code{glm}, the default is \code{"simulat bernoulli, binomial and negative-binomial models. Set \code{residual_type = "normal"} to always use regular (i.e. non-simulated) residuals to assess overdispersion.} +\item{verbose}{Toggle warnings and messages.} + \item{alternative}{A character string specifying the alternative hypothesis. Can be one of \code{"two.sided"}, \code{"less"}, or \code{"greater"}.} } diff --git a/tests/testthat/_snaps/item_omega.md b/tests/testthat/_snaps/item_omega.md index f999355f7..5f52ed2ff 100644 --- a/tests/testthat/_snaps/item_omega.md +++ b/tests/testthat/_snaps/item_omega.md @@ -47,7 +47,7 @@ wt | 0.43 | -0.79 | -0.04 | 0.31 | 0.91 | 0.09 | 0.20 | 1.87 qsec- | 0.81 | 0.19 | 0.50 | 0.06 | 0.95 | 0.05 | 0.70 | 1.81 vs- | 0.74 | -0.27 | 0.38 | 0.05 | 0.77 | 0.23 | 0.71 | 1.81 - am- | 8.38e-03 | -0.89 | -0.15 | -9.51e-03 | 0.81 | 0.19 | 8.63e-05 | 1.06 + am- | 8.34e-03 | -0.89 | -0.15 | -9.52e-03 | 0.81 | 0.19 | 8.55e-05 | 1.06 gear | 0.03 | 0.87 | 9.01e-03 | 0.32 | 0.87 | 0.13 | 9.03e-04 | 1.27 carb | 0.68 | 0.06 | 0.10 | 0.63 | 0.87 | 0.13 | 0.53 | 2.06 @@ -79,8 +79,8 @@ Composite | Total (%) | General Factor (%) | Group Factor (%) ------------------------------------------------------------- - g | 97.28 | 56.64 | 26.42 - F1* | 90.12 | 31.07 | 59.05 - F2* | 91.37 | 69.32 | 22.04 - F3* | 87.36 | 59.65 | 27.71 + g | 97.28 | 56.64 | 26.43 + F1* | 90.12 | 31.06 | 59.05 + F2* | 91.37 | 69.33 | 22.04 + F3* | 87.36 | 59.64 | 27.72 diff --git a/tests/testthat/_snaps/model_performance.psych.md b/tests/testthat/_snaps/model_performance.psych.md index ecba6645f..e3f6f9d17 100644 --- a/tests/testthat/_snaps/model_performance.psych.md +++ b/tests/testthat/_snaps/model_performance.psych.md @@ -114,7 +114,7 @@ Model | Chi2 | df | p (Chi2) | RMSR | RMSR_corrected | TLI | RMSEA | RMSEA 90% CI | BIC | R2 | Correlation ----------------------------------------------------------------------------------------------------------------------------------- 3-factor solution | 31.796 | 25 | 0.164 | 0.011 | 0.016 | | 0.087 | [0.000, 0.181] | -54.8 | | - g-model | 264.781 | 44 | < .001 | 0.278 | 0.311 | 0.195 | 0.395 | [0.356, 0.450] | 112.3 | 0.886 | 0.941 + g-model | 264.785 | 44 | < .001 | 0.278 | 0.311 | 0.195 | 0.395 | [0.356, 0.450] | 112.3 | 0.886 | 0.941 Compare the model fit of the 3-factor solution with the g-only model. If the g-model has smaller RMSR and RMSEA then your items are more @@ -132,7 +132,7 @@ Model | Chi2 | df | p (Chi2) | RMSR | RMSR_corrected | TLI | RMSEA | RMSEA 90% CI | BIC | R2 | Correlation ----------------------------------------------------------------------------------------------------------------------------------- 3-factor solution | 31.796 | 25 | 0.164 | 0.011 | 0.016 | | 0.087 | [0.000, 0.181] | -54.8 | | - g-model | 264.781 | 44 | < .001 | 0.278 | 0.311 | 0.195 | 0.395 | [0.356, 0.450] | 112.3 | 0.886 | 0.941 + g-model | 264.785 | 44 | < .001 | 0.278 | 0.311 | 0.195 | 0.395 | [0.356, 0.450] | 112.3 | 0.886 | 0.941 Compare the model fit of the 3-factor solution with the g-only model. If the g-model has smaller RMSR and RMSEA then your items are more From 5ff040c0f43925c6b073637adfd6ac02db7f3649 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 29 Jun 2026 14:51:47 +0200 Subject: [PATCH 3/3] fix missing RD link --- R/check_priors.R | 5 +++-- man/check_priors.Rd | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/R/check_priors.R b/R/check_priors.R index e15b20a5c..6ae8dcd15 100644 --- a/R/check_priors.R +++ b/R/check_priors.R @@ -29,8 +29,9 @@ #' overlaid with boxplots indicating where the probability mass of the prior #' distribution is located. #' -#' @seealso See documentation of [`see::plot.see_check_priors()`] for available -#' arguments to change the plot appearance. +#' @seealso See documentation of +#' [`?see::plot.see_check_priors`](https://easystats.github.io/see/reference/plot.see_check_priors.html) +#' for available arguments to change the plot appearance. #' #' @references #' Gabry, J., Simpson, D., Vehtari, A., Betancourt, M., & Gelman, A. (2019). diff --git a/man/check_priors.Rd b/man/check_priors.Rd index 893090453..32aa892bf 100644 --- a/man/check_priors.Rd +++ b/man/check_priors.Rd @@ -69,6 +69,7 @@ and tutorial using Stan and R. Front. Psychol. 17:1856582. \doi{10.3389/fpsyg.2026.1856582} } \seealso{ -See documentation of \code{\link[see:plot.see_check_priors]{see::plot.see_check_priors()}} for available -arguments to change the plot appearance. +See documentation of +\href{https://easystats.github.io/see/reference/plot.see_check_priors.html}{\code{?see::plot.see_check_priors}} +for available arguments to change the plot appearance. }