* installing *source* package 'maq' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I. -Isrc -DR_BUILD -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppBindings.cpp -o RcppBindings.o In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\vector:64, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:60, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from RcppBindings.cpp:1: In member function 'std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](size_type) const [with _Tp = double; _Alloc = std::allocator]', inlined from 'double maq::DataMean::get_cost(size_t, size_t) const [with DataType = maq::Data]' at src/DataMean.hpp:35:22, inlined from 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]' at src/compute_path.hpp:120:43: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_vector.h:1143:41: warning: 'previous_arm' may be used uninitialized [-Wmaybe-uninitialized] 1143 | return *(this->_M_impl._M_start + __n); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from src/Solver.hpp:14, from src/MAQ.h:10, from RcppBindings.cpp:3: src/compute_path.hpp: In function 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]': src/compute_path.hpp:116:10: note: 'previous_arm' was declared here 116 | size_t previous_arm; | ^~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](size_type) const [with _Tp = double; _Alloc = std::allocator]', inlined from 'double maq::DataMean::get_cost(size_t, size_t) const [with DataType = maq::Data]' at src/DataMean.hpp:35:22, inlined from 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]' at src/compute_path.hpp:120:43: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_vector.h:1143:41: warning: 'previous_arm' may be used uninitialized [-Wmaybe-uninitialized] 1143 | return *(this->_M_impl._M_start + __n); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/compute_path.hpp: In function 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]': src/compute_path.hpp:116:10: note: 'previous_arm' was declared here 116 | size_t previous_arm; | ^~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](size_type) const [with _Tp = double; _Alloc = std::allocator]', inlined from 'double maq::DataMean::get_cost(size_t, size_t) const [with DataType = maq::Data]' at src/DataMean.hpp:35:22, inlined from 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]' at src/compute_path.hpp:120:43: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_vector.h:1143:41: warning: 'previous_arm' may be used uninitialized [-Wmaybe-uninitialized] 1143 | return *(this->_M_impl._M_start + __n); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/compute_path.hpp: In function 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]': src/compute_path.hpp:116:10: note: 'previous_arm' was declared here 116 | size_t previous_arm; | ^~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](size_type) const [with _Tp = double; _Alloc = std::allocator]', inlined from 'double maq::DataMean::get_cost(size_t, size_t) const [with DataType = maq::Data]' at src/DataMean.hpp:35:22, inlined from 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]' at src/compute_path.hpp:120:43: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_vector.h:1143:41: warning: 'previous_arm' may be used uninitialized [-Wmaybe-uninitialized] 1143 | return *(this->_M_impl._M_start + __n); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/compute_path.hpp: In function 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]': src/compute_path.hpp:116:10: note: 'previous_arm' was declared here 116 | size_t previous_arm; | ^~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](size_type) const [with _Tp = double; _Alloc = std::allocator]', inlined from 'double maq::DataMean::get_cost(size_t, size_t) const [with DataType = maq::Data]' at src/DataMean.hpp:35:22, inlined from 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]' at src/compute_path.hpp:120:43: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_vector.h:1143:41: warning: 'previous_arm' may be used uninitialized [-Wmaybe-uninitialized] 1143 | return *(this->_M_impl._M_start + __n); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/compute_path.hpp: In function 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]': src/compute_path.hpp:116:10: note: 'previous_arm' was declared here 116 | size_t previous_arm; | ^~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](size_type) const [with _Tp = double; _Alloc = std::allocator]', inlined from 'double maq::DataMean::get_cost(size_t, size_t) const [with DataType = maq::Data]' at src/DataMean.hpp:35:22, inlined from 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]' at src/compute_path.hpp:120:43: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_vector.h:1143:41: warning: 'previous_arm' may be used uninitialized [-Wmaybe-uninitialized] 1143 | return *(this->_M_impl._M_start + __n); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/compute_path.hpp: In function 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]': src/compute_path.hpp:116:10: note: 'previous_arm' was declared here 116 | size_t previous_arm; | ^~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](size_type) const [with _Tp = double; _Alloc = std::allocator]', inlined from 'double maq::DataMean::get_cost(size_t, size_t) const [with DataType = maq::Data]' at src/DataMean.hpp:35:22, inlined from 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]' at src/compute_path.hpp:120:43: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_vector.h:1143:41: warning: 'previous_arm' may be used uninitialized [-Wmaybe-uninitialized] 1143 | return *(this->_M_impl._M_start + __n); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/compute_path.hpp: In function 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]': src/compute_path.hpp:116:10: note: 'previous_arm' was declared here 116 | size_t previous_arm; | ^~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](size_type) const [with _Tp = double; _Alloc = std::allocator]', inlined from 'double maq::DataMean::get_cost(size_t, size_t) const [with DataType = maq::Data]' at src/DataMean.hpp:35:22, inlined from 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]' at src/compute_path.hpp:120:43: d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.2.0\include\c++\bits\stl_vector.h:1143:41: warning: 'previous_arm' may be used uninitialized [-Wmaybe-uninitialized] 1143 | return *(this->_M_impl._M_start + __n); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/compute_path.hpp: In function 'maq::solution_path maq::compute_path(const std::vector&, const std::vector&, const DataType&, double, bool) [with DataType = DataMean >]': src/compute_path.hpp:116:10: note: 'previous_arm' was declared here 116 | size_t previous_arm; | ^~~~~~~~~~~~ In member function 'void maq::Solver::compute_std_err(maq::solution_path&, const std::vector >&) [with DataType = maq::Data]', inlined from 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]' at src/Solver.hpp:68:22: src/Solver.hpp:210:28: warning: 'S' may be used uninitialized [-Wmaybe-uninitialized] 210 | std_err[i] = sqrt(S / (n - 1)); | ~~~~^~~~~~~~~~~~~ src/Solver.hpp: In member function 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]': src/Solver.hpp:187:16: note: 'S' was declared here 187 | double S; | ^ In member function 'void maq::Solver::compute_std_err(maq::solution_path&, const std::vector >&) [with DataType = maq::Data]', inlined from 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]' at src/Solver.hpp:68:22: src/Solver.hpp:210:28: warning: 'S' may be used uninitialized [-Wmaybe-uninitialized] 210 | std_err[i] = sqrt(S / (n - 1)); | ~~~~^~~~~~~~~~~~~ src/Solver.hpp: In member function 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]': src/Solver.hpp:187:16: note: 'S' was declared here 187 | double S; | ^ In member function 'void maq::Solver::compute_std_err(maq::solution_path&, const std::vector >&) [with DataType = maq::Data]', inlined from 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]' at src/Solver.hpp:68:22: src/Solver.hpp:210:28: warning: 'S' may be used uninitialized [-Wmaybe-uninitialized] 210 | std_err[i] = sqrt(S / (n - 1)); | ~~~~^~~~~~~~~~~~~ src/Solver.hpp: In member function 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]': src/Solver.hpp:187:16: note: 'S' was declared here 187 | double S; | ^ In member function 'void maq::Solver::compute_std_err(maq::solution_path&, const std::vector >&) [with DataType = maq::Data]', inlined from 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]' at src/Solver.hpp:68:22: src/Solver.hpp:210:28: warning: 'S' may be used uninitialized [-Wmaybe-uninitialized] 210 | std_err[i] = sqrt(S / (n - 1)); | ~~~~^~~~~~~~~~~~~ src/Solver.hpp: In member function 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]': src/Solver.hpp:187:16: note: 'S' was declared here 187 | double S; | ^ In member function 'void maq::Solver::compute_std_err(maq::solution_path&, const std::vector >&) [with DataType = maq::Data]', inlined from 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]' at src/Solver.hpp:68:22: src/Solver.hpp:210:28: warning: 'S' may be used uninitialized [-Wmaybe-uninitialized] 210 | std_err[i] = sqrt(S / (n - 1)); | ~~~~^~~~~~~~~~~~~ src/Solver.hpp: In member function 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]': src/Solver.hpp:187:16: note: 'S' was declared here 187 | double S; | ^ In member function 'void maq::Solver::compute_std_err(maq::solution_path&, const std::vector >&) [with DataType = maq::Data]', inlined from 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]' at src/Solver.hpp:68:22: src/Solver.hpp:210:28: warning: 'S' may be used uninitialized [-Wmaybe-uninitialized] 210 | std_err[i] = sqrt(S / (n - 1)); | ~~~~^~~~~~~~~~~~~ src/Solver.hpp: In member function 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]': src/Solver.hpp:187:16: note: 'S' was declared here 187 | double S; | ^ In member function 'void maq::Solver::compute_std_err(maq::solution_path&, const std::vector >&) [with DataType = maq::Data]', inlined from 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]' at src/Solver.hpp:68:22: src/Solver.hpp:210:28: warning: 'S' may be used uninitialized [-Wmaybe-uninitialized] 210 | std_err[i] = sqrt(S / (n - 1)); | ~~~~^~~~~~~~~~~~~ src/Solver.hpp: In member function 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]': src/Solver.hpp:187:16: note: 'S' was declared here 187 | double S; | ^ In member function 'void maq::Solver::compute_std_err(maq::solution_path&, const std::vector >&) [with DataType = maq::Data]', inlined from 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]' at src/Solver.hpp:68:22: src/Solver.hpp:210:28: warning: 'S' may be used uninitialized [-Wmaybe-uninitialized] 210 | std_err[i] = sqrt(S / (n - 1)); | ~~~~^~~~~~~~~~~~~ src/Solver.hpp: In member function 'std::pair >, std::vector > >, std::vector > > maq::Solver::fit() [with DataType = maq::Data]': src/Solver.hpp:187:16: note: 'S' was declared here 187 | double S; | ^ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I. -Isrc -DR_BUILD -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -shared -s -static-libgcc -o maq.dll tmp.def RcppBindings.o RcppExports.o -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-maq/00new/maq/libs/x64 ** R ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** 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 (maq)