* installing *source* package ‘forecast’ ...
** package ‘forecast’ successfully unpacked and MD5 sums checked
** using staged installation
** 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/forecast/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' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -fopenmp -DR_NO_REMAP -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c calcBATS.cpp -o calcBATS.o
In file included from calcBATS.cpp:1:
In file included from ./calcBATS.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
   26 | #define R_NO_REMAP
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define R_NO_REMAP 1
      |         ^
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' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -fopenmp -DR_NO_REMAP -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c calcTBATS.cpp -o calcTBATS.o
In file included from calcTBATS.cpp:1:
In file included from ./calcBATS.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
   26 | #define R_NO_REMAP
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define R_NO_REMAP 1
      |         ^
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' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -fopenmp -DR_NO_REMAP -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c etsTargetFunction.cpp -o etsTargetFunction.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' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -fopenmp -DR_NO_REMAP -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c etsTargetFunctionWrapper.cpp -o etsTargetFunctionWrapper.o
In file included from etsTargetFunction.cpp:7:
In file included from ./etsTargetFunction.h:3:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
   26 | #define R_NO_REMAP
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define R_NO_REMAP 1
      |         ^
In file included from etsTargetFunctionWrapper.cpp:10:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
   26 | #define R_NO_REMAP
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define R_NO_REMAP 1
      |         ^
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' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c etscalc.c -o etscalc.o
etscalc.c:119:15: warning: variable 'nstates' set but not used [-Wunused-but-set-variable]
  119 |     int i, j, nstates;
      |               ^
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' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c etspolyroot.c -o etspolyroot.o
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' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -fopenmp -DR_NO_REMAP -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c makeBATSMatrices.cpp -o makeBATSMatrices.o
In file included from makeBATSMatrices.cpp:1:
In file included from ./calcBATS.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
   26 | #define R_NO_REMAP
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define R_NO_REMAP 1
      |         ^
/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' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -fopenmp -DR_NO_REMAP -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c makeTBATSMatrices.cpp -o makeTBATSMatrices.o
In file included from makeTBATSMatrices.cpp:1:
In file included from ./calcBATS.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
   26 | #define R_NO_REMAP
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define R_NO_REMAP 1
      |         ^
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c registerDynamicSymbol.c -o registerDynamicSymbol.o
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' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -fopenmp -DR_NO_REMAP -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c updateMatrices.cpp -o updateMatrices.o
In file included from updateMatrices.cpp:8:
In file included from ./calcBATS.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
   26 | #define R_NO_REMAP
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define R_NO_REMAP 1
      |         ^
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' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -fopenmp -DR_NO_REMAP -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c updateTBATSMatrices.cpp -o updateTBATSMatrices.o
In file included from updateTBATSMatrices.cpp:1:
In file included from ./calcBATS.h:35:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
   26 | #define R_NO_REMAP
      |         ^
<command line>:2:9: note: previous definition is here
    2 | #define R_NO_REMAP 1
      |         ^
1 warning generated.
1 warning generated.
/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 forecast.so calcBATS.o calcTBATS.o etsTargetFunction.o etsTargetFunctionWrapper.o etscalc.o etspolyroot.o makeBATSMatrices.o makeTBATSMatrices.o registerDynamicSymbol.o updateMatrices.o updateTBATSMatrices.o -fopenmp -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lFortran_main -lFortranRuntime -lFortranDecimal -lm
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/forecast/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/forecast/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/forecast/src'
installing to /data/gannet/ripley/R/packages/tests-clang/forecast.Rcheck/00LOCK-forecast/00new/forecast/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** 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 (forecast)