* 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/CRANpkg/lib/4.4/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/CRANpkg/lib/4.4/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/CRANpkg/lib/4.4/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/CRANpkg/lib/4.4/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 CDL012Swaps.cpp: In instantiation of 'FitResult CDL012Swaps::_Fit() [with T = arma::Mat]': CDL012Swaps.cpp:97:16: required from here CDL012Swaps.cpp:17:12: warning: variable 'objective' set but not used [-Wunused-but-set-variable] 17 | double objective = result.Objective; | ^~~~~~~~~ CDL012Swaps.cpp: In instantiation of 'FitResult CDL012Swaps::_Fit() [with T = arma::SpMat]': CDL012Swaps.cpp:98:16: required from here CDL012Swaps.cpp:17:12: warning: variable 'objective' set but not used [-Wunused-but-set-variable] g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" "-Iinclude" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c DT2Matrix.cpp -o DT2Matrix.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/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/CRANpkg/lib/4.4/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 Grid1D.cpp: In instantiation of 'std::vector > > Grid1D::Fit() [with T = arma::Mat]': Grid1D.cpp:234:16: required from here Grid1D.cpp:194:26: warning: variable 'samesupp' set but not used [-Wunused-but-set-variable] 194 | bool samesupp = false; | ^~~~~~~~ Grid1D.cpp: In instantiation of 'std::vector > > Grid1D::Fit() [with T = arma::SpMat]': Grid1D.cpp:235:16: required from here Grid1D.cpp:194:26: warning: variable 'samesupp' set but not used [-Wunused-but-set-variable] g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/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/CRANpkg/lib/4.4/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25, from D:/RCompile/CRANpkg/lib/4.4/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/CRANpkg/lib/4.4/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 In file included from include/GridParams.h:4, from include/Grid.h:7, from include/Interface.h:7, from Interface.cpp:1: In member function 'Params >& Params >::operator=(const Params >&)', inlined from 'GridParams makeGridParams(std::string, std::string, std::string, std::size_t, std::size_t, std::size_t, double, double, bool, std::size_t, double, double, bool, std::size_t, std::size_t, double, std::size_t, bool, std::vector >, std::size_t, bool, bool, const arma::vec&, const arma::vec&) [with T = arma::SpMat]' at Interface.cpp:34:8: include/Params.h:9:8: warning: 'P' may be used uninitialized [-Wmaybe-uninitialized] 9 | struct Params { | ^~~~~~ Interface.cpp: In function 'GridParams makeGridParams(std::string, std::string, std::string, std::size_t, std::size_t, std::size_t, double, double, bool, std::size_t, double, double, bool, std::size_t, std::size_t, double, std::size_t, bool, std::vector >, std::size_t, bool, bool, const arma::vec&, const arma::vec&) [with T = arma::SpMat]': Interface.cpp:33:13: note: 'P' declared here 33 | Params P; | ^ In member function 'Params >& Params >::operator=(const Params >&)', inlined from 'GridParams makeGridParams(std::string, std::string, std::string, std::size_t, std::size_t, std::size_t, double, double, bool, std::size_t, double, double, bool, std::size_t, std::size_t, double, std::size_t, bool, std::vector >, std::size_t, bool, bool, const arma::vec&, const arma::vec&) [with T = arma::SpMat]' at Interface.cpp:34:8: include/Params.h:9:8: warning: 'P' may be used uninitialized [-Wmaybe-uninitialized] 9 | struct Params { | ^~~~~~ Interface.cpp: In function 'GridParams makeGridParams(std::string, std::string, std::string, std::size_t, std::size_t, std::size_t, double, double, bool, std::size_t, double, double, bool, std::size_t, std::size_t, double, std::size_t, bool, std::vector >, std::size_t, bool, bool, const arma::vec&, const arma::vec&) [with T = arma::SpMat]': Interface.cpp:33:13: note: 'P' declared here 33 | Params P; | ^ In member function 'Params >& Params >::operator=(const Params >&)', inlined from 'GridParams makeGridParams(std::string, std::string, std::string, std::size_t, std::size_t, std::size_t, double, double, bool, std::size_t, double, double, bool, std::size_t, std::size_t, double, std::size_t, bool, std::vector >, std::size_t, bool, bool, const arma::vec&, const arma::vec&) [with T = arma::Mat]' at Interface.cpp:34:8: include/Params.h:9:8: warning: 'P' may be used uninitialized [-Wmaybe-uninitialized] 9 | struct Params { | ^~~~~~ Interface.cpp: In function 'GridParams makeGridParams(std::string, std::string, std::string, std::size_t, std::size_t, std::size_t, double, double, bool, std::size_t, double, double, bool, std::size_t, std::size_t, double, std::size_t, bool, std::vector >, std::size_t, bool, bool, const arma::vec&, const arma::vec&) [with T = arma::Mat]': Interface.cpp:33:13: note: 'P' declared here 33 | Params P; | ^ In member function 'Params >& Params >::operator=(const Params >&)', inlined from 'GridParams makeGridParams(std::string, std::string, std::string, std::size_t, std::size_t, std::size_t, double, double, bool, std::size_t, double, double, bool, std::size_t, std::size_t, double, std::size_t, bool, std::vector >, std::size_t, bool, bool, const arma::vec&, const arma::vec&) [with T = arma::Mat]' at Interface.cpp:34:8: include/Params.h:9:8: warning: 'P' may be used uninitialized [-Wmaybe-uninitialized] 9 | struct Params { | ^~~~~~ Interface.cpp: In function 'GridParams makeGridParams(std::string, std::string, std::string, std::size_t, std::size_t, std::size_t, double, double, bool, std::size_t, double, double, bool, std::size_t, std::size_t, double, std::size_t, bool, std::vector >, std::size_t, bool, bool, const arma::vec&, const arma::vec&) [with T = arma::Mat]': Interface.cpp:33:13: note: 'P' declared here 33 | Params P; | ^ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/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/CRANpkg/lib/4.4/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/CRANpkg/lib/4.4/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/CRANpkg/lib/4.4/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 DT2Matrix.o Grid.o Grid1D.o Grid2D.o Interface.o Normalize.o RcppExports.o Test_Interface.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)