Replaced exact floating-point regression comparisons with tight elementwise error bounds and finite-value checks, while keeping structure, interactions, counting rules and RNG metadata exact. Singular covariance diagnostics distinguish numerical-zero uncertainty in tests; production calibration and inference rules are unchanged by this testing repair.
Removed hard-coded package-version expectations from regression tests and added field-level diagnostics for numerical failures.
Corrected BEAST permutation p-values to use
(1 + sum(null >= observed)) / (num + 1), retaining ties
and exactly num reference statistics.
Reused one internal subset schedule for observed and reference statistics, with full-sample and within-subset reranking. The permutation branch continues to permute original observed blocks; it already used observed data in 0.6.0.
Defined zero-norm BEAST statistics as zero and added nonfinite checks before inference.
Required explicit block partitions for permutation inference.
Uniformity now requires method = "s" with an explicit
positive num; the silent one-variable switch was removed.
Supported null simulation uses the same fixed-schedule, plus-one
contract.
Validated inference inputs and dispatch. B counts
internal subsamples; num counts reference draws and is
ignored for method = "stat". Fixed-seed permutation outputs
and post-call RNG states intentionally change.
Preserved ordinary nondegenerate statistic behavior and the separate asymptotic empirical-tail and critical-value conventions.
BEAST.asymptotic.calibrate() and
BEAST.asymptotic(), with saved calibration objects and
explicit compatibility checks.