Running ‘testthat.R’ [6s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tadaatoolbox)
  > 
  > test_check("tadaatoolbox")
  ── ERROR (test-anova.R:4:3): tadaa_aov returns correct data structure ──────────
  Error: cannot xtfrm 'x'
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test-anova.R:4:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─tadaatoolbox::tadaa_aov(...)
    5.   ├─pixiedust::sprinkle(output, rows = 1, border = "top", part = "foot")
    6.   └─pixiedust:::sprinkle.default(...)
    7.     └─pixiedust:::index_to_sprinkle(...)
    8.       ├─indices[order(indices[recycle_arrange]), ]
    9.       ├─base::`[.data.frame`(...)
   10.       └─base::order(indices[recycle_arrange])
   11.         └─base::lapply(z, function(x) if (is.object(x)) as.vector(xtfrm(x)) else x)
   12.           └─base:::FUN(X[[i]], ...)
   13.             ├─base::as.vector(xtfrm(x))
   14.             ├─base::xtfrm(x)
   15.             └─base::xtfrm.default(x)
  
  ── ERROR (test-anova.R:32:3): Kruskal Wallis works ─────────────────────────────
  Error: cannot xtfrm 'x'
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test-anova.R:32:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─tadaatoolbox::tadaa_kruskal(...)
    5.   ├─pixiedust::sprinkle_table(output, halign = "center", part = "head")
    6.   └─pixiedust:::sprinkle_table.default(...)
    7.     ├─pixiedust::sprinkle(x, cols = cols, ..., part = "head")
    8.     └─pixiedust:::sprinkle.default(x, cols = cols, ..., part = "head")
    9.       └─pixiedust:::index_to_sprinkle(...)
   10.         ├─indices[order(indices[recycle_arrange]), ]
   11.         ├─base::`[.data.frame`(...)
   12.         └─base::order(indices[recycle_arrange])
   13.           └─base::lapply(z, function(x) if (is.object(x)) as.vector(xtfrm(x)) else x)
   14.             └─base:::FUN(X[[i]], ...)
   15.               ├─base::as.vector(xtfrm(x))
   16.               ├─base::xtfrm(x)
   17.               └─base::xtfrm.default(x)
  
  ── ERROR (test-assumptions.R:5:3): tadaa_levene works ──────────────────────────
  Error: cannot xtfrm 'x'
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test-assumptions.R:5:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─tadaatoolbox::tadaa_levene(...)
    5.   ├─pixiedust::sprinkle_table(output, halign = "center", part = "head")
    6.   └─pixiedust:::sprinkle_table.default(...)
    7.     ├─pixiedust::sprinkle(x, cols = cols, ..., part = "head")
    8.     └─pixiedust:::sprinkle.default(x, cols = cols, ..., part = "head")
    9.       └─pixiedust:::index_to_sprinkle(...)
   10.         ├─indices[order(indices[recycle_arrange]), ]
   11.         ├─base::`[.data.frame`(...)
   12.         └─base::order(indices[recycle_arrange])
   13.           └─base::lapply(z, function(x) if (is.object(x)) as.vector(xtfrm(x)) else x)
   14.             └─base:::FUN(X[[i]], ...)
   15.               ├─base::as.vector(xtfrm(x))
   16.               ├─base::xtfrm(x)
   17.               └─base::xtfrm.default(x)
  
  ── ERROR (test-one-sample-tests.R:10:3): One sample tests work works ───────────
  Error: cannot xtfrm 'x'
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test-one-sample-tests.R:10:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─tadaatoolbox::tadaa_one_sample(ngo, deutsch, 30, print = "markdown")
    5.   ├─pixiedust::sprinkle_table(output, halign = "center", part = "head")
    6.   └─pixiedust:::sprinkle_table.default(...)
    7.     ├─pixiedust::sprinkle(x, cols = cols, ..., part = "head")
    8.     └─pixiedust:::sprinkle.default(x, cols = cols, ..., part = "head")
    9.       └─pixiedust:::index_to_sprinkle(...)
   10.         ├─indices[order(indices[recycle_arrange]), ]
   11.         ├─base::`[.data.frame`(...)
   12.         └─base::order(indices[recycle_arrange])
   13.           └─base::lapply(z, function(x) if (is.object(x)) as.vector(xtfrm(x)) else x)
   14.             └─base:::FUN(X[[i]], ...)
   15.               ├─base::as.vector(xtfrm(x))
   16.               ├─base::xtfrm(x)
   17.               └─base::xtfrm.default(x)
  
  ── ERROR (test-pairwise_tests.R:6:3): Pairwise t-Tests results are correct data 
  Error: cannot xtfrm 'x'
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test-pairwise_tests.R:6:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─tadaatoolbox::tadaa_pairwise_t(...)
    5.   ├─pixiedust::sprinkle(output, cols = "adj.p.value", fn = quote(tadaatoolbox::pval_string(value)))
    6.   └─pixiedust:::sprinkle.default(output, cols = "adj.p.value", fn = quote(tadaatoolbox::pval_string(value)))
    7.     └─pixiedust:::index_to_sprinkle(...)
    8.       ├─indices[order(indices[recycle_arrange]), ]
    9.       ├─base::`[.data.frame`(...)
   10.       └─base::order(indices[recycle_arrange])
   11.         └─base::lapply(z, function(x) if (is.object(x)) as.vector(xtfrm(x)) else x)
   12.           └─base:::FUN(X[[i]], ...)
   13.             ├─base::as.vector(xtfrm(x))
   14.             ├─base::xtfrm(x)
   15.             └─base::xtfrm.default(x)
  
  ── ERROR (test-pairwise_tests.R:26:3): Pairwise t-Tests with interaction results
  Error: cannot xtfrm 'x'
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test-pairwise_tests.R:26:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─tadaatoolbox::tadaa_pairwise_t(...)
    5.   ├─pixiedust::sprinkle(output, cols = "adj.p.value", fn = quote(tadaatoolbox::pval_string(value)))
    6.   └─pixiedust:::sprinkle.default(output, cols = "adj.p.value", fn = quote(tadaatoolbox::pval_string(value)))
    7.     └─pixiedust:::index_to_sprinkle(...)
    8.       ├─indices[order(indices[recycle_arrange]), ]
    9.       ├─base::`[.data.frame`(...)
   10.       └─base::order(indices[recycle_arrange])
   11.         └─base::lapply(z, function(x) if (is.object(x)) as.vector(xtfrm(x)) else x)
   12.           └─base:::FUN(X[[i]], ...)
   13.             ├─base::as.vector(xtfrm(x))
   14.             ├─base::xtfrm(x)
   15.             └─base::xtfrm.default(x)
  
  ── ERROR (test-pairwise_tests.R:50:3): Pairwise tukey returns correct data struc
  Error: cannot xtfrm 'x'
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test-pairwise_tests.R:50:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─tadaatoolbox::tadaa_pairwise_tukey(ngo, deutsch, jahrgang, print = "console")
    5.   ├─pixiedust::sprinkle(output, cols = "adj.p.value", fn = quote(tadaatoolbox::pval_string(value)))
    6.   └─pixiedust:::sprinkle.default(output, cols = "adj.p.value", fn = quote(tadaatoolbox::pval_string(value)))
    7.     └─pixiedust:::index_to_sprinkle(...)
    8.       ├─indices[order(indices[recycle_arrange]), ]
    9.       ├─base::`[.data.frame`(...)
   10.       └─base::order(indices[recycle_arrange])
   11.         └─base::lapply(z, function(x) if (is.object(x)) as.vector(xtfrm(x)) else x)
   12.           └─base:::FUN(X[[i]], ...)
   13.             ├─base::as.vector(xtfrm(x))
   14.             ├─base::xtfrm(x)
   15.             └─base::xtfrm.default(x)
  
  ── ERROR (test-stats_nom.R:87:3): tadaa_chisq works ────────────────────────────
  Error: cannot xtfrm 'x'
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test-stats_nom.R:87:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─tadaatoolbox::tadaa_chisq(ngo, abschalt, jahrgang, print = "markdown")
    5.   ├─pixiedust::sprinkle_table(output, halign = "center", part = "head")
    6.   └─pixiedust:::sprinkle_table.default(...)
    7.     ├─pixiedust::sprinkle(x, cols = cols, ..., part = "head")
    8.     └─pixiedust:::sprinkle.default(x, cols = cols, ..., part = "head")
    9.       └─pixiedust:::index_to_sprinkle(...)
   10.         ├─indices[order(indices[recycle_arrange]), ]
   11.         ├─base::`[.data.frame`(...)
   12.         └─base::order(indices[recycle_arrange])
   13.           └─base::lapply(z, function(x) if (is.object(x)) as.vector(xtfrm(x)) else x)
   14.             └─base:::FUN(X[[i]], ...)
   15.               ├─base::as.vector(xtfrm(x))
   16.               ├─base::xtfrm(x)
   17.               └─base::xtfrm.default(x)
  
  ── ERROR (test-two-sample-tests.R:11:3): t-Test works ──────────────────────────
  Error: cannot xtfrm 'x'
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test-two-sample-tests.R:11:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─tadaatoolbox::tadaa_t.test(ngo, deutsch, geschl, print = "markdown")
    5.   ├─pixiedust::sprinkle_table(output, halign = "center", part = "head")
    6.   └─pixiedust:::sprinkle_table.default(...)
    7.     ├─pixiedust::sprinkle(x, cols = cols, ..., part = "head")
    8.     └─pixiedust:::sprinkle.default(x, cols = cols, ..., part = "head")
    9.       └─pixiedust:::index_to_sprinkle(...)
   10.         ├─indices[order(indices[recycle_arrange]), ]
   11.         ├─base::`[.data.frame`(...)
   12.         └─base::order(indices[recycle_arrange])
   13.           └─base::lapply(z, function(x) if (is.object(x)) as.vector(xtfrm(x)) else x)
   14.             └─base:::FUN(X[[i]], ...)
   15.               ├─base::as.vector(xtfrm(x))
   16.               ├─base::xtfrm(x)
   17.               └─base::xtfrm.default(x)
  
  ── ERROR (test-two-sample-tests.R:23:3): Wilcoxon test works ───────────────────
  Error: cannot xtfrm 'x'
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test-two-sample-tests.R:23:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─tadaatoolbox::tadaa_wilcoxon(ngo, deutsch, geschl, print = "markdown")
    5.   ├─pixiedust::sprinkle_table(output, halign = "center", part = "head")
    6.   └─pixiedust:::sprinkle_table.default(...)
    7.     ├─pixiedust::sprinkle(x, cols = cols, ..., part = "head")
    8.     └─pixiedust:::sprinkle.default(x, cols = cols, ..., part = "head")
    9.       └─pixiedust:::index_to_sprinkle(...)
   10.         ├─indices[order(indices[recycle_arrange]), ]
   11.         ├─base::`[.data.frame`(...)
   12.         └─base::order(indices[recycle_arrange])
   13.           └─base::lapply(z, function(x) if (is.object(x)) as.vector(xtfrm(x)) else x)
   14.             └─base:::FUN(X[[i]], ...)
   15.               ├─base::as.vector(xtfrm(x))
   16.               ├─base::xtfrm(x)
   17.               └─base::xtfrm.default(x)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test-anova.R:4:3): tadaa_aov returns correct data structure
  ERROR (test-anova.R:32:3): Kruskal Wallis works
  ERROR (test-assumptions.R:5:3): tadaa_levene works
  ERROR (test-one-sample-tests.R:10:3): One sample tests work works
  ERROR (test-pairwise_tests.R:6:3): Pairwise t-Tests results are correct data structure
  ERROR (test-pairwise_tests.R:26:3): Pairwise t-Tests with interaction results are correct data structure
  ERROR (test-pairwise_tests.R:50:3): Pairwise tukey returns correct data structure
  ERROR (test-stats_nom.R:87:3): tadaa_chisq works
  ERROR (test-two-sample-tests.R:11:3): t-Test works
  ERROR (test-two-sample-tests.R:23:3): Wilcoxon test works
  
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 87 ]
  Error: Test failures
  Execution halted