CRAN Package Check Results for Package vartest

Last updated on 2026-07-31 12:50:08 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5 3.13 137.23 140.36 OK
r-devel-linux-x86_64-debian-gcc 1.6 2.90 87.66 90.56 OK
r-devel-linux-x86_64-fedora-clang 1.6 131.69 OK
r-devel-linux-x86_64-fedora-gcc 1.6 92.92 OK
r-devel-windows-x86_64 1.6 7.00 143.00 150.00 OK
r-patched-linux-x86_64 1.6 4.48 138.80 143.28 OK
r-release-linux-x86_64 1.5 3.98 134.00 137.98 OK
r-release-macos-arm64 1.6 1.00 34.00 35.00 ERROR
r-release-macos-x86_64 1.6 3.00 227.00 230.00 OK
r-release-windows-x86_64 1.6 7.00 143.00 150.00 OK
r-oldrel-macos-arm64 1.6 1.00 38.00 39.00 ERROR
r-oldrel-macos-x86_64 1.6 3.00 257.00 260.00 OK
r-oldrel-windows-x86_64 1.5 8.00 185.00 193.00 OK

Additional issues

M1mac noLD

Check Details

Version: 1.6
Check: tests
Result: ERROR Running ‘testthat.R’ [18s/20s] 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 ------------------------------------------------------------------------------------------ Bartlett | 0.9780 | 0.0160 | 0.9940 | Suggested * Z Variance | 0.9740 | 0.0160 | 0.9927 | - Hartley (Mean) | 0.9740 | 0.0170 | 0.9922 | - Hartley (Harmonic) | 0.9740 | 0.0170 | 0.9922 | - Hartley (Max n) | 0.9740 | 0.0170 | 0.9922 | - Hartley (Min Var) | 0.9740 | 0.0170 | 0.9922 | - Fisher | 0.9920 | 0.0650 | 0.9886 | - Modified Z Variance | 0.9780 | 0.0390 | 0.9835 | - O'Brien (Trimmed Mean) | 0.9640 | 0.0310 | 0.9783 | - O'Brien (Median) | 0.9630 | 0.0320 | 0.9769 | - Capon | 0.9600 | 0.0310 | 0.9757 | - Levene (Med, Sq) | 0.9650 | 0.0370 | 0.9746 | - Levene (Trim, Sq) | 0.9640 | 0.0360 | 0.9746 | - O'Brien (Mean) | 0.9660 | 0.0400 | 0.9732 | - Klotz | 0.9580 | 0.0350 | 0.9710 | - Levene (Mean, Sq) | 0.9670 | 0.0470 | 0.9691 | - Levene (Trim, Abs) | 0.9440 | 0.0350 | 0.9605 | - Levene (Med, Abs) | 0.9350 | 0.0310 | 0.9587 | - Levene (Mean, Abs) | 0.9490 | 0.0410 | 0.9581 | - Fligner-Killeen | 0.9230 | 0.0310 | 0.9502 | - Duran | 0.9090 | 0.0340 | 0.9351 | - Mood | 0.9060 | 0.0340 | 0.9328 | - Cochran's C | 0.8180 | 0.0240 | 0.8926 | - G | 0.8180 | 0.0240 | 0.8926 | - Talwar-Gentle | 0.8330 | 0.0350 | 0.8714 | - Ansari-Bradley | 0.8270 | 0.0350 | 0.8664 | - David-Barton | 0.8270 | 0.0350 | 0.8664 | - Siegel-Tukey | 0.8270 | 0.0350 | 0.8664 | - ========================================================================================== * 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 Flavor: r-release-macos-arm64

Version: 1.6
Check: tests
Result: ERROR Running ‘testthat.R’ [19s/21s] 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 ------------------------------------------------------------------------------------------ Hartley (Mean) | 0.9700 | 0.0280 | 0.9841 | Suggested * Hartley (Harmonic) | 0.9700 | 0.0280 | 0.9841 | Suggested * Hartley (Max n) | 0.9700 | 0.0280 | 0.9841 | Suggested * Hartley (Min Var) | 0.9700 | 0.0280 | 0.9841 | Suggested * Bartlett | 0.9720 | 0.0300 | 0.9841 | - Z Variance | 0.9680 | 0.0310 | 0.9809 | - Modified Z Variance | 0.9780 | 0.0530 | 0.9765 | - Fisher | 0.9870 | 0.0830 | 0.9754 | - O'Brien (Mean) | 0.9660 | 0.0530 | 0.9638 | - Levene (Mean, Sq) | 0.9670 | 0.0550 | 0.9634 | - Levene (Trim, Sq) | 0.9610 | 0.0490 | 0.9618 | - O'Brien (Trimmed Mean) | 0.9580 | 0.0470 | 0.9606 | - Levene (Med, Sq) | 0.9600 | 0.0510 | 0.9592 | - Capon | 0.9580 | 0.0490 | 0.9589 | - O'Brien (Median) | 0.9560 | 0.0480 | 0.9578 | - Klotz | 0.9570 | 0.0510 | 0.9561 | - Levene (Mean, Abs) | 0.9410 | 0.0640 | 0.9251 | - Levene (Trim, Abs) | 0.9370 | 0.0630 | 0.9215 | - Levene (Med, Abs) | 0.9300 | 0.0570 | 0.9209 | - Fligner-Killeen | 0.9200 | 0.0540 | 0.9143 | - Duran | 0.9010 | 0.0590 | 0.8860 | - Mood | 0.8970 | 0.0590 | 0.8816 | - Cochran's C | 0.8270 | 0.0390 | 0.8554 | - G | 0.8270 | 0.0390 | 0.8554 | - Ansari-Bradley | 0.7940 | 0.0580 | 0.7726 | - David-Barton | 0.7940 | 0.0580 | 0.7726 | - Siegel-Tukey | 0.7920 | 0.0580 | 0.7704 | - Talwar-Gentle | 0.7940 | 0.0600 | 0.7674 | - ========================================================================================== * Suggested method yielding the highest adjusted power with the lowest Type I error. 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 Flavor: r-oldrel-macos-arm64