llikXxxInternal() Rcpp functions changed from
int to R_xlen_t; previously vectors longer
than ~500 million elements (>4 GB) could cause undefined behavior due
to int overflow when assigned from
x.size().double-to-int casts for discrete distribution
count arguments (x, size) exceeding
INT_MAX (2147483647); the five affected C-API functions
(rxLlikPois, rxLlikBinom,
rxLlikGeom, rxLlikNbinom,
rxLlikNbinomMu) now return NA instead of
invoking undefined behavior for out-of-range inputs.operator() methods across all 15 distributions: changed
from int to Eigen::Index to match the return
type of Eigen::VectorXd::size().*Internal() C++ functions
directly to bypass R-level input validation.skip()-guarded large-vector test that documents
the R_xlen_t fix and can be run manually on systems with
>4 GB free RAM.NEWS.md file to track changes to the
package.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.