Skip to content

Commit 498a0ae

Browse files
authored
Prepare CRAN release (#876)
1 parent a40f8f5 commit 498a0ae

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: performance
33
Title: Assessment of Regression Models Performance
4-
Version: 0.15.2.5
4+
Version: 0.15.3
55
Authors@R:
66
c(person(given = "Daniel",
77
family = "Lüdecke",
@@ -49,7 +49,7 @@ Authors@R:
4949
person(given = "gjo11",
5050
role = "rev"),
5151
person(given = "Etienne",
52-
family = "Bacher", ,
52+
family = "Bacher",
5353
email = "etienne.bacher@protonmail.com",
5454
role = "ctb",
5555
comment = c(ORCID = "0000-0002-9271-5075")),

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# performance (devel)
1+
# performance 0.15.3
22

33
## Changes
44

R/check_convergence.R

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,11 @@
7070
#' }
7171
#' @export
7272
check_convergence <- function(x, tolerance = 0.001, ...) {
73-
insight::is_converged(x, tolerance = tolerance, ...)
73+
out <- .safe(insight::is_converged(x, tolerance = tolerance, ...))
74+
if (is.null(out)) {
75+
insight::format_alert("Could not compute convergence information.")
76+
out <- NA
77+
}
78+
79+
out
7480
}

tests/testthat/test-check_convergence.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
skip_on_cran()
2+
13
test_that("check_convergence", {
24
skip_if_not_installed("lme4")
35

0 commit comments

Comments
 (0)