armadillo4r 0.9.0
CRAN release: 2026-05-20
- Using Armadillo 15.2.6
-
as_SpMat()now accepts any sparse matrix class from theMatrixpackage, includingRsparseMatrixandTsparseMatrixsubclasses, symmetric (dsCMatrix), and unit-triangular (dtCMatrix) matrices, which are expanded to general form on conversion toSpMat<double>. -
as_SpMat()andas_dgCMatrix()now use theMatrixpackage’s public C API (CHOLMOD bridge) instead of reading S4 slots directly. The bridge is auto-enabled when theMatrixpackage’s headers are visible at compile time, which happens when the consuming package declaresLinkingTo: Matrix (>= 1.6-2)in its own DESCRIPTION. Packages that do not need the sparse-Matrix bridge no longer have to depend onMatrix. The auto-detection can be overridden with-DARMADILLO4R_USE_MATRIXor-DARMADILLO4R_NO_MATRIX.
armadillo4r 0.8.0
CRAN release: 2026-04-08
- Adds templates to simplify cube/field data copying between R and Armadillo.
- Adds templates to pass lazy
Glue<>andBase<>expressions toas_{{ R_TYPE }}().
armadillo4r 0.7.0
CRAN release: 2025-12-04
- Using Armadillo 15.2.1 (Medium Roast Deluxe) thanks to @conradsnicta update notification.
- Improve complex vectors/matrices copying performance by using
memcpyinstead of element-wise copying. - Explicit testing with Clang and GCC compiler using C++ 14, 17, 20, and 23 standards (Armadillo 15.2.1 requires at least C++14)