The ensmallen team shipped ensmallen 3.11.0: “Sunny Day” (2025-12-16), and we’ve bundled it into RcppEnsmallen. The headline change refactors GradientDescent into a policy-based GradientDescentType<UpdatePolicyType, DecayPolicyType> and adds two new optimizers, DeltaBarDelta and MomentumDeltaBarDelta. Upstream also squashed an off-by-one bug where the actual number of executed iterations came in one fewer than the specified maxIterations.
On the R side, we handled a packaging wrinkle of our own: one of the new ensmallen headers arrived with a packaged path just over CRAN’s 100-byte portable-tarball limit, so we shortened it and added an automated guard so future upgrades stay in line. See Keeping Bundled C++ Headers Within CRAN’s 100-Byte Path Limit for the details.
For details on the changes, please see the news entry for the package update below.
RcppEnsmallen news file entry for version v0.3.11.0.1 (2026-07-18)
- Upgraded to ensmallen 3.11.0: “Sunny Day” (2025-12-16)
- Renamed the bundled ‘ensmallen’
MomentumDeltaBarDeltaupdate header so every packaged file path stays within CRAN’s 100-byte tarball limit, and added an automated remap step so future ‘ensmallen’ upgrades keep to it (#72).