diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index 4738a0ad0..7d94196fa 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 0.19.2 -Date: 2023-05-23 15:29:06 UTC -SHA: aff90a1106ec876c55d22aa833b27d2c5192d2cd +Version: 0.19.3 +Date: 2023-06-27 17:03:53 UTC +SHA: 192c44fff3e72bc693d0b937e72028bf80513077 diff --git a/DESCRIPTION b/DESCRIPTION index 1526458ac..ae7bda315 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: insight Title: Easy Access to Model Information for Various Model Objects -Version: 0.19.2.7 +Version: 0.19.3 Authors@R: c(person(given = "Daniel", family = "Lüdecke", diff --git a/R/is_nullmodel.R b/R/is_nullmodel.R index d92e3783e..28829aa7d 100644 --- a/R/is_nullmodel.R +++ b/R/is_nullmodel.R @@ -30,9 +30,12 @@ is_nullmodel <- function(x) { #' @export is_nullmodel.default <- function(x) { if (is_multivariate(x)) { - unlist(lapply(find_predictors(x, effects = "fixed", component = "conditional"), .check_for_nullmodel)) + unlist(lapply( + find_predictors(x, effects = "fixed", component = "conditional", verbose = FALSE), + .check_for_nullmodel + )) } else { - .check_for_nullmodel(find_predictors(x, effects = "fixed", component = "conditional")) + .check_for_nullmodel(find_predictors(x, effects = "fixed", component = "conditional", verbose = FALSE)) } } diff --git a/cran-comments.md b/cran-comments.md index 8d3450e3f..3986ee2eb 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,3 +1,5 @@ +Maintainance release. + ## revdepcheck results We checked 35 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. diff --git a/tests/testthat/test-is_nullmodel.R b/tests/testthat/test-is_nullmodel.R index 2f7456248..33351f517 100644 --- a/tests/testthat/test-is_nullmodel.R +++ b/tests/testthat/test-is_nullmodel.R @@ -15,3 +15,7 @@ test_that("is_nullmodel", { expect_false(is_nullmodel(m4)) expect_true(is_nullmodel(m5)) }) + +test_that("is_nullmodel, don't be verbose", { + expect_silent(is_nullmodel(lm(mtcars$mpg ~ 1))) +})