* installing *source* package 'sgd' ...
** package 'sgd' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpIDD42a/R.INSTALL5a3c30e516b5/sgd/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/bigmemory/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/bigmemory/include' -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c sgd.cpp -o sgd.o
In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:17,
                 from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/shared_ptr.hpp:17,
                 from D:/RCompile/CRANpkg/lib/4.5/bigmemory/include/bigmemory/BigMatrix.h:10,
                 from D:/RCompile/CRANpkg/lib/4.5/bigmemory/include/bigmemory/MatrixAccessor.hpp:4,
                 from basedef.h:7,
                 from sgd.cpp:1:
D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:326:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  326 |     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
      |                                 ^~~~~~~~
In file included from d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\memory:78,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:38,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:58,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:29,
                 from basedef.h:6:
d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\bits\unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:354:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  354 |     explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
      |                               ^~~~~~~~
d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\bits\unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:365:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  365 |     shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
      |                      ^~~~~~~~
d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\bits\unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:423:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  423 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                                  ^~~~~~~~
d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\bits\unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/smart_ptr/shared_ptr.hpp:430:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  430 |     shared_ptr & operator=( std::auto_ptr<Y> && r )
      |                                  ^~~~~~~~
d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\bits\unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/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.5/BH/include/boost/smart_ptr/shared_ptr.hpp:432:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  432 |         this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
      |                                      ^~~~~~~~
d:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\bits\unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/bind/mem_fn.hpp:23,
                 from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/mem_fn.hpp:22,
                 from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/function/function_template.hpp:16,
                 from D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/function.hpp:16,
                 from basedef.h:8:
D:/RCompile/CRANpkg/lib/4.5/BH/include/boost/get_pointer.hpp: At global scope:
D:/RCompile/CRANpkg/lib/4.5/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:\rtools44\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\13.3.0\include\c++\bits\unique_ptr.h:65:28: note: declared here
   65 |   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/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
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpIDD42a/R.INSTALL5a3c30e516b5/sgd/src'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpIDD42a/R.INSTALL5a3c30e516b5/sgd/src'
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpIDD42a/R.INSTALL5a3c30e516b5/sgd/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/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)