diff --git a/DESCRIPTION b/DESCRIPTION index c1377dce1..a5bb5e1ee 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: performance Title: Assessment of Regression Models Performance -Version: 0.11.0.9 +Version: 0.12.0 Authors@R: c(person(given = "Daniel", family = "Lüdecke", @@ -154,4 +154,3 @@ Config/Needs/website: r-lib/pkgdown, easystats/easystatstemplate Config/rcmdcheck/ignore-inconsequential-notes: true -Remotes: easystats/insight, easystats/datawizard, easystats/parameters, easystats/bayestestR diff --git a/NEWS.md b/NEWS.md index 7b5fefd5b..51a13a1f0 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# performance 0.11.1 +# performance 0.12.0 ## Breaking diff --git a/R/check_predictions.R b/R/check_predictions.R index 2779e3a5a..e9d05fdfd 100644 --- a/R/check_predictions.R +++ b/R/check_predictions.R @@ -222,7 +222,9 @@ check_predictions.BFBayesFactor <- function(object, if (isTRUE(is.na(re_formula))) { yy <- everything_we_need[["y_pred_marginal"]] } else { - if (!is.null(re_formula)) warning("re_formula can only be NULL or NA", call. = FALSE) + if (!is.null(re_formula)) { + insight::format_warning("`re_formula` can only be `NULL` or `NA`.") + } yy <- everything_we_need[["y_pred"]] }