diff --git a/DESCRIPTION b/DESCRIPTION index 74656e0d..6742a1f4 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -75,7 +75,7 @@ Imports: insight (>= 1.5.4), parameters (>= 0.29.3), performance (>= 0.18.2), - datawizard (>= 1.4.00001), + datawizard (>= 1.4.0.9000), stats, utils Suggests: @@ -112,3 +112,5 @@ Config/Needs/website: r-lib/pkgdown, easystats/easystatstemplate Config/roxygen2/version: 8.0.0 +Remotes: + easystats/datawizard diff --git a/tests/testthat/test-interpret.R b/tests/testthat/test-interpret.R index a4cfd1ee..9cdc946b 100644 --- a/tests/testthat/test-interpret.R +++ b/tests/testthat/test-interpret.R @@ -340,7 +340,7 @@ test_that("interpret_fit", { expect_error(interpret_srmr(0.6, "DUPA"), "must be") skip_on_cran() - skip_if_not_installed("lavaan") + skip_if_not_installed("lavaan", minimum_version = "0.7.2") skip_if_not_installed("performance") structure <- " ind60 =~ x1 + x2 + x3 @@ -365,7 +365,7 @@ test_that("interpret_fit", { ) expect_equal( int$Value, - c(0.9666, 0.9124, 0.9749, 1.0001, 1, 0, 0.0273, 0.9529, 0.5199, 1.0001), + c(1, 0.9124, 0.9749, 1.0001, 1, 0, 0.0273, 0.9529, 0.5199, 1.0001), tolerance = 0.001 ) diff --git a/tests/testthat/test-rankES.R b/tests/testthat/test-rankES.R index 5e8f8b7f..cf9f2fd6 100644 --- a/tests/testthat/test-rankES.R +++ b/tests/testthat/test-rankES.R @@ -291,9 +291,13 @@ test_that("kendalls_w", { ) d_ordered <- d[order(d$b, d$g), ] - w1 <- kendalls_w(tapply(d$y, list(d$b, d$g), identity), ci = NULL) - w2 <- kendalls_w(y ~ g | b, data = d_ordered, ci = NULL) - w3 <- kendalls_w(y ~ g | b, data = d, ci = NULL) + w1 <- kendalls_w( + tapply(d$y, list(d$b, d$g), identity), + ci = NULL, + verbose = FALSE + ) + w2 <- kendalls_w(y ~ g | b, data = d_ordered, ci = NULL, verbose = FALSE) + w3 <- kendalls_w(y ~ g | b, data = d, ci = NULL, verbose = FALSE) expect_identical(w2[[1]], w1[[1]]) expect_identical(w3[[1]], w1[[1]])