* installing *source* package 'sgd' ...
** package 'sgd' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 12.3.0'
make[1]: Entering directory '/d/temp/2024_11_18_01_50_01_1577/RtmpaEOdny/R.INSTALL2215c3cf32f54/sgd/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I'D:/RCompile/CRANpkg/lib/4.3/bigmemory/include' -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I'D:/RCompile/CRANpkg/lib/4.3/bigmemory/include' -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c sgd.cpp -o sgd.o
In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:18,
                 from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/shared_ptr.hpp:17,
                 from D:/RCompile/CRANpkg/lib/4.3/bigmemory/include/bigmemory/BigMatrix.h:10,
                 from D:/RCompile/CRANpkg/lib/4.3/bigmemory/include/bigmemory/MatrixAccessor.hpp:4,
                 from basedef.h:7,
                 from sgd.cpp:1:
D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  361 |     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
      |                                 ^~~~~~~~
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++\memory:75,
                 from D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo:38,
                 from D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:58,
                 from D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/RcppArmadillo.h:29,
                 from basedef.h:6:
d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here
   64 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
      |                                                                 ^~~~~~~~
d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here
   64 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  508 |     explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
      |                               ^~~~~~~~
d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here
   64 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  521 |     shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
      |                      ^~~~~~~~
d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here
   64 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  604 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                                  ^~~~~~~~
d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here
   64 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  613 |     shared_ptr & operator=( std::auto_ptr<Y> && r )
      |                                  ^~~~~~~~
d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here
   64 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)':
D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  615 |         this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
      |                                      ^~~~~~~~
d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here
   64 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/bind/mem_fn.hpp:25,
                 from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/mem_fn.hpp:22,
                 from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/function/detail/prologue.hpp:19,
                 from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/function.hpp:30,
                 from basedef.h:8:
D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/get_pointer.hpp: At global scope:
D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/get_pointer.hpp:48:40: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   48 | template<class T> T * get_pointer(std::auto_ptr<T> const& p)
      |                                        ^~~~~~~~
d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\unique_ptr.h:64:28: note: declared here
   64 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from sgd.cpp:3:
model/cox_model.h: In member function 'arma::mat cox_model::gradient(unsigned int, const arma::mat&, const data_set&) const':
model/cox_model.h:26:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   26 |     for (int i = j-1; i < j; --i) {
      |                       ~~^~~
model/cox_model.h:28:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   28 |       if (i == j-1) {
      |           ~~^~~~~~
model/cox_model.h:29:27: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
   29 |         for (int k = i; k < data.n_samples; ++k) {
      |                         ~~^~~~~~~~~~~~~~~~
In file included from sgd.cpp:12:
sgd/implicit_sgd.h: In member function 'arma::mat implicit_sgd::update(unsigned int, const arma::mat&, const data_set&, cox_model&, bool&)':
sgd/implicit_sgd.h:128:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  128 |     for (int i = j-1; i < j; --i) {
      |                       ~~^~~
sgd/implicit_sgd.h:130:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  130 |       if (i == j-1) {
      |           ~~^~~~~~
sgd/implicit_sgd.h:131:27: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
  131 |         for (int k = i; k < data.n_samples; ++k) {
      |                         ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -shared -s -static-libgcc -o sgd.dll tmp.def RcppExports.o sgd.o -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.3.3/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-4.3.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_11_18_01_50_01_1577/RtmpaEOdny/R.INSTALL2215c3cf32f54/sgd/src'
make[1]: Entering directory '/d/temp/2024_11_18_01_50_01_1577/RtmpaEOdny/R.INSTALL2215c3cf32f54/sgd/src'
make[1]: Leaving directory '/d/temp/2024_11_18_01_50_01_1577/RtmpaEOdny/R.INSTALL2215c3cf32f54/sgd/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-sgd/00new/sgd/libs/x64
** R
** data
*** moving datasets to lazyload DB
** demo
** 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
* MD5 sums
packaged installation of 'sgd' as sgd_1.1.2.zip
* DONE (sgd)