Skip to content

EDI (Experimental Design and Inference) R package v1.0.2

Latest

Choose a tag to compare

@kapelner kapelner released this 07 Oct 09:53

First version accepted on CRAN. Install with install.packages("EDI"). Full details in NEWS.md.

The attached EDI_1.0.2.tar.gz is the source tarball as submitted to CRAN on 2026-09-27 (built 2026-09-25 from commit 903ced0). CRAN rebuilds the package after acceptance, so the copy it serves is a different file with the same source.

Breaking change

  • toggle_asserts(), set_num_cores() and set_package_threads() no longer set global options() as a side effect (CRAN policy). toggle_asserts() keeps its flag in package-internal state, and set_num_cores() no longer sets options(mc.cores = ...) or calls fixest::setFixest_nthreads(). A user's own options(edi.run_asserts = ...) is still honored.

New features

  • InferenceCountQuasiPoisson now composes the marginal-estimand component, so marginal (standardized) effect estimands are available for it as well.

Notable bug fixes

  • Reused-worker resampling reused a stale cached fit across draws for classes with a custom cache guard key, collapsing the resampling distribution to a point mass. The worker loaders now reset cached fit state between draws, with a structural regression test covering every class that has a reusable-worker method.
  • InferencePropGCompMeanDiff and InferenceSurvivalGLMMWeibullFrailtyLoggammaIVWC returned NA or a stale value in randomization inference. Both are fixed.
  • Three KK survival compound classes fed NAs into the fitter for every censored subject during randomization inference, so the p-value depended strongly on the censoring rate. Fixed.

See NEWS.md for the complete list, including kernel, standard-error and confidence-interval fixes.