diff --git a/DESCRIPTION b/DESCRIPTION index 6eb5aff86..d94a174ca 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -124,7 +124,7 @@ Suggests: nonnest2, ordinal, parallel, - parameters (>= 0.21.4), + parameters (>= 0.21.6), patchwork, pscl, psych, diff --git a/tests/testthat/test-cronbachs_alpha.R b/tests/testthat/test-cronbachs_alpha.R index ecf244745..d7a34e6b4 100644 --- a/tests/testthat/test-cronbachs_alpha.R +++ b/tests/testthat/test-cronbachs_alpha.R @@ -9,7 +9,6 @@ test_that("cronbachs_alpha", { }) test_that("cronbachs_alpha, principal_components", { - skip_if_not_installed("parameters", minimum_version = "0.21.3") pca <- parameters::principal_components(mtcars[, c("cyl", "gear", "carb", "hp")], n = 2) expect_equal(cronbachs_alpha(pca, verbose = FALSE), c(PC1 = 0.1101384), tolerance = 1e-3) expect_message(cronbachs_alpha(pca), regex = "Too few") @@ -20,7 +19,6 @@ test_that("cronbachs_alpha, principal_components", { }) test_that("cronbachs_alpha, principal_components", { - skip_if_not_installed("parameters", minimum_version = "0.20.3") pca <- parameters::principal_components(mtcars, n = 2) expect_equal(cronbachs_alpha(pca), c(PC1 = 0.4396, PC2 = -1.44331), tolerance = 1e-3) })