* installing *source* package ‘Rlibeemd’ ...
** package ‘Rlibeemd’ successfully unpacked and MD5 sums checked
** using staged installation
checking for gsl-config... /usr/bin/gsl-config
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘clang version 18.1.2’
using C++ compiler: ‘clang version 18.1.2’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/Rlibeemd/src'
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c RcppExports.cpp -o RcppExports.o
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I/usr/include  -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c bemd.c -o bemd.o
In file included from bemd.c:19:
In file included from ./bemd.h:25:
./array.h:3:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
    3 | #define restrict // nothing
      |         ^
1 warning generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c bemdR.cpp -o bemdR.o
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I/usr/include  -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c ceemdan.c -o ceemdan.o
In file included from ceemdan.c:19:
In file included from ./ceemdan.h:25:
In file included from ./eemd.h:10:
./extras.h:18:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
   18 | #define restrict // nothing
      |         ^
1 warning generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c ceemdanR.cpp -o ceemdanR.o
In file included from bemdR.cpp:4:
In file included from ./bemd.h:25:
./array.h:62:46: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   62 | static inline void complex_array_copy(double _Complex const* restrict src, size_t n, double _Complex* restrict dest) {
      |                                              ^
./array.h:62:93: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   62 | static inline void complex_array_copy(double _Complex const* restrict src, size_t n, double _Complex* restrict dest) {
      |                                                                                             ^
./array.h:63:37: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   63 |   memcpy(dest, src, n*sizeof(double _Complex));
      |                                     ^
./array.h:66:45: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   66 | static inline void complex_array_sub(double _Complex const* src, size_t n, double _Complex* dest) {
      |                                             ^
./array.h:66:83: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   66 | static inline void complex_array_sub(double _Complex const* src, size_t n, double _Complex* dest) {
      |                                                                                   ^
./array.h:71:46: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   71 | static inline void complex_array_mult(double _Complex* dest, size_t n, double val) {
      |                                              ^
In file included from bemdR.cpp:4:
./bemd.h:38:32: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   38 | libeemd_error_code bemd(double _Complex const* restrict input, size_t N,
      |                                ^
./bemd.h:40:10: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   40 |   double _Complex* restrict output, size_t M,
      |          ^
bemdR.cpp:23:57: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   23 |   libeemd_error_code err = bemd(reinterpret_cast<double _Complex const*>(input.begin()), N, 
      |                                                         ^
bemdR.cpp:24:52: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   24 |     directions.begin(), D, reinterpret_cast<double _Complex*>(output.begin()), M, num_siftings);
      |                                                    ^
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c eemdR.cpp -o eemdR.o
10 warnings generated.
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I/usr/include  -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c eemd_routine.c -o eemd_routine.o
In file included from eemd_routine.c:19:
In file included from ./eemd_routine.h:26:
./array.h:3:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
    3 | #define restrict // nothing
      |         ^
eemd_routine.c:60:15: warning: variable 'ensemble_counter' set but not used [-Wunused-but-set-variable]
   60 |         unsigned int ensemble_counter = 0;
      |                      ^
2 warnings generated.
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I/usr/include  -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c emd.c -o emd.o
In file included from emd.c:19:
In file included from ./emd.h:26:
./array.h:3:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
    3 | #define restrict // nothing
      |         ^
1 warning generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c emd_num_imfsR.cpp -o emd_num_imfsR.o
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I/usr/include  -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c error.c -o error.o
In file included from error.c:21:
In file included from ./error.h:22:
In file included from ./eemd.h:10:
./extras.h:18:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
   18 | #define restrict // nothing
      |         ^
1 warning generated.
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I/usr/include  -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c extrema.c -o extrema.o
In file included from extrema.c:19:
In file included from ./extrema.h:25:
In file included from ./eemd.h:10:
./extras.h:18:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
   18 | #define restrict // nothing
      |         ^
1 warning generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c extremaR.cpp -o extremaR.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c gslErrorHandlerOff.cpp -o gslErrorHandlerOff.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c printError.cpp -o printError.o
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I/usr/include  -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c spline.c -o spline.o
In file included from spline.c:19:
In file included from ./spline.h:29:
In file included from ./eemd.h:10:
./extras.h:18:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
   18 | #define restrict // nothing
      |         ^
1 warning generated.
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I/usr/include  -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c version.c -o version.o
In file included from version.c:19:
In file included from ./version.h:24:
In file included from ./eemd.h:10:
./extras.h:18:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
   18 | #define restrict // nothing
      |         ^
1 warning generated.
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I/usr/include  -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c workspace.c -o workspace.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o Rlibeemd.so RcppExports.o bemd.o bemdR.o ceemdan.o ceemdanR.o eemdR.o eemd_routine.o emd.o emd_num_imfsR.o error.o extrema.o extremaR.o gslErrorHandlerOff.o printError.o spline.o version.o workspace.o -lgsl -lgslcblas -lm
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/Rlibeemd/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/Rlibeemd/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/Rlibeemd/src'
installing to /data/gannet/ripley/R/packages/tests-clang/Rlibeemd.Rcheck/00LOCK-Rlibeemd/00new/Rlibeemd/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (Rlibeemd)