Running ‘spelling.R’
  Running ‘testthat.R’ [35s/26s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(correlation)
  > 
  > test_check("correlation")
  Starting 2 test processes
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● empty test (1)
  
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test-cor_test.R:29:5): cor_test tetrachoric ────────────────────────
  The items do not have an equal number of response alternatives, global set to FALSE.
  Backtrace:
   1. correlation::cor_test(...)
   2. correlation:::.cor_test_polychoric(data, x, y, ci = ci, ...)
   5. psych::polychoric(dat)
  ── Warning (test-cor_test.R:29:5): cor_test tetrachoric ────────────────────────
  1 cells were adjusted for 0 values using the correction for continuity. Examine your data carefully.
  Backtrace:
   1. correlation::cor_test(...)
   2. correlation:::.cor_test_polychoric(data, x, y, ci = ci, ...)
   5. psych::polychoric(dat)
   6. psych:::matpLower(x, nvar, gminx, gmaxx, gminy, gmaxy)
  ── Warning (test-cor_test.R:61:5): cor_test distance ───────────────────────────
  dcort.ttest is deprecated, replaced by dcorT.test
  Backtrace:
   1. energy::dcor.ttest(iris$Petal.Length, iris$Petal.Width)
   2. base::.Deprecated(new = "dcorT.test", package = "energy", msg = "dcort.ttest is deprecated, replaced by dcorT.test")
  ── Warning (test-cor_test.R:118:3): cor_test 2 valid observations ──────────────
  v2 and v3 have less than 3 complete observations. Returning NA.
  Backtrace:
   1. correlation::correlation(...)
   2. correlation:::.correlation(...)
   3. correlation::cor_test(...)
  ── Warning (test-correlation.R:11:5): comparison with other packages ───────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. base::as.data.frame(as.table(out))
   3. correlation:::as.table.easycorrelation(out)
   4. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:25:5): comparison with other packages ───────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. base::as.data.frame(as.table(out))
   3. correlation:::as.table.easycorrelation(out)
   4. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:38:5): comparison with other packages ───────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. base::as.data.frame(as.table(out))
   3. correlation:::as.table.easycorrelation(out)
   4. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:45:5): comparison with other packages ───────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. base::as.data.frame(as.table(out))
   3. correlation:::as.table.easycorrelation(out)
   4. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:51:5): comparison with other packages ───────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. base::as.data.frame(as.table(out))
   3. correlation:::as.table.easycorrelation(out)
   4. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:57:5): comparison with other packages ───────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. base::as.data.frame(as.table(out))
   3. correlation:::as.table.easycorrelation(out)
   4. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:70:7): comparison with other packages ───────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. base::as.data.frame(as.table(out))
   3. correlation:::as.table.easycorrelation(out)
   4. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:85:7): comparison with other packages ───────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. base::as.data.frame(as.table(out))
   3. correlation:::as.table.easycorrelation(out)
   4. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:98:7): comparison with other packages ───────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. base::as.data.frame(as.table(out))
   3. correlation:::as.table.easycorrelation(out)
   4. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:116:3): format checks ───────────────────────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(...)
   6. correlation:::as.table.easycorrelation(out)
   7. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:116:3): format checks ───────────────────────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(...)
   6. correlation:::as.table.easycorrelation(out)
   7. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:120:3): format checks ───────────────────────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(...)
   6. correlation:::as.table.easycorrelation(out)
   7. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:120:3): format checks ───────────────────────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(...)
   6. correlation:::as.table.easycorrelation(out)
   7. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:128:3): format checks ───────────────────────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(...)
   6. correlation:::as.table.easycorrelation(out)
   7. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:128:3): format checks ───────────────────────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(...)
   6. correlation:::as.table.easycorrelation(out)
   7. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:137:5): format checks ───────────────────────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(...)
   6. correlation:::as.table.easycorrelation(out)
   7. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:137:5): format checks ───────────────────────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(...)
   6. correlation:::as.table.easycorrelation(out)
   7. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:145:5): format checks ───────────────────────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(...)
   6. correlation:::as.table.easycorrelation(out)
   7. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:145:5): format checks ───────────────────────────
  'as.table.easycorrelation' is deprecated.
  Use 'summary(..., redundant = TRUE)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(...)
   6. correlation:::as.table.easycorrelation(out)
   7. base::.Deprecated("summary(..., redundant = TRUE)")
  ── Warning (test-correlation.R:164:3): specific types ──────────────────────────
  It seems like there is not enough continuous variables in your data. Maybe you want to include the factors? We're setting `include_factors=TRUE` for you.
  Backtrace:
   1. correlation::correlation(data, method = "polychoric")
   2. correlation:::.correlation(...)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-cor_multilevel.R:31:5): Reductio ad absurdum ──────────────────
  max(as.matrix(rez) - cormatrix) (`actual`) not equal to 0 (`expected`).
  
  actual != expected but don't know how to show the difference
  ── Failure (test-cor_multilevel.R:34:5): Reductio ad absurdum ──────────────────
  max(as.matrix(pcor_to_cor(rez)) - cormatrix) (`actual`) not equal to 0 (`expected`).
  
  actual != expected but don't know how to show the difference
  
  [ FAIL 2 | WARN 24 | SKIP 1 | PASS 68 ]
  Error: Test failures
  Execution halted