Skip to content

v1.1.4 — CRAN fix: skip timing-based tests on CRAN

Choose a tag to compare

@evandeilton evandeilton released this 27 May 19:49
· 9 commits to main since this release

Summary

Patch release fixing the CRAN check ERRORs reported on 2026-05-25 (deadline 2026-06-08). No functional changes; all user-facing code is unchanged.

Fix

All 4 CRAN failures were in tests/testthat/test-mle-performance.R (line 264). Those tests assert that analytical-gradient optimisation runs no more than 2× slower than numerical-only. On CRAN's loaded Linux hosts the numerical baseline ran anomalously fast, breaching the ratio even though the gradient code is correct.

Prof. Ripley's note: "The manual warned you about testing timings, and this fails quite often."

Change: added skip_on_cran() inside each test_that block in test-mle-performance.R. The benchmarks remain intact for local development — they are only skipped during CRAN checks.

R CMD check

0 errors | 0 warnings | 0 notes

Submitted to CRAN

Package submitted to CRAN on 2026-05-27 and is pending review.