R version 4.6.0 alpha (2026-03-28 r89738 ucrt) Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(spicy) > > test_check("spicy") Frequency table: x Category │ Values Freq. Percent ──────────┼──────────────────────── Valid │ A 1 25.0 │ B 2 50.0 │ C 1 25.0 ──────────┼──────────────────────── Total │ 4 100.0 Class: character Data: x Frequency table: c("A", "B", "A") Category │ Values Freq. Percent ──────────┼──────────────────────── Valid │ A 2 66.7 │ B 1 33.3 ──────────┼──────────────────────── Total │ 3 100.0 Class: character Data: c("A", "B", "A") Frequency table: x Category │ Values Freq. Percent ──────────┼──────────────────────── Valid │ A 0.6 20.0 │ B 0.9 30.0 │ C 1.5 50.0 ──────────┼──────────────────────── Total │ 3 100.0 Class: character Data: df Weight: w (rescaled) Frequency table: c("A", "B", "B") Category │ Values Freq. Percent Cum. Percent ──────────┼────────────────────────────────────── Valid │ A 1 33.3 33.3 │ B 2 66.7 100.0 ──────────┼────────────────────────────────────── Total │ 3 100.0 100.0 Class: character Data: c("A", "B", "B") Frequency table: x Category │ Values Freq. Percent Valid Percent Cum. Percent ──────────┼───────────────────────────────────────────────────── Valid │ A 2 50.0 66.7 50.0 │ B 1 25.0 33.3 75.0 Missing │ NA 1 25.0 100.0 ──────────┼───────────────────────────────────────────────────── Total │ 4 100.0 100.0 100.0 Category │ Values Cum. Valid Percent ──────────┼──────────────────────────── Valid │ A 66.7 │ B 100.0 Missing │ NA ──────────┼──────────────────────────── Total │ 100.0 Class: character Data: x Frequency table: x Category │ Values Freq. Percent Valid Percent ──────────┼─────────────────────────────────────────── Valid │ [1] Low 1 14.3 16.7 │ [2] Medium 2 28.6 33.3 │ [3] High 3 42.9 50.0 Missing │ NA 1 14.3 ──────────┼─────────────────────────────────────────── Total │ 7 100.0 100.0 Label: Satisfaction level Class: haven_labelled, vctrs_vctr, double Data: x mean_n(): Row means computed with min_valid = 1, regex = FALSE mean_n(): Ignored non-numeric columns: char sum_n(): Row sums computed with min_valid = 1, regex = FALSE sum_n(): Ignored non-numeric columns: char Categorical table copied to clipboard. Categorical table copied to clipboard. Categorical table Variable │ n % ───────────────┼─────────────────── x │ A │ 3 60,0 B │ 2 40,0 Categorical table by sex Variable │ Female n Female % Male n Male % Total n Total % p ──────────┼──────────────────────────────────────────────────────────── smoking │ .713 No │ 475 78.4 451 79.3 926 78.8 Yes │ 131 21.6 118 20.7 249 21.2 Variable │ Cramer's V ──────────┼──────────── smoking │ .01 No │ Yes │ Categorical table by sex Variable │ Female n Female % Male n Male % Total n Total % p ──────────┼──────────────────────────────────────────────────────────── smoking │ .713 Yes │ 131 21.6 118 20.7 249 21.2 Variable │ Cramer's V ──────────┼──────────── smoking │ .01 Yes │ Categorical table by sex Variable │ Female n Female % Male n Male % Total n Total % p ──────────┼──────────────────────────────────────────────────────────── smoking │ .713 No │ 475 78.4 451 79.3 926 78.8 Yes │ 131 21.6 118 20.7 249 21.2 Categorical table by sex Variable │ Female n Female % Male n Male % Total n Total % p ──────────┼──────────────────────────────────────────────────────────── smoking │ ,713 No │ 475 78,4 451 79,3 926 78,8 Yes │ 131 21,6 118 20,7 249 21,2 Variable │ Cramer's V ──────────┼──────────── smoking │ ,01 No │ Yes │ Categorical table Variable │ n % ───────────────┼──────────────── Categorical table by grp Variable │ A n A % B n B % Total n Total % p Cramer's V ──────────┼───────────────────────────────────────────────────── Categorical table Variable │ n % ───────────────┼──────────────── Descriptive statistics Variable │ M SD Min Max 95% CI LL 95% CI UL n ──────────────┼─────────────────────────────────────────────────── Sepal.Length │ 5.84 0.83 4.30 7.90 5.71 5.98 150 Descriptive statistics Variable │ M SD Min Max 90% CI LL 90% CI UL n ──────────────┼─────────────────────────────────────────────────────── Sepal.Length │ 5,843 0,828 4,300 7,900 5,731 5,955 150 Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Descriptive statistics Variable │ M SD Min Max 95% CI LL 95% CI UL n ──────────┼────────────────────────────────────────────────── x │ 42.00 -- 42.00 42.00 -- -- 1 Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Variable │ Group p ──────────────┼──────────────────── Sepal.Length │ setosa < .001 │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Variable │ Group Test p ──────────────┼────────────────────────────────────────── Sepal.Length │ setosa F(2, 92.21) = 138.91 < .001 │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Variable │ Group Test ──────────────┼────────────────────────────────── Sepal.Length │ setosa F(2, 92.21) = 138.91 │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Variable │ Group Test ──────────────┼────────────────────────────────── Sepal.Length │ setosa F(2, 92.21) = 138.91 │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Variable │ Group p ──────────────┼──────────────────── Sepal.Length │ setosa < .001 │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Variable │ Group Test p ──────────────┼────────────────────────────────────────── Sepal.Length │ setosa F(2, 92.21) = 138.91 < .001 │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Variable │ Group p ──────────────┼──────────────────── Sepal.Length │ setosa < .001 │ versicolor │ virginica Descriptive statistics Variable │ M SD Min Max 95% CI LL 95% CI UL n ──────────────┼─────────────────────────────────────────────────── Sepal.Length │ 5.84 0.83 4.30 7.90 5.71 5.98 150 Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Descriptive statistics Variable │ M SD Min Max 95% CI LL 95% CI UL n ──────────────┼─────────────────────────────────────────────────── Sepal.Length │ 5,84 0,83 4,30 7,90 5,71 5,98 150 Descriptive statistics Variable │ M SD Min Max 95% CI LL 95% CI UL n ──────────┼───────────────────────────────────────────────── x │ 2,50 1,00 1,50 3,50 0,02 4,98 3 Descriptive statistics Variable │ M SD Min Max 95% CI LL 95% CI UL n ──────────┼────────────────────────────────────────── x │ 3 1 1 4 -1 6 3 Descriptive statistics Variable │ M SD Min Max 95% CI LL 95% CI UL n ──────────┼───────────────────────────────────────────────────────── x │ 2.5885 1.4332 1.1235 3.9877 -0.9719 6.1488 3 Descriptive statistics Variable │ M SD Min Max 95% CI LL 95% CI UL n ──────────────┼─────────────────────────────────────────────────── Sepal.Length │ 5.84 0.83 4.30 7.90 5.71 5.98 150 Sepal.Width │ 3.06 0.44 2.00 4.40 2.99 3.13 150 Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Descriptive statistics Variable │ M SD Min Max 95% CI LL 95% CI UL n ──────────────┼─────────────────────────────────────────────────── Sepal.Length │ 5.84 0.83 4.30 7.90 5.71 5.98 150 Descriptive statistics Variable │ M SD Min Max 95% CI LL 95% CI UL n ──────────────┼─────────────────────────────────────────────────── Sepal.Length │ 5.84 0.83 4.30 7.90 5.71 5.98 150 Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n p ──────────┼──────────────────────────────────────────────────────────────────── x │ A 0.08 0.92 -2.21 1.60 -0.26 0.43 30 < .001 │ B 10.13 0.80 8.62 11.98 9.84 10.43 30 Descriptive statistics Variable │ M SD Min Max 90% CI LL 90% CI UL n ──────────┼─────────────────────────────────────────────────── x │ 5.50 3.03 1.00 10.00 3.74 7.26 10 Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Variable │ Group ES ──────────────┼──────────────────────────────────── Sepal.Length │ setosa η² = 0.62 [0.52, 0.68] │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Variable │ Group ES ──────────────┼─────────────────────── Sepal.Length │ setosa η² = 0.62 │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Variable │ Group ES ──────────────┼──────────────────────────────────── Sepal.Length │ setosa η² = 0.62 [0.52, 0.68] │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Variable │ Group ES ──────────────┼──────────────────────────────────── Sepal.Length │ setosa η² = 0.62 [0.52, 0.68] │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5,01 0,35 4,30 5,80 4,91 5,11 50 │ versicolor 5,94 0,52 4,90 7,00 5,79 6,08 50 Variable │ Group ES ──────────────┼────────────────────────────────────── Sepal.Length │ setosa g = -2,09 [-2,58, -1,60] │ versicolor Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────┼──────────────────────────────────────────────────────────── x │ A 5.82 9.24 -17.15 20.95 2.37 9.28 30 │ B 6.33 7.95 -8.77 24.80 3.36 9.30 30 │ C 6.10 9.60 -13.05 29.02 2.52 9.69 30 Variable │ Group ES ──────────┼────────────────── x │ A ε² = 0.00 │ B │ C Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Variable │ Group ES ──────────────┼─────────────────────── Sepal.Length │ setosa η² = 0.62 │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Variable │ Group Test p ──────────────┼────────────────────────────────────────── Sepal.Length │ setosa F(2, 92.21) = 138.91 < .001 │ versicolor │ virginica Variable │ Group ES ──────────────┼──────────────────────────────────── Sepal.Length │ setosa η² = 0.62 [0.52, 0.68] │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 ╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ Sepal.Width │ setosa 3.43 0.38 2.30 4.40 3.32 3.54 50 │ versicolor 2.77 0.31 2.00 3.40 2.68 2.86 50 │ virginica 2.97 0.32 2.20 3.80 2.88 3.07 50 Variable │ Group Test p ──────────────┼────────────────────────────────────────── Sepal.Length │ setosa F(2, 92.21) = 138.91 < .001 │ versicolor │ virginica ╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ Sepal.Width │ setosa F(2, 97.40) = 45.01 < .001 │ versicolor │ virginica Variable │ Group ES ──────────────┼──────────────────────────────────── Sepal.Length │ setosa η² = 0.62 [0.52, 0.68] │ versicolor │ virginica ╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ Sepal.Width │ setosa η² = 0.40 [0.28, 0.49] │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5.01 0.35 4.30 5.80 4.91 5.11 50 │ versicolor 5.94 0.52 4.90 7.00 5.79 6.08 50 │ virginica 6.59 0.64 4.90 7.90 6.41 6.77 50 Descriptive statistics Variable │ M SD Min Max 95% CI LL 95% CI UL n ──────────┼─────────────────────────────────────────────────── x │ 5.50 3.03 1.00 10.00 3.33 7.67 10 Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n p ──────────┼──────────────────────────────────────────────────────────────── x │ A 0.15 1.05 -1.65 2.40 -0.24 0.54 30 .777 │ B 0.23 1.04 -1.74 2.17 -0.16 0.62 30 Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────┼─────────────────────────────────────────────────────────── x │ A 0,24 1,15 -1,76 2,61 -0,30 0,78 20 │ B -0,02 0,91 -1,87 1,83 -0,44 0,41 20 Variable │ Group Test ──────────┼──────────────────────── x │ A t(36,11) = 0,78 │ B Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5,01 0,35 4,30 5,80 4,91 5,11 50 │ versicolor 5,94 0,52 4,90 7,00 5,79 6,08 50 │ virginica 6,59 0,64 4,90 7,90 6,41 6,77 50 Variable │ Group p ──────────────┼──────────────────── Sepal.Length │ setosa < ,001 │ versicolor │ virginica Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n p ──────────┼─────────────────────────────────────────────────────────────── x │ A 5,28 1,95 1,07 8,57 4,37 6,19 20 ,504 │ B 4,90 1,66 1,63 7,51 4,12 5,67 20 Descriptive statistics Variable │ Group M SD Min Max 95% CI LL 95% CI UL n ──────────────┼────────────────────────────────────────────────────────────── Sepal.Length │ setosa 5,01 0,35 4,30 5,80 4,91 5,11 50 │ versicolor 5,94 0,52 4,90 7,00 5,79 6,08 50 │ virginica 6,59 0,64 4,90 7,90 6,41 6,77 50 Variable │ Group Test ──────────────┼────────────────────────────────── Sepal.Length │ setosa F(2, 92,21) = 138,91 │ versicolor │ virginica Test Title Category │ Values Freq. ──────────┼─────────────── Valid │ A 1 [ FAIL 0 | WARN 0 | SKIP 7 | PASS 953 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • Cannot mock officer requireNamespace without recursion (2): 'test-table_categorical.R:1468:3', 'test-table_categorical.R:1592:3' • Clipboard not available (3): 'test-table_continuous.R:1031:3', 'test-table_continuous.R:1198:3', 'test-table_continuous.R:1216:3' • clipr::clipr_available() is not TRUE (2): 'test-copy_clipboard.R:34:3', 'test-copy_clipboard.R:81:3' [ FAIL 0 | WARN 0 | SKIP 7 | PASS 953 ] > > proc.time() user system elapsed 53.57 4.56 60.96