* installing *source* package ‘magi’ ...
** package ‘magi’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/magi/src'
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c MagiMain.cpp -o MagiMain.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c MagiSolver.cpp -o MagiSolver.o
In file included from MagiSolver.cpp:3:
tgtdistr.h:4: warning: "NDEBUG" redefined
    4 | #define NDEBUG
      | 
<command-line>: note: this is the location of the previous definition
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c RcppFullloglikelihood.cpp -o RcppFullloglikelihood.o
In file included from RcppFullloglikelihood.cpp:3:
tgtdistr.h:4: warning: "NDEBUG" redefined
    4 | #define NDEBUG
      | 
<command-line>: note: this is the location of the previous definition
MagiSolver.cpp: In member function 'void MagiSolver::setupPhiSigma()':
MagiSolver.cpp:168:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  168 |             for(unsigned j = 0; j < phiDim; j++){
      |                                 ~~^~~~~~~~
MagiSolver.cpp:206:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  206 |             for(unsigned j = 0; j < phiDim; j++){
      |                                 ~~^~~~~~~~
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c RcppTestingUtilities.cpp -o RcppTestingUtilities.o
In file included from RcppWrapper.h:9,
                 from RcppTestingUtilities.cpp:10:
tgtdistr.h:4: warning: "NDEBUG" redefined
    4 | #define NDEBUG
      | 
<command-line>: note: this is the location of the previous definition
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c RcppTranslation.cpp -o RcppTranslation.o
MagiSolver.cpp:206:35: warning: 'phiDim' may be used uninitialized [-Wmaybe-uninitialized]
  206 |             for(unsigned j = 0; j < phiDim; j++){
      |                                 ~~^~~~~~~~
MagiSolver.cpp:185:17: note: 'phiDim' was declared here
  185 |             int phiDim;
      |                 ^~~~~~
MagiSolver.cpp:168:37: warning: 'phiDim' may be used uninitialized [-Wmaybe-uninitialized]
  168 |             for(unsigned j = 0; j < phiDim; j++){
      |                                     ^~~~~~
MagiSolver.cpp:144:17: note: 'phiDim' was declared here
  144 |             int phiDim;
      |                 ^~~~~~
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c RcppWrapper.cpp -o RcppWrapper.o
In file included from RcppWrapper.h:9,
                 from RcppWrapper.cpp:2:
tgtdistr.h:4: warning: "NDEBUG" redefined
    4 | #define NDEBUG
      | 
<command-line>: note: this is the location of the previous definition
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c RcppXthetasigma.cpp -o RcppXthetasigma.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c Rcppgpsmoothing.cpp -o Rcppgpsmoothing.o
Rcppgpsmoothing.cpp:1: warning: "NDEBUG" redefined
    1 | #define NDEBUG
      | 
<command-line>: note: this is the location of the previous definition
In file included from RcppXthetasigma.cpp:3:
tgtdistr.h:4: warning: "NDEBUG" redefined
    4 | #define NDEBUG
      | 
<command-line>: note: this is the location of the previous definition
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c RcppsolveMagi.cpp -o RcppsolveMagi.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c Sampler.cpp -o Sampler.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c band.cpp -o band.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c classDefinition.cpp -o classDefinition.o
Sampler.cpp: In member function 'void Sampler::sampleChian(const arma::vec&, const arma::vec&, bool)':
Sampler.cpp:19:23: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
   19 |     for (int t = 1; t < niter; t++){
      |                     ~~^~~~~~~
Sampler.cpp:26:15: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
   26 |         if (t < burnin && t > 10){
      |             ~~^~~~~~~~
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c dynamicalSystemModels.cpp -o dynamicalSystemModels.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c fullloglikelihood.cpp -o fullloglikelihood.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c gpcov.cpp -o gpcov.o
In file included from fullloglikelihood.cpp:3:
tgtdistr.h:4: warning: "NDEBUG" redefined
    4 | #define NDEBUG
      | 
<command-line>: note: this is the location of the previous definition
In file included from gpcov.cpp:3:
tgtdistr.h:4: warning: "NDEBUG" redefined
    4 | #define NDEBUG
      | 
<command-line>: note: this is the location of the previous definition
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c hmc.cpp -o hmc.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c testingUtilities.cpp -o testingUtilities.o
In file included from testingUtilities.cpp:3:
tgtdistr.h:4: warning: "NDEBUG" redefined
    4 | #define NDEBUG
      | 
<command-line>: note: this is the location of the previous definition
gpcov.cpp: In function 'arma::mat mat2band(const arma::mat&, int)':
gpcov.cpp:9:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
    9 |     for (int j = 1; j <= matInput.n_cols; j++){
      |                     ~~^~~~~~~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c tgtdistr.cpp -o tgtdistr.o
tgtdistr.cpp:2: warning: "NDEBUG" redefined
    2 | #define NDEBUG
      | 
<command-line>: note: this is the location of the previous definition
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/roptim/include' -I/usr/local/include   -DNDEBUG -I'../inst/include' -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -c xthetasigma.cpp -o xthetasigma.o
In file included from xthetasigma.cpp:3:
tgtdistr.h:4: warning: "NDEBUG" redefined
    4 | #define NDEBUG
      | 
<command-line>: note: this is the location of the previous definition
g++-13 -std=gnu++17 -shared -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o magi.so MagiMain.o MagiSolver.o RcppExports.o RcppFullloglikelihood.o RcppTestingUtilities.o RcppTranslation.o RcppWrapper.o RcppXthetasigma.o Rcppgpsmoothing.o RcppsolveMagi.o Sampler.o band.o classDefinition.o dynamicalSystemModels.o fullloglikelihood.o gpcov.o hmc.o testingUtilities.o tgtdistr.o xthetasigma.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/magi/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/magi/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/magi/src'
installing to /data/gannet/ripley/R/packages/tests-devel/magi.Rcheck/00LOCK-magi/00new/magi/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (magi)