Skip to content

Commit fa9d6ba

Browse files
committed
RcppArmadillo 14.90.0-2 with Armadillo 14.90.0 (15.0.rc) and 14.6.2
Adds fallback compilation using 14.6.2 installed in inst/include/legacy/ otherwise current version is used (requiring C++14 or newer) from inst/include/current
1 parent d6e7149 commit fa9d6ba

File tree

1,300 files changed

+207674
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,300 files changed

+207674
-12
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ GPATH
1212
GRTAGS
1313
GTAGS
1414
inst/include/armadillo_bits/config.hpp.cmake
15+
inst/include/current/armadillo_bits/config.hpp.cmake

ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
2025-08-14 Dirk Eddelbuettel <[email protected]>
22

33
* DESCRIPTION (Version, Date): RcppArmadillo 14.6.3-1
4+
2025-08-10 Dirk Eddelbuettel <[email protected]>
5+
6+
* DESCRIPTION (Version, Date): RcppArmadillo 14.90.0-2
47
* inst/NEWS.Rd: Idem
58
* configure.ac: Idem
69
* configure: Idem
710

811
* inst/include/armadillo_bits/: Armadillo 14.6.3
12+
* inst/include/current/: Armadillo 15.0.0 (pre-rc)
13+
* inst/include/legacy/: Armadillo 14.6.2
14+
* inst/include/RcppArmadillo/interface/RcppArmadilloForward.h: Switch
15+
back to 'legacy' if compilation standard is older than C++14
916

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

DESCRIPTION

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Type: Package
33
Title: 'Rcpp' Integration for the 'Armadillo' Templated Linear Algebra Library
44
Version: 14.6.3-1
55
Date: 2025-08-14
6+
Version: 14.90.0-2
7+
Date: 2025-08-10
68
Authors@R: c(person("Dirk", "Eddelbuettel", role = c("aut", "cre"), email = "[email protected]",
79
comment = c(ORCID = "0000-0001-6419-907X")),
810
person("Romain", "Francois", role = "aut",

configure

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,8 +603,13 @@ MAKEFLAGS=
603603
# Identity of this package.
604604
PACKAGE_NAME='RcppArmadillo'
605605
PACKAGE_TARNAME='rcpparmadillo'
606+
<<<<<<< HEAD
606607
PACKAGE_VERSION='14.6.3-1'
607608
PACKAGE_STRING='RcppArmadillo 14.6.3-1'
609+
=======
610+
PACKAGE_VERSION='14.90.0-2'
611+
PACKAGE_STRING='RcppArmadillo 14.90.0-2'
612+
>>>>>>> 04afddb3 (RcppArmadillo 14.90.0-2 with Armadillo 14.90.0 (15.0.rc) and 14.6.2)
608613
PACKAGE_BUGREPORT='[email protected]'
609614
PACKAGE_URL=''
610615

@@ -1222,7 +1227,11 @@ if test "$ac_init_help" = "long"; then
12221227
# Omit some internal or obsolete options to make the list less imposing.
12231228
# This message is too long to be a string in the A/UX 3.1 sh.
12241229
cat <<_ACEOF
1230+
<<<<<<< HEAD
12251231
'configure' configures RcppArmadillo 14.6.3-1 to adapt to many kinds of systems.
1232+
=======
1233+
'configure' configures RcppArmadillo 14.90.0-2 to adapt to many kinds of systems.
1234+
>>>>>>> 04afddb3 (RcppArmadillo 14.90.0-2 with Armadillo 14.90.0 (15.0.rc) and 14.6.2)
12261235
12271236
Usage: $0 [OPTION]... [VAR=VALUE]...
12281237
@@ -1284,7 +1293,11 @@ fi
12841293

12851294
if test -n "$ac_init_help"; then
12861295
case $ac_init_help in
1296+
<<<<<<< HEAD
12871297
short | recursive ) echo "Configuration of RcppArmadillo 14.6.3-1:";;
1298+
=======
1299+
short | recursive ) echo "Configuration of RcppArmadillo 14.90.0-2:";;
1300+
>>>>>>> 04afddb3 (RcppArmadillo 14.90.0-2 with Armadillo 14.90.0 (15.0.rc) and 14.6.2)
12881301
esac
12891302
cat <<\_ACEOF
12901303
@@ -1365,7 +1378,11 @@ fi
13651378
test -n "$ac_init_help" && exit $ac_status
13661379
if $ac_init_version; then
13671380
cat <<\_ACEOF
1381+
<<<<<<< HEAD
13681382
RcppArmadillo configure 14.6.3-1
1383+
=======
1384+
RcppArmadillo configure 14.90.0-2
1385+
>>>>>>> 04afddb3 (RcppArmadillo 14.90.0-2 with Armadillo 14.90.0 (15.0.rc) and 14.6.2)
13691386
generated by GNU Autoconf 2.72
13701387
13711388
Copyright (C) 2023 Free Software Foundation, Inc.
@@ -1481,7 +1498,11 @@ cat >config.log <<_ACEOF
14811498
This file contains any messages produced by compilers while
14821499
running configure, to aid debugging if configure makes a mistake.
14831500
1501+
<<<<<<< HEAD
14841502
It was created by RcppArmadillo $as_me 14.6.3-1, which was
1503+
=======
1504+
It was created by RcppArmadillo $as_me 14.90.0-2, which was
1505+
>>>>>>> 04afddb3 (RcppArmadillo 14.90.0-2 with Armadillo 14.90.0 (15.0.rc) and 14.6.2)
14851506
generated by GNU Autoconf 2.72. Invocation command line was
14861507
14871508
$ $0$ac_configure_args_raw
@@ -3980,7 +4001,11 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39804001
# report actual input values of CONFIG_FILES etc. instead of their
39814002
# values after options handling.
39824003
ac_log="
4004+
<<<<<<< HEAD
39834005
This file was extended by RcppArmadillo $as_me 14.6.3-1, which was
4006+
=======
4007+
This file was extended by RcppArmadillo $as_me 14.90.0-2, which was
4008+
>>>>>>> 04afddb3 (RcppArmadillo 14.90.0-2 with Armadillo 14.90.0 (15.0.rc) and 14.6.2)
39844009
generated by GNU Autoconf 2.72. Invocation command line was
39854010
39864011
CONFIG_FILES = $CONFIG_FILES
@@ -4035,7 +4060,11 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
40354060
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40364061
ac_cs_config='$ac_cs_config_escaped'
40374062
ac_cs_version="\\
4063+
<<<<<<< HEAD
40384064
RcppArmadillo config.status 14.6.3-1
4065+
=======
4066+
RcppArmadillo config.status 14.90.0-2
4067+
>>>>>>> 04afddb3 (RcppArmadillo 14.90.0-2 with Armadillo 14.90.0 (15.0.rc) and 14.6.2)
40394068
configured by $0, generated by GNU Autoconf 2.72,
40404069
with options \\"\$ac_cs_config\\"
40414070
@@ -4595,5 +4624,3 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
45954624
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
45964625
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
45974626
fi
4598-
4599-

inst/NEWS.Rd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
}
1414

1515
\section{Changes in RcppArmadillo version 14.6.2-1 (2025-08-08) (GitHub Only)}{
16+
\section{Changes in RcppArmadillo version 14.90.0-2 (2025-08-10) (GitHub Only)}{
17+
\itemize{
18+
\item Upgraded to Armadillo release 14.90.0 (Experimental)
19+
\item Also include Armadillo 14.6.2 as fallback for C++11 compilations
20+
}
21+
}
22+
23+
\section{Changes in RcppArmadillo version 14.6.2-1 (2025-08-09) (GitHub Only)}{
1624
\itemize{
1725
\item Upgraded to Armadillo release 14.6.2 (Caffe Mocha)
1826
\itemize{

inst/include/RcppArmadillo/interface/RcppArmadilloForward.h

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,24 @@
4646
// installation of Armadillo
4747
#define ARMA_DONT_USE_WRAPPER
4848

49-
// Armadillo has deprecation warnings (which RcppArmadillo suppressed at time to
50-
// minimise issies at CRAN). Should your package display any, and you decide
51-
// _not_ to fix the root causes (see RcppArmadillo GitHub Issues #391 and #402
52-
// for details) then defining the following macro will help. You can add a
53-
// #define in your source code before including the RcppArmadillo header, or add
54-
// a -DARMA_IGNORE_DEPRECATED_MARKER to the PKG_CPPFLAGS in src/Makevars.
55-
// Renabling globally for 14.0.0 release
56-
#define ARMA_IGNORE_DEPRECATED_MARKER
57-
58-
#include "armadillo"
49+
#if __cplusplus >= 201402L
50+
// Armadillo 15.0 (rc)
51+
#include "current/armadillo"
52+
#else
53+
// we include Armadillo 14.6.2 here -- the last version to not require C++14
54+
#pragma message("Using fallback compilation with Armadillo 14.6.2 under C++11. Please consider removing the C++11 compilation standard directive.")
55+
56+
// Armadillo has deprecation warnings (which RcppArmadillo suppressed at time to
57+
// minimise issies at CRAN). Should your package display any, and you decide
58+
// _not_ to fix the root causes (see RcppArmadillo GitHub Issues #391 and #402
59+
// for details) then defining the following macro will help. You can add a
60+
// #define in your source code before including the RcppArmadillo header, or add
61+
// a -DARMA_IGNORE_DEPRECATED_MARKER to the PKG_CPPFLAGS in src/Makevars.
62+
// Renabling globally for Armadillo 14.6.2 release
63+
#define ARMA_IGNORE_DEPRECATED_MARKER
64+
65+
#include "legacy/armadillo"
66+
#endif
5967

6068
/* forward declarations */
6169
namespace Rcpp {
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)