* installing *source* package 'inferCSN' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.3.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BetaVector.cpp -o BetaVector.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CDL012LogisticSwaps.cpp -o CDL012LogisticSwaps.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CDL012SquaredHingeSwaps.cpp -o CDL012SquaredHingeSwaps.o CDL012SquaredHingeSwaps.cpp: In member function 'FitResult CDL012SquaredHingeSwaps::_Fit() [with T = arma::Mat]': CDL012SquaredHingeSwaps.cpp:108:35: warning: 'Bmaxindex' may be used uninitialized [-Wmaybe-uninitialized] 108 | this->B[maxindex] = Bmaxindex; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CDL012SquaredHingeSwaps.cpp:32:12: note: 'Bmaxindex' was declared here 32 | double Bmaxindex; | ^~~~~~~~~ CDL012SquaredHingeSwaps.cpp: In member function 'FitResult CDL012SquaredHingeSwaps::_Fit() [with T = arma::SpMat]': CDL012SquaredHingeSwaps.cpp:108:35: warning: 'Bmaxindex' may be used uninitialized [-Wmaybe-uninitialized] 108 | this->B[maxindex] = Bmaxindex; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CDL012SquaredHingeSwaps.cpp:32:12: note: 'Bmaxindex' was declared here 32 | double Bmaxindex; | ^~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CDL012Swaps.cpp -o CDL012Swaps.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Grid.cpp -o Grid.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Grid1D.cpp -o Grid1D.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Grid2D.cpp -o Grid2D.o In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\vector:64, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:60, from D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25, from D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include/RcppArmadillo.h:29, from include/Grid2D.h:4, from Grid2D.cpp:1: In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = double; _Alloc = std::allocator]', inlined from 'std::vector > > > Grid2D::Fit() [with T = arma::Mat]' at Grid2D.cpp:110:25: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\stl_vector.h:1124:41: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return *(this->_M_impl._M_start + __n); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ Grid2D.cpp: In member function 'std::vector > > > Grid2D::Fit() [with T = arma::Mat]': Grid2D.cpp:82:17: note: 'index' was declared here 82 | std::size_t index; | ^~~~~ In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = double; _Alloc = std::allocator]', inlined from 'std::vector > > > Grid2D::Fit() [with T = arma::SpMat]' at Grid2D.cpp:110:25: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\stl_vector.h:1124:41: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return *(this->_M_impl._M_start + __n); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ Grid2D.cpp: In member function 'std::vector > > > Grid2D::Fit() [with T = arma::SpMat]': Grid2D.cpp:82:17: note: 'index' was declared here 82 | std::size_t index; | ^~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Interface.cpp -o Interface.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Normalize.cpp -o Normalize.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c README.cpp -o README.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -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.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Test_Interface.cpp -o Test_Interface.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c table_to_matrix.cpp -o table_to_matrix.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c utils.cpp -o utils.o g++ -std=gnu++17 -shared -s -static-libgcc -o inferCSN.dll tmp.def BetaVector.o CDL012LogisticSwaps.o CDL012SquaredHingeSwaps.o CDL012Swaps.o Grid.o Grid1D.o Grid2D.o Interface.o Normalize.o README.o RcppExports.o Test_Interface.o table_to_matrix.o utils.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-inferCSN/00new/inferCSN/libs/x64 ** R ** data *** moving datasets to lazyload DB ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** building package indices ** 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 (inferCSN)