* installing *source* package 'magi' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MagiMain.cpp -o MagiMain.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MagiSolver.cpp -o MagiSolver.o In file included from MagiSolver.cpp:3: tgtdistr.h:4: warning: "NDEBUG" redefined 4 | #define NDEBUG | : 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++){ | ~~^~~~~~~~ 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppFullloglikelihood.cpp -o RcppFullloglikelihood.o In file included from RcppFullloglikelihood.cpp:3: tgtdistr.h:4: warning: "NDEBUG" redefined 4 | #define NDEBUG | : note: this is the location of the previous definition g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 | : note: this is the location of the previous definition g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppTranslation.cpp -o RcppTranslation.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 | : note: this is the location of the previous definition g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppXthetasigma.cpp -o RcppXthetasigma.o In file included from RcppXthetasigma.cpp:3: tgtdistr.h:4: warning: "NDEBUG" redefined 4 | #define NDEBUG | : note: this is the location of the previous definition g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Rcppgpsmoothing.cpp -o Rcppgpsmoothing.o Rcppgpsmoothing.cpp:1: warning: "NDEBUG" redefined 1 | #define NDEBUG | : note: this is the location of the previous definition g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppsolveMagi.cpp -o RcppsolveMagi.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Sampler.cpp -o Sampler.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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c band.cpp -o band.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c classDefinition.cpp -o classDefinition.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dynamicalSystemModels.cpp -o dynamicalSystemModels.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c fullloglikelihood.cpp -o fullloglikelihood.o In file included from fullloglikelihood.cpp:3: tgtdistr.h:4: warning: "NDEBUG" redefined 4 | #define NDEBUG | : note: this is the location of the previous definition g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gpcov.cpp -o gpcov.o In file included from gpcov.cpp:3: tgtdistr.h:4: warning: "NDEBUG" redefined 4 | #define NDEBUG | : 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c hmc.cpp -o hmc.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c testingUtilities.cpp -o testingUtilities.o In file included from testingUtilities.cpp:3: tgtdistr.h:4: warning: "NDEBUG" redefined 4 | #define NDEBUG | : note: this is the location of the previous definition g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tgtdistr.cpp -o tgtdistr.o tgtdistr.cpp:2: warning: "NDEBUG" redefined 2 | #define NDEBUG | : note: this is the location of the previous definition g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/roptim/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DNDEBUG -I'../inst/include' -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c xthetasigma.cpp -o xthetasigma.o In file included from xthetasigma.cpp:3: tgtdistr.h:4: warning: "NDEBUG" redefined 4 | #define NDEBUG | : note: this is the location of the previous definition g++ -std=gnu++17 -shared -s -static-libgcc -o magi.dll tmp.def 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 -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-magi/00new/magi/libs/x64 ** 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 ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (magi)