Rdistance v4.4.3 on CRAN now

Bug fixes for Rdistance are on CRAN

R
Distance Analysis
Author

Trent McDonald

Published

May 24, 2026

Modified

May 15, 2026

Version 4.4.3 of Rdistance contains a few critical bug fixes.


Bug Fixes Between 4.4.0 and 4.4.3

  • ESW for likelihood oneStep with expansions > 0 threw an error in version 4.4.2. Routine integrateOneStepNumeric was returning areas without units, which was okay for optimization, but not okay for ESW. integrateOneStepNumeric in version 4.4.3 returns a vector with the correct units, which is consistent with the other integration routines.
  • In 4.4.0, error ‘outArea’ undefined occurred when the likelihood returned NA or Inf or NaN. This bug only effected non-smooth likelihoods oneStep, triangle, and huber.
  • In 4.4.0, bootstrap iterations failed because base function rbind mysteriously began stripping attributes from its arguments and Rdistance relies on these attributes.
  • Strip width vector was ill-sized for smooth likelihoods with expansion factors causing an error. This bug effected likelihoods halfnormal, hazrate, negexp, and Gamma when expansions > 0.

Documentation

Versions 4.4.2 updated and clarified sections of the abundEstim and RdistanceControls documentation.