* using log directory ‘/Users/ripley/R/packages/tests-devel/vartest.Rcheck’ * using R Under development (unstable) (2026-07-28 r90311) * using platform: aarch64-apple-darwin25.5.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.1.1.101) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.6 * using session charset: UTF-8 * current time: 2026-07-28 16:10:49 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘vartest/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘vartest’ version ‘1.6’ * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘vartest’ can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [21s/21s] [21s/21s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(vartest) Attaching package: 'vartest' The following objects are masked from 'package:stats': ansari.test, mood.test > > test_check("vartest") ========================================================================================== Test Method | Power | Type I Error | Adj. Power | Evaluation ------------------------------------------------------------------------------------------ Fisher | 0.9920 | 0.0870 | 0.9831 | Suggested * Bartlett | 0.9600 | 0.0350 | 0.9724 | - Z Variance | 0.9600 | 0.0350 | 0.9724 | - Hartley (Mean) | 0.9630 | 0.0410 | 0.9700 | - Hartley (Harmonic) | 0.9630 | 0.0410 | 0.9700 | - Hartley (Max n) | 0.9630 | 0.0410 | 0.9700 | - Hartley (Min Var) | 0.9630 | 0.0410 | 0.9700 | - Modified Z Variance | 0.9700 | 0.0550 | 0.9667 | - Capon | 0.9510 | 0.0440 | 0.9569 | - Klotz | 0.9510 | 0.0460 | 0.9549 | - O'Brien (Trimmed Mean) | 0.9480 | 0.0440 | 0.9542 | - Levene (Mean, Sq) | 0.9610 | 0.0590 | 0.9536 | - O'Brien (Median) | 0.9470 | 0.0440 | 0.9533 | - Levene (Med, Sq) | 0.9490 | 0.0480 | 0.9510 | - Levene (Trim, Sq) | 0.9490 | 0.0480 | 0.9510 | - O'Brien (Mean) | 0.9530 | 0.0530 | 0.9501 | - Levene (Med, Abs) | 0.9300 | 0.0530 | 0.9261 | - Levene (Mean, Abs) | 0.9420 | 0.0660 | 0.9241 | - Levene (Trim, Abs) | 0.9350 | 0.0620 | 0.9204 | - Fligner-Killeen | 0.9150 | 0.0530 | 0.9105 | - Mood | 0.8950 | 0.0550 | 0.8863 | - Duran | 0.8890 | 0.0600 | 0.8710 | - Cochran's C | 0.8070 | 0.0410 | 0.8318 | - G | 0.8070 | 0.0410 | 0.8318 | - Talwar-Gentle | 0.7980 | 0.0530 | 0.7899 | - Siegel-Tukey | 0.7920 | 0.0540 | 0.7811 | - Ansari-Bradley | 0.7960 | 0.0560 | 0.7799 | - David-Barton | 0.7960 | 0.0560 | 0.7799 | - ========================================================================================== * Suggested method yielding the highest adjusted power. Bartlett's Test data: Sepal.Length and Species X-squared = 16.006, df = 2, p-value = 0.0003345 Ansari Bradley Test data: Sepal.Length and Species X-squared = 9.5137, df = 2, p-value = 0.008593 Capon Test data: Sepal.Length and Species X-squared = 10.234, df = 2, p-value = 0.005993 David Barton Test data: Sepal.Length and Species X-squared = 9.5137, df = 2, p-value = 0.008593 Duran Test data: Sepal.Length and Species X-squared = 9.6837, df = 2, p-value = 0.007892 Fligner-Killeen Test data: Sepal.Length and Species X-squared = 11.618, df = 2, p-value = 0.003 Klotz Test data: Sepal.Length and Species X-squared = 11.304, df = 2, p-value = 0.00351 Mood Test data: Sepal.Length and Species X-squared = 9.4451, df = 2, p-value = 0.008893 Siegel Tukey Test data: Sepal.Length and Species X-squared = 8.4519, df = 2, p-value = 0.01461 Talwar and Gentle Test data: Sepal.Length and Species X-squared = 9.6413, df = 2, p-value = 0.008062 Saving _problems/testthat-vht-182.R Saving _problems/testthat-vht-182.R Cochran's C Test data: Sepal.Length and Species F = 0.50859, num df = 49, denom df = 98, p-value = 0.003456 Modified Z Variance Test data: Sepal.Length and Species F = 8.2779, num df = 2, denom df = Inf, p-value = 0.0002541 Fisher's Test data: Sepal.Length and Species F = 3.2543, num df.virginica = 49, denom df.setosa = 49, p-value = 6.366e-05 G Test data: Sepal.Length and Species F.virginica = 0.50859, num df = 49, denom df = 98, p-value = 0.003456 Hartley's Maximum F-Ratio Test data: Sepal.Length and Species F-max = 3.2543, df = 49, p-value = 0.0004241 Hartley's Maximum F-Ratio Test data: Sepal.Length and Species F-max = 3.2543, df = 49, p-value = 0.0004241 Hartley's Maximum F-Ratio Test data: Sepal.Length and Species F-max = 3.2543, df = 49, p-value = 0.0004241 Hartley's Maximum F-Ratio Test data: Sepal.Length and Species F-max = 3.2543, df = 49, p-value = 0.0004241 Levene's Test data: Sepal.Length and Species F = 7.3811, num df = 2, denom df = 147, p-value = 0.0008818 Levene's Test data: Sepal.Length and Species F = 6.3527, num df = 2, denom df = 147, p-value = 0.002259 Levene's Test data: Sepal.Length and Species F = 6.7289, num df = 2, denom df = 147, p-value = 0.001599 Levene's Test data: Sepal.Length and Species F = 6.5889, num df = 2, denom df = 147, p-value = 0.001818 Levene's Test data: Sepal.Length and Species F = 6.5612, num df = 2, denom df = 147, p-value = 0.001865 Levene's Test data: Sepal.Length and Species F = 6.5171, num df = 2, denom df = 147, p-value = 0.001942 O'Brien Test data: Sepal.Length and Species F = 6.4537, num df = 2, denom df = 147, p-value = 0.002058 O'Brien Test data: Sepal.Length and Species F = 6.4303, num df = 2, denom df = 147, p-value = 0.002103 O'Brien Test data: Sepal.Length and Species F = 6.385, num df = 2, denom df = 147, p-value = 0.002192 Z Variance Test data: Sepal.Length and Species F = 7.6225, num df = 2, denom df = Inf, p-value = 0.0004893 Bartlett's Test data: Sepal.Length and Species X-squared = 14.625, df = 2, p-value = 0.000667 Bartlett's Test data: Sepal.Length and Species X-squared = 16.006, df = 2, p-value = 0.0003345 Bartlett's Test data: Sepal.Length and Species X-squared = 16.006, df = 2, p-value = 0.0003345 [ FAIL 2 | WARN 1 | SKIP 0 | PASS 279 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('testthat-vht.R:182:3'): Talwar Gentle test works ────────────────── Expected `unname(result$statistic)` to equal `unname(statistic)`. Differences: 1/1 mismatches [1] 9.64 - 9.64 == -0.000173 Backtrace: ▆ 1. └─vartest (local) expect_matches_reference(result, validation$statistic, validation$p.value) at testthat-vht.R:182:3 2. └─testthat::expect_equal(...) at testthat-vht.R:32:3 ── Failure ('testthat-vht.R:182:3'): Talwar Gentle test works ────────────────── Expected `result$p.value` to equal `as.numeric(p.value)`. Differences: 1/1 mismatches [1] 0.00806 - 0.00806 == 6.98e-07 Backtrace: ▆ 1. └─vartest (local) expect_matches_reference(result, validation$statistic, validation$p.value) at testthat-vht.R:182:3 2. └─testthat::expect_equal(result$p.value, as.numeric(p.value), tolerance = tolerance) at testthat-vht.R:33:3 [ FAIL 2 | WARN 1 | SKIP 0 | PASS 279 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/vartest.Rcheck/00check.log’ for details. 37.05 real 32.29 user 3.92 sys