From 90eb9fc6e1f44d309ce2bd993e8c423614c8b157 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 30 Oct 2023 10:24:34 +0100 Subject: [PATCH] CRAN submission 0_10_8 (#647) --- CRAN-SUBMISSION | 6 +++--- DESCRIPTION | 3 +-- NEWS.md | 3 +++ cran-comments.md | 2 +- tests/testthat/test-binned_residuals.R | 1 + 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index a6bc7c4f2..b1f325ddd 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 0.10.7 -Date: 2023-10-27 11:27:48 UTC -SHA: 81d81529d46cf7b96f31c60a17044531ff697aab +Version: 0.10.8 +Date: 2023-10-29 16:13:36 UTC +SHA: c94741704caad7b8cde589e941af5d2f2826e6c2 diff --git a/DESCRIPTION b/DESCRIPTION index 0612d8264..2e5268cc5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: performance Title: Assessment of Regression Models Performance -Version: 0.10.7.2 +Version: 0.10.8 Authors@R: c(person(given = "Daniel", family = "Lüdecke", @@ -153,4 +153,3 @@ Config/Needs/website: r-lib/pkgdown, easystats/easystatstemplate Config/rcmdcheck/ignore-inconsequential-notes: true -Remotes: easystats/insight diff --git a/NEWS.md b/NEWS.md index 6209f55b8..ef14fc9f8 100644 --- a/NEWS.md +++ b/NEWS.md @@ -11,6 +11,9 @@ * Fixed CRAN check errors. +* Fixed issue with `binned_residuals()` for models with binomial family, where + the outcome was a proportion. + # performance 0.10.7 ## Breaking changes diff --git a/cran-comments.md b/cran-comments.md index d044c232a..2dec3e271 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1 +1 @@ -This release fixes CRAN check errors. We checked all reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package and saw no new problems. \ No newline at end of file +Hot fix release that fixes CRAN check errors. \ No newline at end of file diff --git a/tests/testthat/test-binned_residuals.R b/tests/testthat/test-binned_residuals.R index e23404452..ae2822d0d 100644 --- a/tests/testthat/test-binned_residuals.R +++ b/tests/testthat/test-binned_residuals.R @@ -158,6 +158,7 @@ test_that("binned_residuals, bootstrapped CI", { test_that("binned_residuals, msg for non-bernoulli", { skip_on_cran() + skip_if(packageVersion("insight") < "0.19.7") tot <- rep(10, 100) suc <- rbinom(100, prob = 0.9, size = tot)