Skip to content
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ GPATH
GRTAGS
GTAGS
inst/include/armadillo_bits/config.hpp.cmake
inst/include/current/armadillo_bits/config.hpp.cmake
inst/include/legacy/armadillo_bits/config.hpp.cmake
44 changes: 43 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,11 +1,53 @@
2025-08-22 Dirk Eddelbuettel <[email protected]>

* DESCRIPTION (Version, Date): RcppArmadillo 15.0.1-1
* inst/NEWS.Rd: Idem
* configure.ac: Idem
* configure: Idem

* inst/include/current/: Armadillo 15.0.1

2025-08-21 Dirk Eddelbuettel <[email protected]>

* DESCRIPTION (Version, Date): RcppArmadillo 15.0.0-1
* inst/NEWS.Rd: Idem
* configure.ac: Idem
* configure: Idem

* inst/include/current/: Armadillo 15.0.0

2025-08-19 Dirk Eddelbuettel <[email protected]>

* DESCRIPTION (Version, Date): RcppArmadillo 14.90.0-5
* inst/NEWS.Rd: Idem
* configure.ac: Idem
* configure: Idem

2025-08-15 Dirk Eddelbuettel <[email protected]>

* inst/include/legacy/: Synced with Armadillo 14.6.3

2025-08-14 Dirk Eddelbuettel <[email protected]>

* DESCRIPTION (Version, Date): RcppArmadillo 14.6.3-1
* inst/include/current/armadillo_bits/*: Re-synced with Armadillo

* DESCRIPTION (Version, Date): RcppArmadillo 14.90.0-3
* inst/NEWS.Rd: Idem
* configure.ac: Idem
* configure: Idem

2025-08-10 Dirk Eddelbuettel <[email protected]>

* DESCRIPTION (Version, Date): RcppArmadillo 14.90.0-2
* inst/NEWS.Rd: Idem
* configure.ac: Idem
* configure: Idem

* inst/include/armadillo_bits/: Armadillo 14.6.3
* inst/include/current/: Armadillo 14.90.0
* inst/include/legacy/: Armadillo 14.6.2
* inst/include/RcppArmadillo/interface/RcppArmadilloForward.h: Switch
back to 'legacy' if compilation standard is older than C++14

2025-08-09 Dirk Eddelbuettel <[email protected]>

Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: RcppArmadillo
Type: Package
Title: 'Rcpp' Integration for the 'Armadillo' Templated Linear Algebra Library
Version: 14.6.3-1
Date: 2025-08-14
Version: 15.0.1-1
Date: 2025-08-22
Authors@R: c(person("Dirk", "Eddelbuettel", role = c("aut", "cre"), email = "[email protected]",
comment = c(ORCID = "0000-0001-6419-907X")),
person("Romain", "Francois", role = "aut",
Expand Down
18 changes: 9 additions & 9 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.72 for RcppArmadillo 14.6.3-1.
# Generated by GNU Autoconf 2.72 for RcppArmadillo 15.0.1-1.
#
# Report bugs to <[email protected]>.
#
Expand Down Expand Up @@ -603,8 +603,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='RcppArmadillo'
PACKAGE_TARNAME='rcpparmadillo'
PACKAGE_VERSION='14.6.3-1'
PACKAGE_STRING='RcppArmadillo 14.6.3-1'
PACKAGE_VERSION='15.0.1-1'
PACKAGE_STRING='RcppArmadillo 15.0.1-1'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_URL=''

Expand Down Expand Up @@ -1222,7 +1222,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
'configure' configures RcppArmadillo 14.6.3-1 to adapt to many kinds of systems.
'configure' configures RcppArmadillo 15.0.1-1 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1284,7 +1284,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of RcppArmadillo 14.6.3-1:";;
short | recursive ) echo "Configuration of RcppArmadillo 15.0.1-1:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1365,7 +1365,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
RcppArmadillo configure 14.6.3-1
RcppArmadillo configure 15.0.1-1
generated by GNU Autoconf 2.72

Copyright (C) 2023 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1481,7 +1481,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by RcppArmadillo $as_me 14.6.3-1, which was
It was created by RcppArmadillo $as_me 15.0.1-1, which was
generated by GNU Autoconf 2.72. Invocation command line was

$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -3980,7 +3980,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by RcppArmadillo $as_me 14.6.3-1, which was
This file was extended by RcppArmadillo $as_me 15.0.1-1, which was
generated by GNU Autoconf 2.72. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -4035,7 +4035,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
RcppArmadillo config.status 14.6.3-1
RcppArmadillo config.status 15.0.1-1
configured by $0, generated by GNU Autoconf 2.72,
with options \\"\$ac_cs_config\\"

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
AC_PREREQ([2.69])

## Process this file with autoconf to produce a configure script.
AC_INIT([RcppArmadillo],[14.6.3-1],[[email protected]])
AC_INIT([RcppArmadillo],[15.0.1-1],[[email protected]])

## Set R_HOME, respecting an environment variable if one is set
: ${R_HOME=$(R RHOME)}
Expand Down
32 changes: 31 additions & 1 deletion inst/NEWS.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,36 @@
\newcommand{\ghpr}{\href{https://github.com/RcppCore/RcppArmadillo/pull/#1}{##1}}
\newcommand{\ghit}{\href{https://github.com/RcppCore/RcppArmadillo/issues/#1}{##1}}

\section{Changes in RcppArmadillo version 15.0.1-1 (2025-08-22)}{
\itemize{
\item Upgraded to Armadillo release 15.0.1-1 (Medium Roast)
\itemize{
\item Workaround for GCC compiler bug involving misoptimisation of
complex number multiplication
}
}
}

\section{Changes in RcppArmadillo version 15.0.0-1 (2025-08-21)}{
\itemize{
\item Upgraded to Armadillo release 15.0.0-1 (Medium Roast)
\itemize{
\item C++14 is now the minimum required C++ standard
\item Aded preliminary support for matrices with half-precision fp16
element type
\item Added second form of \code{cond()} to allow detection of failures
\item Added \code{repcube()}
\item Added \code{.freeze()} and \code{.unfreeze()} member functions to
\code{wall_clock}
\item Extended \code{conv()} and \code{conv2()} to accept the "valid"
shape argument
}
\item Also include Armadillo 14.6.3 as fallback for C++11 compilations
\item This new 'dual' setup had been rigorously tested with five interim
pre-releases of which several received full reverse-dependency checks
}
}

\section{Changes in RcppArmadillo version 14.6.3-1 (2025-08-14)}{
\itemize{
\item Upgraded to Armadillo release 14.6.3 (Caffe Mocha)
Expand All @@ -12,7 +42,7 @@
}
}

\section{Changes in RcppArmadillo version 14.6.2-1 (2025-08-08) (GitHub Only)}{
\section{Changes in RcppArmadillo version 14.6.2-1 (2025-08-09) (GitHub Only)}{
\itemize{
\item Upgraded to Armadillo release 14.6.2 (Caffe Mocha)
\itemize{
Expand Down
28 changes: 18 additions & 10 deletions inst/include/RcppArmadillo/interface/RcppArmadilloForward.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,24 @@
// installation of Armadillo
#define ARMA_DONT_USE_WRAPPER

// Armadillo has deprecation warnings (which RcppArmadillo suppressed at time to
// minimise issies at CRAN). Should your package display any, and you decide
// _not_ to fix the root causes (see RcppArmadillo GitHub Issues #391 and #402
// for details) then defining the following macro will help. You can add a
// #define in your source code before including the RcppArmadillo header, or add
// a -DARMA_IGNORE_DEPRECATED_MARKER to the PKG_CPPFLAGS in src/Makevars.
// Renabling globally for 14.0.0 release
#define ARMA_IGNORE_DEPRECATED_MARKER

#include "armadillo"
#if __cplusplus >= 201402L
// Armadillo 15.0 (rc)
#include "current/armadillo"
#else
// we include Armadillo 14.6.2 here -- the last version to not require C++14
#pragma message("Using fallback compilation with Armadillo 14.6.2 under C++11. Please consider removing the C++11 compilation standard directive.")

// Armadillo has deprecation warnings (which RcppArmadillo suppressed at time to
// minimise issies at CRAN). Should your package display any, and you decide
// _not_ to fix the root causes (see RcppArmadillo GitHub Issues #391 and #402
// for details) then defining the following macro will help. You can add a
// #define in your source code before including the RcppArmadillo header, or add
// a -DARMA_IGNORE_DEPRECATED_MARKER to the PKG_CPPFLAGS in src/Makevars.
// Renabling globally for Armadillo 14.6.2 release
#define ARMA_IGNORE_DEPRECATED_MARKER

#include "legacy/armadillo"
#endif

/* forward declarations */
namespace Rcpp {
Expand Down
Loading