* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘sgd’ ...
** this is package ‘sgd’ version ‘1.1.3’
** package ‘sgd’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpHfl5Rs/R.INSTALL2dfb7e71c4efc4/sgd/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/bigmemory/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/bigmemory/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c sgd.cpp -o sgd.o
In file included from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:17,
from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BH/include/boost/shared_ptr.hpp:17,
from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/bigmemory/include/bigmemory/BigMatrix.h:10,
from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/bigmemory/include/bigmemory/MatrixAccessor.hpp:4,
from basedef.h:7,
from sgd.cpp:1:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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 /usr/include/c++/14/memory:78,
from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:38,
from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from basedef.h:6:
/usr/include/c++/14/bits/unique_ptr.h:58:28: note: declared here
58 | template<typename> class auto_ptr;
| ^~~~~~~~
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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()
| ^~~~~~~~
/usr/include/c++/14/bits/unique_ptr.h:58:28: note: declared here
58 | template<typename> class auto_ptr;
| ^~~~~~~~
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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()
| ^~~~~~~~
/usr/include/c++/14/bits/unique_ptr.h:58:28: note: declared here
58 | template<typename> class auto_ptr;
| ^~~~~~~~
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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 )
| ^~~~~~~~
/usr/include/c++/14/bits/unique_ptr.h:58:28: note: declared here
58 | template<typename> class auto_ptr;
| ^~~~~~~~
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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 )
| ^~~~~~~~
/usr/include/c++/14/bits/unique_ptr.h:58:28: note: declared here
58 | template<typename> class auto_ptr;
| ^~~~~~~~
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)’:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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 );
| ^~~~~~~~
/usr/include/c++/14/bits/unique_ptr.h:58:28: note: declared here
58 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BH/include/boost/bind/mem_fn.hpp:23,
from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BH/include/boost/mem_fn.hpp:22,
from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BH/include/boost/function/function_template.hpp:16,
from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BH/include/boost/function.hpp:16,
from basedef.h:8:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BH/include/boost/get_pointer.hpp: At global scope:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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)
| ^~~~~~~~
/usr/include/c++/14/bits/unique_ptr.h:58:28: note: declared here
58 | 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++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o sgd.so RcppExports.o sgd.o -llapack -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpHfl5Rs/R.INSTALL2dfb7e71c4efc4/sgd/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpHfl5Rs/R.INSTALL2dfb7e71c4efc4/sgd/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpHfl5Rs/R.INSTALL2dfb7e71c4efc4/sgd/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-sgd/00new/sgd/libs
** 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
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (sgd)