Skip to content

Commit

Permalink
Merge branch 'main' into strengejacke/issue697
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke authored Jun 7, 2024
2 parents dda4683 + 939d578 commit 17b81ee
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
7 changes: 3 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: performance
Title: Assessment of Regression Models Performance
Version: 0.11.0.9
Version: 0.11.0.10
Authors@R:
c(person(given = "Daniel",
family = "Lüdecke",
Expand Down Expand Up @@ -70,8 +70,8 @@ Depends:
R (>= 3.6)
Imports:
bayestestR (>= 0.13.2),
insight (>= 0.19.10),
datawizard (>= 0.10.0),
insight (>= 0.20.0),
datawizard (>= 0.11.0),
stats,
utils
Suggests:
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# performance 0.11.1
# performance 0.12.0

## Breaking

Expand Down
4 changes: 3 additions & 1 deletion R/check_predictions.R
Original file line number Diff line number Diff line change
Expand Up @@ -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"]]
}

Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-check_outliers.R
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ test_that("multiple methods with ID", {
x$outlier_var$zscore$mpg$car,
"Toyota Corolla"
)
skip_if(getRversion() > "4.4.0")
expect_identical(
x$outlier_count$all$car[1],
"Maserati Bora"
Expand Down

0 comments on commit 17b81ee

Please sign in to comment.