* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’ * installing *source* package ‘lolog’ ... ** package ‘lolog’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp3YVu7J/R.INSTALL8e9fe1b5eaf34/lolog/src' g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:17, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from ../inst/include/lolog.h:6, from RcppExports.cpp:4: /home/hornik/tmp/R.check/r-patched-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 ../inst/include/Vertex.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::refreshIds()’: ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Directed::Directed(const lolog::Directed&, bool)’: ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::emptyGraph()’: ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Directed::randomEdge() const’: ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const’: ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const’: ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const’: ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeContinVariable(int)’: ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const’: ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Directed::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const’: ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::refreshIds()’: ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Undirected::Undirected(const lolog::Undirected&, bool)’: ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::emptyGraph()’: ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Undirected::randomEdge() const’: ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const’: ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const’: ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const’: ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeContinVariable(int)’: ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const’: ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Undirected::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const’: ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)’: ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of ‘int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]’: ../inst/include/BinaryNet.h:1620:28: required from here 1620 | int index = indexOf(name,discreteVarNames()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppModule.cpp -o RcppModule.o In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:17, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from RcppModule.cpp:4: /home/hornik/tmp/R.check/r-patched-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 ../inst/include/Vertex.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::refreshIds()’: ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Directed::Directed(const lolog::Directed&, bool)’: ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::emptyGraph()’: ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Directed::randomEdge() const’: ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const’: ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const’: ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const’: ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeContinVariable(int)’: ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const’: ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Directed::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const’: ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::refreshIds()’: ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Undirected::Undirected(const lolog::Undirected&, bool)’: ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::emptyGraph()’: ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Undirected::randomEdge() const’: ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const’: ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const’: ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const’: ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeContinVariable(int)’: ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const’: ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Undirected::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const’: ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)’: ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of ‘int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]’: ../inst/include/BinaryNet.h:1620:28: required from here 1620 | int index = indexOf(name,discreteVarNames()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ In file included from ../inst/include/LatentOrderLikelihood.h:4, from RcppModule.cpp:6: ../inst/include/Model.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Model<Engine>::names() [with Engine = lolog::Undirected]’: RcppModule.cpp:85:41: required from here 85 | .method("names",&Model<Undirected>::names) | ^~~~~ ../inst/include/Model.h:280:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 280 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:285:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 285 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:287:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 287 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<double> lolog::Model<Engine>::offset() [with Engine = lolog::Undirected]’: RcppModule.cpp:86:42: required from here 86 | .method("offset",&Model<Undirected>::offset) | ^~~~~~ ../inst/include/Model.h:300:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 300 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:305:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 305 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:307:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 307 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::setThetas(std::vector<double>) [with Engine = lolog::Undirected]’: RcppModule.cpp:88:45: required from here 88 | .method("setThetas",&Model<Undirected>::setThetas) | ^~~~~~~~~ ../inst/include/Model.h:202:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 202 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:205:28: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 205 | if(newThetas.size()!= n){ | ~~~~~~~~~~~~~~~~^~~~ ../inst/include/Model.h:210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 210 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:212:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 212 | for(int j=0;j<vals->size();j++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::setVertexOrderVector(std::vector<int>) [with Engine = lolog::Undirected]’: RcppModule.cpp:89:50: required from here 89 | .method("setVertexOrder",&Model<Undirected>::setVertexOrderVector) | ^~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:492:55: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 492 | if(vertexOrder.size() != 0 && net->size() != vertexOrder.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<bool> lolog::Model<Engine>::isIndependent(bool, bool) [with Engine = lolog::Undirected]’: RcppModule.cpp:91:49: required from here 91 | .method("isIndependent",&Model<Undirected>::isIndependent) | ^~~~~~~~~~~~~ ../inst/include/Model.h:515:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 515 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:520:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 520 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:527:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 527 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:535:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 535 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:540:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 540 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Model<Engine>::names() [with Engine = lolog::Directed]’: RcppModule.cpp:102:39: required from here 102 | .method("names",&Model<Directed>::names) | ^~~~~ ../inst/include/Model.h:280:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 280 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:285:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 285 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:287:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 287 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<double> lolog::Model<Engine>::offset() [with Engine = lolog::Directed]’: RcppModule.cpp:103:40: required from here 103 | .method("offset",&Model<Directed>::offset) | ^~~~~~ ../inst/include/Model.h:300:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 300 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:305:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 305 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:307:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 307 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::setThetas(std::vector<double>) [with Engine = lolog::Directed]’: RcppModule.cpp:105:43: required from here 105 | .method("setThetas",&Model<Directed>::setThetas) | ^~~~~~~~~ ../inst/include/Model.h:202:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 202 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:205:28: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 205 | if(newThetas.size()!= n){ | ~~~~~~~~~~~~~~~~^~~~ ../inst/include/Model.h:210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 210 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:212:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 212 | for(int j=0;j<vals->size();j++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::setVertexOrderVector(std::vector<int>) [with Engine = lolog::Directed]’: RcppModule.cpp:106:48: required from here 106 | .method("setVertexOrder",&Model<Directed>::setVertexOrderVector) | ^~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:492:55: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 492 | if(vertexOrder.size() != 0 && net->size() != vertexOrder.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<bool> lolog::Model<Engine>::isIndependent(bool, bool) [with Engine = lolog::Directed]’: RcppModule.cpp:108:47: required from here 108 | .method("isIndependent",&Model<Directed>::isIndependent) | ^~~~~~~~~~~~~ ../inst/include/Model.h:515:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 515 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:520:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 520 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:527:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 527 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:535:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 535 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:540:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 540 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Undirected]’: ../inst/include/Model.h:397:9: required from ‘void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]’ 397 | calculateStatistics(); | ^~~~~~~~~~~~~~~~~~~ RcppModule.cpp:83:45: required from here 83 | .method("calculate",&Model<Undirected>::calculate) | ^~~~~~~~~ ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Undirected]’: ../inst/include/Model.h:398:9: required from ‘void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]’ 398 | calculateOffsets(); | ^~~~~~~~~~~~~~~~ RcppModule.cpp:83:45: required from here 83 | .method("calculate",&Model<Undirected>::calculate) | ^~~~~~~~~ ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 414 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<double> lolog::Model<Engine>::statistics() [with Engine = lolog::Undirected]’: ../inst/include/Model.h:258:44: required from ‘Rcpp::NumericVector lolog::Model<Engine>::statisticsR() [with Engine = lolog::Undirected; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 258 | NumericVector res = wrap(statistics()); | ~~~~~~~~~~^~ RcppModule.cpp:84:46: required from here 84 | .method("statistics",&Model<Undirected>::statisticsR) | ^~~~~~~~~~~ ../inst/include/Model.h:226:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 226 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:231:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 231 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:233:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 233 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<double> lolog::Model<Engine>::thetas() [with Engine = lolog::Undirected]’: ../inst/include/Model.h:270:34: required from ‘Rcpp::NumericVector lolog::Model<Engine>::thetasR() [with Engine = lolog::Undirected; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 270 | NumericVector res = wrap(thetas()); | ^~~~~~ RcppModule.cpp:87:42: required from here 87 | .method("thetas",&Model<Undirected>::thetasR) | ^~~~~~~ ../inst/include/Model.h:181:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 181 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:186:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 186 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:188:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 188 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Directed]’: ../inst/include/Model.h:397:9: required from ‘void lolog::Model<Engine>::calculate() [with Engine = lolog::Directed]’ 397 | calculateStatistics(); | ^~~~~~~~~~~~~~~~~~~ RcppModule.cpp:100:43: required from here 100 | .method("calculate",&Model<Directed>::calculate) | ^~~~~~~~~ ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Directed]’: ../inst/include/Model.h:398:9: required from ‘void lolog::Model<Engine>::calculate() [with Engine = lolog::Directed]’ 398 | calculateOffsets(); | ^~~~~~~~~~~~~~~~ RcppModule.cpp:100:43: required from here 100 | .method("calculate",&Model<Directed>::calculate) | ^~~~~~~~~ ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 414 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<double> lolog::Model<Engine>::statistics() [with Engine = lolog::Directed]’: ../inst/include/Model.h:258:44: required from ‘Rcpp::NumericVector lolog::Model<Engine>::statisticsR() [with Engine = lolog::Directed; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 258 | NumericVector res = wrap(statistics()); | ~~~~~~~~~~^~ RcppModule.cpp:101:44: required from here 101 | .method("statistics",&Model<Directed>::statisticsR) | ^~~~~~~~~~~ ../inst/include/Model.h:226:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 226 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:231:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 231 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:233:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 233 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<double> lolog::Model<Engine>::thetas() [with Engine = lolog::Directed]’: ../inst/include/Model.h:270:34: required from ‘Rcpp::NumericVector lolog::Model<Engine>::thetasR() [with Engine = lolog::Directed; Rcpp::NumericVector = Rcpp::Vector<14, Rcpp::PreserveStorage>]’ 270 | NumericVector res = wrap(thetas()); | ^~~~~~ RcppModule.cpp:104:40: required from here 104 | .method("thetas",&Model<Directed>::thetasR) | ^~~~~~~ ../inst/include/Model.h:181:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 181 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:186:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 186 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:188:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 188 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘void lolog::LatentOrderLikelihood<Engine>::generateOrder(std::vector<int>&, VectorPtr) [with Engine = lolog::Undirected; VectorPtr = boost::shared_ptr<std::vector<int> >]’: ../inst/include/LatentOrderLikelihood.h:157:23: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’ 157 | this->generateOrder(vertices, model->getVertexOrder()); | ~~~~~~^~~~~~~~~~~~~ RcppModule.cpp:118:78: required from here 118 | .method("variationalModelFrameMulti",&LatentOrderLikelihood<Undirected>::variationalModelFrameMulti) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:72:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 72 | for(int i=0;i<y.size();i++) | ~^~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’: ../inst/include/LatentOrderLikelihood.h:164:56: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’ 164 | result.push_back(this->modelFrameGivenOrder(downsampleRate, edgeDownsampleRate, vertices)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RcppModule.cpp:118:78: required from here 118 | .method("variationalModelFrameMulti",&LatentOrderLikelihood<Undirected>::variationalModelFrameMulti) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 210 | for(int i=0;i<predictors.size();i++){ | ~^~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:242:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 242 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:266:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 266 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’: ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ RcppModule.cpp:120:67: required from here 120 | .method("generateNetwork",&LatentOrderLikelihood<Undirected>::generateNetwork) | ^~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:350:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 350 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:372:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 372 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:384:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 384 | for(int i=0;i<vert_order.size();i++) | ~^~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘void lolog::LatentOrderLikelihood<Engine>::generateOrder(std::vector<int>&, VectorPtr) [with Engine = lolog::Directed; VectorPtr = boost::shared_ptr<std::vector<int> >]’: ../inst/include/LatentOrderLikelihood.h:157:23: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]’ 157 | this->generateOrder(vertices, model->getVertexOrder()); | ~~~~~~^~~~~~~~~~~~~ RcppModule.cpp:130:76: required from here 130 | .method("variationalModelFrameMulti",&LatentOrderLikelihood<Directed>::variationalModelFrameMulti) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:72:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 72 | for(int i=0;i<y.size();i++) | ~^~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]’: ../inst/include/LatentOrderLikelihood.h:164:56: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]’ 164 | result.push_back(this->modelFrameGivenOrder(downsampleRate, edgeDownsampleRate, vertices)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RcppModule.cpp:130:76: required from here 130 | .method("variationalModelFrameMulti",&LatentOrderLikelihood<Directed>::variationalModelFrameMulti) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 210 | for(int i=0;i<predictors.size();i++){ | ~^~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:242:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 242 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:266:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 266 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’: ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ RcppModule.cpp:132:65: required from here 132 | .method("generateNetwork",&LatentOrderLikelihood<Directed>::generateNetwork) | ^~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:350:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 350 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:372:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 372 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:384:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 384 | for(int i=0;i<vert_order.size();i++) | ~^~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Undirected]’: ../inst/include/Model.h:114:51: required from ‘boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Undirected]’ 114 | return boost::shared_ptr< Model<Engine> >(new Model<Engine>(*this, true)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:121:26: required from ‘void lolog::LatentOrderLikelihood<Engine>::setModel(const lolog::Model<Engine>&) [with Engine = lolog::Undirected]’ 121 | model = mod.clone(); | ~~~~~~~~~^~ RcppModule.cpp:113:60: required from here 113 | .method("setModel",&LatentOrderLikelihood<Undirected>::setModel) | ^~~~~~~~ ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::statistics(std::vector<double>&) [with Engine = lolog::Undirected]’: ../inst/include/LatentOrderLikelihood.h:232:45: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’ 232 | runningModel->statistics(terms); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../inst/include/LatentOrderLikelihood.h:164:56: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’ 164 | result.push_back(this->modelFrameGivenOrder(downsampleRate, edgeDownsampleRate, vertices)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RcppModule.cpp:118:78: required from here 118 | .method("variationalModelFrameMulti",&LatentOrderLikelihood<Undirected>::variationalModelFrameMulti) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:245:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 245 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:247:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 247 | for(int j=0;j<stats[i]->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::dyadUpdate(int&, int&, std::vector<int>&, int&) [with Engine = lolog::Undirected]’: ../inst/include/LatentOrderLikelihood.h:233:45: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’ 233 | runningModel->dyadUpdate(vertex, alter, vert_order, i); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:164:56: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’ 164 | result.push_back(this->modelFrameGivenOrder(downsampleRate, edgeDownsampleRate, vertices)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RcppModule.cpp:118:78: required from here 118 | .method("variationalModelFrameMulti",&LatentOrderLikelihood<Undirected>::variationalModelFrameMulti) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:420:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 420 | for(int k=0;k<stats.size();k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:423:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 423 | for(int k=0;k<offsets.size();k++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::rollback() [with Engine = lolog::Undirected]’: ../inst/include/LatentOrderLikelihood.h:239:47: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’ 239 | runningModel->rollback(); | ~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:164:56: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’ 164 | result.push_back(this->modelFrameGivenOrder(downsampleRate, edgeDownsampleRate, vertices)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RcppModule.cpp:118:78: required from here 118 | .method("variationalModelFrameMulti",&LatentOrderLikelihood<Undirected>::variationalModelFrameMulti) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:444:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 444 | for(int k=0;k<stats.size();k++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:446:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 446 | for(int k=0;k<offsets.size();k++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘double lolog::Model<Engine>::logLik() [with Engine = lolog::Undirected]’: ../inst/include/LatentOrderLikelihood.h:328:43: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 328 | double llik = runningModel->logLik(); | ~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ RcppModule.cpp:120:67: required from here 120 | .method("generateNetwork",&LatentOrderLikelihood<Undirected>::generateNetwork) | ^~~~~~~~~~~~~~~ ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Directed]’: ../inst/include/Model.h:114:51: required from ‘boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Directed]’ 114 | return boost::shared_ptr< Model<Engine> >(new Model<Engine>(*this, true)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:121:26: required from ‘void lolog::LatentOrderLikelihood<Engine>::setModel(const lolog::Model<Engine>&) [with Engine = lolog::Directed]’ 121 | model = mod.clone(); | ~~~~~~~~~^~ RcppModule.cpp:125:58: required from here 125 | .method("setModel",&LatentOrderLikelihood<Directed>::setModel) | ^~~~~~~~ ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::statistics(std::vector<double>&) [with Engine = lolog::Directed]’: ../inst/include/LatentOrderLikelihood.h:232:45: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]’ 232 | runningModel->statistics(terms); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../inst/include/LatentOrderLikelihood.h:164:56: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]’ 164 | result.push_back(this->modelFrameGivenOrder(downsampleRate, edgeDownsampleRate, vertices)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RcppModule.cpp:130:76: required from here 130 | .method("variationalModelFrameMulti",&LatentOrderLikelihood<Directed>::variationalModelFrameMulti) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:245:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 245 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:247:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 247 | for(int j=0;j<stats[i]->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::dyadUpdate(int&, int&, std::vector<int>&, int&) [with Engine = lolog::Directed]’: ../inst/include/LatentOrderLikelihood.h:233:45: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]’ 233 | runningModel->dyadUpdate(vertex, alter, vert_order, i); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:164:56: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]’ 164 | result.push_back(this->modelFrameGivenOrder(downsampleRate, edgeDownsampleRate, vertices)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RcppModule.cpp:130:76: required from here 130 | .method("variationalModelFrameMulti",&LatentOrderLikelihood<Directed>::variationalModelFrameMulti) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:420:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 420 | for(int k=0;k<stats.size();k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:423:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 423 | for(int k=0;k<offsets.size();k++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::rollback() [with Engine = lolog::Directed]’: ../inst/include/LatentOrderLikelihood.h:239:47: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]’ 239 | runningModel->rollback(); | ~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:164:56: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]’ 164 | result.push_back(this->modelFrameGivenOrder(downsampleRate, edgeDownsampleRate, vertices)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RcppModule.cpp:130:76: required from here 130 | .method("variationalModelFrameMulti",&LatentOrderLikelihood<Directed>::variationalModelFrameMulti) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:444:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 444 | for(int k=0;k<stats.size();k++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:446:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 446 | for(int k=0;k<offsets.size();k++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘double lolog::Model<Engine>::logLik() [with Engine = lolog::Directed]’: ../inst/include/LatentOrderLikelihood.h:328:43: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 328 | double llik = runningModel->logLik(); | ~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ RcppModule.cpp:132:65: required from here 132 | .method("generateNetwork",&LatentOrderLikelihood<Directed>::generateNetwork) | ^~~~~~~~~~~~~~~ ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/LatentOrderLikelihood.h:6: ../inst/include/Ranker.h: In instantiation of ‘void lolog::Ranker<T, C>::shuffle(std::vector<S>&) const [with S = unsigned int; T = int; C = lolog::lt<int>]’: ../inst/include/Ranker.h:84:24: required from ‘void lolog::Ranker<T, C>::get_ranks(std::vector<S>&, const std::string&) const [with S = int; T = int; C = lolog::lt<int>; std::string = std::__cxx11::basic_string<char>]’ 84 | shuffle(tmp2); | ~~~~~~~^~~~~~ ../inst/include/Ranker.h:148:38: required from ‘void lolog::rank(const std::vector<T>&, std::vector<S>&, const std::string&) [with T = int; S = int; std::string = std::__cxx11::basic_string<char>]’ 148 | { Ranker<T, lt<T> > r(v); r.get_ranks(w, method); } | ~~~~~~~~~~~^~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:69:13: required from ‘void lolog::LatentOrderLikelihood<Engine>::generateOrder(std::vector<int>&, VectorPtr) [with Engine = lolog::Undirected; VectorPtr = boost::shared_ptr<std::vector<int> >]’ 69 | rank(*order, y, "random"); | ~~~~^~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:157:23: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’ 157 | this->generateOrder(vertices, model->getVertexOrder()); | ~~~~~~^~~~~~~~~~~~~ RcppModule.cpp:118:78: required from here 118 | .method("variationalModelFrameMulti",&LatentOrderLikelihood<Undirected>::variationalModelFrameMulti) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Ranker.h:42:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 42 | for( int i=0; i < vec.size(); i++){ | ~~^~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘lolog::LatentOrderLikelihood<Engine>::LatentOrderLikelihood(lolog::Model<Engine>) [with Engine = lolog::Directed]’: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/Module.h:213:20: required from ‘Class* Rcpp::Constructor<Class, T>::get_new_impl(SEXPREC**, int, Rcpp::traits::index_sequence<Is ...>) [with int ...Is = {0}; Class = lolog::LatentOrderLikelihood<lolog::Directed>; T = {lolog::Model<lolog::Directed>}; SEXP = SEXPREC*]’ 213 | return new Class( as<T>(args[Is])... ) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/Module.h:203:32: required from ‘Class* Rcpp::Constructor<Class, T>::get_new(SEXPREC**, int) [with Class = lolog::LatentOrderLikelihood<lolog::Directed>; T = {lolog::Model<lolog::Directed>}; SEXP = SEXPREC*]’ 203 | return get_new_impl(args, nargs, traits::make_index_sequence<sizeof...(T)>()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/Module.h:202:24: required from here 202 | virtual Class* get_new( SEXP* args, int nargs ){ | ^~~~~~~ ../inst/include/LatentOrderLikelihood.h:92:71: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 92 | if(model->hasVertexOrder() && model->getVertexOrder()->size() != model->network()->size()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘lolog::LatentOrderLikelihood<Engine>::LatentOrderLikelihood(lolog::Model<Engine>) [with Engine = lolog::Undirected]’: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/Module.h:213:20: required from ‘Class* Rcpp::Constructor<Class, T>::get_new_impl(SEXPREC**, int, Rcpp::traits::index_sequence<Is ...>) [with int ...Is = {0}; Class = lolog::LatentOrderLikelihood<lolog::Undirected>; T = {lolog::Model<lolog::Undirected>}; SEXP = SEXPREC*]’ 213 | return new Class( as<T>(args[Is])... ) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/Module.h:203:32: required from ‘Class* Rcpp::Constructor<Class, T>::get_new(SEXPREC**, int) [with Class = lolog::LatentOrderLikelihood<lolog::Undirected>; T = {lolog::Model<lolog::Undirected>}; SEXP = SEXPREC*]’ 203 | return get_new_impl(args, nargs, traits::make_index_sequence<sizeof...(T)>()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/Module.h:202:24: required from here 202 | virtual Class* get_new( SEXP* args, int nargs ){ | ^~~~~~~ ../inst/include/LatentOrderLikelihood.h:92:71: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 92 | if(model->hasVertexOrder() && model->getVertexOrder()->size() != model->network()->size()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c StatController.cpp -o StatController.o In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:17, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from ../inst/include/Stat.h:6, from ../inst/include/StatController.h:6, from StatController.cpp:1: /home/hornik/tmp/R.check/r-patched-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 ../inst/include/Vertex.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::refreshIds()’: ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Directed::Directed(const lolog::Directed&, bool)’: ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::emptyGraph()’: ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Directed::randomEdge() const’: ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const’: ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const’: ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const’: ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeContinVariable(int)’: ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const’: ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Directed::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const’: ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::refreshIds()’: ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Undirected::Undirected(const lolog::Undirected&, bool)’: ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::emptyGraph()’: ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Undirected::randomEdge() const’: ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const’: ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const’: ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const’: ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeContinVariable(int)’: ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const’: ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Undirected::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const’: ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)’: ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of ‘int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]’: ../inst/include/BinaryNet.h:1620:28: required from here 1620 | int index = indexOf(name,discreteVarNames()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ In file included from StatController.cpp:3: ../inst/include/Stats.h: In instantiation of ‘void lolog::EdgeCov<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:2789:18: required from here 2789 | virtual void dyadUpdate(const BinaryNet<Engine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~ ../inst/include/Stats.h:2791:12: warning: unused variable ‘addingEdge’ [-Wunused-variable] 2791 | bool addingEdge = !net.hasEdge(from,to); | ^~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::AbsDiff<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:2278:18: required from here 2278 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:2282:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2282 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2283:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2283 | for(int j=0;j<varNames.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h:2289:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2289 | for(int i=0;i<varNames.size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h:2299:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2299 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Esp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:1879:18: required from here 1879 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:1885:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1885 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::GeoDist<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:2067:18: required from here 2067 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:2070:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2070 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2098:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2098 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h:2107:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2107 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Gwesp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:1484:18: required from here 1484 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:1491:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1491 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::EdgeCovSparse<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:2974:16: required from here 2974 | virtual void dyadUpdate(const BinaryNet<Engine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~ ../inst/include/Stats.h:2976:10: warning: unused variable ‘addingEdge’ [-Wunused-variable] 2976 | bool addingEdge = !net.hasEdge(from,to); | ^~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::EdgeCov<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]’: ../inst/include/Stats.h:2789:18: required from here 2789 | virtual void dyadUpdate(const BinaryNet<Engine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~ ../inst/include/Stats.h:2791:12: warning: unused variable ‘addingEdge’ [-Wunused-variable] 2791 | bool addingEdge = !net.hasEdge(from,to); | ^~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::AbsDiff<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stats.h:2278:18: required from here 2278 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:2282:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2282 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2283:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2283 | for(int j=0;j<varNames.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h:2289:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2289 | for(int i=0;i<varNames.size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h:2299:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2299 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Esp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stats.h:1879:18: required from here 1879 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:1885:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1885 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::GeoDist<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stats.h:2067:18: required from here 2067 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:2070:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2070 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2098:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2098 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h:2107:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2107 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Gwesp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stats.h:1484:18: required from here 1484 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:1491:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1491 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::EdgeCovSparse<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]’: ../inst/include/Stats.h:2974:16: required from here 2974 | virtual void dyadUpdate(const BinaryNet<Engine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~ ../inst/include/Stats.h:2976:10: warning: unused variable ‘addingEdge’ [-Wunused-variable] 2976 | bool addingEdge = !net.hasEdge(from,to); | ^~~~~~~~~~ In file included from ../inst/include/Stat.h:10: ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:2790:41: required from ‘void lolog::EdgeCov<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’ 2790 | BaseOffset<Engine>::resetLastStats(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/Stats.h:2789:18: required from here 2789 | virtual void dyadUpdate(const BinaryNet<Engine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~ ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 416 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:2294:19: required from ‘void lolog::AbsDiff<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’ 2294 | this->init(nstats); | ~~~~~~~~~~^~~~~~~~ ../inst/include/Stats.h:2278:18: required from here 2278 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 454 | if(this->thetas.size() != size) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../inst/include/Stats.h: In instantiation of ‘double lolog::AbsDiff<Engine>::dist(const lolog::BinaryNet<Engine>&, int, int) [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:2302:23: required from ‘void lolog::AbsDiff<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’ 2302 | result += dist(net, from,to); | ^~~~ ../inst/include/Stats.h:2278:18: required from here 2278 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:2271:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2271 | for(int j=0;j<indices.size();j++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Directed]’: ../inst/include/Stats.h:2790:41: required from ‘void lolog::EdgeCov<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]’ 2790 | BaseOffset<Engine>::resetLastStats(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/Stats.h:2789:18: required from here 2789 | virtual void dyadUpdate(const BinaryNet<Engine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~ ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 416 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Directed]’: ../inst/include/Stats.h:2294:19: required from ‘void lolog::AbsDiff<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’ 2294 | this->init(nstats); | ~~~~~~~~~~^~~~~~~~ ../inst/include/Stats.h:2278:18: required from here 2278 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 454 | if(this->thetas.size() != size) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../inst/include/Stats.h: In instantiation of ‘double lolog::AbsDiff<Engine>::dist(const lolog::BinaryNet<Engine>&, int, int) [with Engine = lolog::Directed]’: ../inst/include/Stats.h:2302:23: required from ‘void lolog::AbsDiff<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’ 2302 | result += dist(net, from,to); | ^~~~ ../inst/include/Stats.h:2278:18: required from here 2278 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:2271:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2271 | for(int j=0;j<indices.size();j++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::TwoPath<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:2854:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2854 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:394:27: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 394 | return stat.values(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:390:16: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 390 | return values(); | ^~~~~~ ../inst/include/Stat.h:389:33: required from here 389 | virtual std::vector<double> vValues(){ | ^~~~~~~ ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:405:27: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 405 | return stat.logLik(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:401:16: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 401 | return logLik(); | ^~~~~~ ../inst/include/Stat.h:400:20: required from here 400 | virtual double vLogLik(){ | ^~~~~~~ ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:302:22: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 302 | stat.rollback(net); | ~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:298:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 298 | rollback(net); | ^~~~~~~~ ../inst/include/Stat.h:297:18: required from here 297 | virtual void vRollback(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~ ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::AbsDiff<Engine>::statNames() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::AbsDiff<lolog::Undirected>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::AbsDiff<lolog::Undirected>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:2263:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2263 | for(int i=0;i<varNames.size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeFactor<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeFactor<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeFactor<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:2686:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2686 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::SharedNbrs<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::SharedNbrs<lolog::Undirected>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::SharedNbrs<lolog::Undirected>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:2450:16: warning: unused variable ‘netSize’ [-Wunused-variable] 2450 | double netSize = actorIndex + 1.0; | ^~~~~~~ ../inst/include/Stats.h:2451:16: warning: unused variable ‘totDegree’ [-Wunused-variable] 2451 | double totDegree = (net.nEdges() - hasEdge) * 2.0; | ^~~~~~~~~ ../inst/include/Stats.h:2457:16: warning: unused variable ‘sdegs’ [-Wunused-variable] 2457 | double sdegs = 0.0; | ^~~~~ ../inst/include/Stats.h:2458:26: warning: variable ‘fit’ set but not used [-Wunused-but-set-variable] 2458 | NeighborIterator fit = net.begin(order[actorIndex]); | ^~~ ../inst/include/Stats.h:2459:26: warning: variable ‘fend’ set but not used [-Wunused-but-set-variable] 2459 | NeighborIterator fend = net.end(order[actorIndex]); | ^~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::DegreeCrossProd<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::DegreeCrossProd<lolog::Undirected>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::DegreeCrossProd<lolog::Undirected>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:1173:16: warning: unused variable ‘toDeg’ [-Wunused-variable] 1173 | double toDeg; | ^~~~~ ../inst/include/Stats.h:1174:16: warning: unused variable ‘fromDeg’ [-Wunused-variable] 1174 | double fromDeg; | ^~~~~~~ ../inst/include/Stats.h:1185:16: warning: variable ‘deg’ set but not used [-Wunused-but-set-variable] 1185 | double deg = net.degree(from); | ^~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Esp<Engine>::statNames() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Esp<lolog::Undirected>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Esp<lolog::Undirected>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:1869:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1869 | for(int i=0;i<esps.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::GeoDist<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:2124:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2124 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::GeoDist<Engine>::statNames() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:2047:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2047 | for(int i=0;i<distCuts.size();i++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeCov<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeCov<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeCov<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:1292:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1292 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:1300:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1300 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Star<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:251:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 251 | for(int j=0;j<starDegrees.size();j++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Star<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:271:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 271 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h:283:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 283 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Star<Engine>::statNames() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:224:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 224 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeMatch<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMatch<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMatch<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:754:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 754 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:767:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 767 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Degree<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:1084:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1084 | for(int j=0;j<degrees.size();j++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Degree<Engine>::statNames() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:1015:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1015 | for(int i=0;i<degrees.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeMix<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMix<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMix<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:914:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 914 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:927:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 927 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::NodeMix<Engine>::statNames() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMix<lolog::Undirected>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMix<lolog::Undirected>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:900:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 900 | for(int i=0;i<levels.size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stats.h:901:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 901 | for(int j=i;j<levels.size();j++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeLogMaxCov<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeLogMaxCov<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeLogMaxCov<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:2556:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2556 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2564:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2564 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2577:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2577 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::TwoPath<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:2854:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2854 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:394:27: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 394 | return stat.values(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:390:16: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 390 | return values(); | ^~~~~~ ../inst/include/Stat.h:389:33: required from here 389 | virtual std::vector<double> vValues(){ | ^~~~~~~ ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:405:27: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 405 | return stat.logLik(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:401:16: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 401 | return logLik(); | ^~~~~~ ../inst/include/Stat.h:400:20: required from here 400 | virtual double vLogLik(){ | ^~~~~~~ ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:302:22: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 302 | stat.rollback(net); | ~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:298:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 298 | rollback(net); | ^~~~~~~~ ../inst/include/Stat.h:297:18: required from here 297 | virtual void vRollback(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~ ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::AbsDiff<Engine>::statNames() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::AbsDiff<lolog::Directed>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::AbsDiff<lolog::Directed>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:2263:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2263 | for(int i=0;i<varNames.size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeFactor<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeFactor<lolog::Directed>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeFactor<lolog::Directed>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:2686:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2686 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Esp<Engine>::statNames() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Esp<lolog::Directed>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Esp<lolog::Directed>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:1869:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1869 | for(int i=0;i<esps.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::GeoDist<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:2124:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2124 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::GeoDist<Engine>::statNames() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:2047:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2047 | for(int i=0;i<distCuts.size();i++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeCov<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeCov<lolog::Directed>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeCov<lolog::Directed>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:1292:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1292 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:1300:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1300 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Star<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:251:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 251 | for(int j=0;j<starDegrees.size();j++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Star<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:271:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 271 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h:283:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 283 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Star<Engine>::statNames() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:224:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 224 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Degree<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:1084:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1084 | for(int j=0;j<degrees.size();j++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Degree<Engine>::statNames() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:1015:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1015 | for(int i=0;i<degrees.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeMatch<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeMatch<lolog::Directed>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeMatch<lolog::Directed>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:754:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 754 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:767:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 767 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Mutual<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Mutual<lolog::Directed>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Mutual<lolog::Directed>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:677:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 677 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/advanced_insert_int.hpp:28, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/vector.hpp:32, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/flat_tree.hpp:29, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/flat_set.hpp:29, from ../inst/include/Vertex.h:9: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/copy_move_algo.hpp: In instantiation of ‘F boost::container::dtl::memmove(I, I, F) [with I = std::pair<int, int>*; F = std::pair<int, int>*]’: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/copy_move_algo.hpp:377:23: required from ‘typename boost::container::dtl::enable_if_memtransfer_copy_constructible<I, F, F>::type boost::container::uninitialized_move_alloc(Allocator&, I, I, F) [with Allocator = new_allocator<std::pair<int, int> >; I = std::pair<int, int>*; F = std::pair<int, int>*; typename dtl::enable_if_memtransfer_copy_constructible<I, F, F>::type = std::pair<int, int>*]’ 377 | { return dtl::memmove(f, l, r); } | ~~~~~~~~~~~~^~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/copy_move_algo.hpp:1306:59: required from ‘void boost::container::uninitialized_move_and_insert_alloc(Allocator&, F, F, F, O, std::size_t, InsertionProxy) [with Allocator = new_allocator<std::pair<int, int> >; F = std::pair<int, int>*; O = std::pair<int, int>*; InsertionProxy = dtl::insert_emplace_proxy<new_allocator<std::pair<int, int> >, std::pair<int, int> >; std::size_t = long unsigned int]’ 1306 | O d_last = ::boost::container::uninitialized_move_alloc(a, first, pos, d_first); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/vector.hpp:3277:10: required from ‘void boost::container::vector<T, Allocator, Options>::priv_insert_forward_range_new_allocation(T*, size_type, T*, size_type, InsertionProxy) [with InsertionProxy = boost::container::dtl::insert_emplace_proxy<boost::container::new_allocator<std::pair<int, int> >, std::pair<int, int> >; T = std::pair<int, int>; A = void; Options = void; size_type = long unsigned int]’ 3276 | boost::container::uninitialized_move_and_insert_alloc | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3277 | (a, raw_old_buffer, pos, this->priv_raw_end(), new_start, n, insert_range_proxy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/vector.hpp:3034:53: required from ‘boost::container::vector<T, Allocator, Options>::iterator boost::container::vector<T, Allocator, Options>::priv_insert_forward_range_no_capacity(T*, size_type, InsertionProxy, boost::container::version_1) [with InsertionProxy = boost::container::dtl::insert_emplace_proxy<boost::container::new_allocator<std::pair<int, int> >, std::pair<int, int> >; T = std::pair<int, int>; A = void; Options = void; iterator = boost::container::vec_iterator<std::pair<int, int>*, false>; size_type = long unsigned int; boost::container::version_1 = boost::move_detail::integral_constant<unsigned int, 1>]’ 3034 | this->priv_insert_forward_range_new_allocation(new_buf, new_cap, raw_pos, n, insert_range_proxy); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/vector.hpp:3099:60: required from ‘boost::container::vector<T, Allocator, Options>::iterator boost::container::vector<T, Allocator, Options>::priv_insert_forward_range(const pointer&, size_type, InsertionProxy) [with InsertionProxy = boost::container::dtl::insert_emplace_proxy<boost::container::new_allocator<std::pair<int, int> >, std::pair<int, int> >; T = std::pair<int, int>; A = void; Options = void; iterator = boost::container::vec_iterator<std::pair<int, int>*, false>; pointer = std::pair<int, int>*; size_type = long unsigned int]’ 3099 | return this->priv_insert_forward_range_no_capacity(p, n, insert_range_proxy, alloc_version()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/vector.hpp:1952:45: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/flat_tree.hpp:898:36: required from ‘boost::container::dtl::flat_tree<Value, KeyOfValue, Compare, AllocatorOrContainer>::iterator boost::container::dtl::flat_tree<Value, KeyOfValue, Compare, AllocatorOrContainer>::insert_equal(value_type&&) [with Value = std::pair<int, int>; KeyOfValue = boost::container::dtl::select1st<int>; Compare = std::less<int>; AllocatorOrContainer = void; iterator = boost::container::vec_iterator<std::pair<int, int>*, false>; value_type = std::pair<int, int>]’ 898 | i = this->m_data.m_seq.insert(i, boost::move(mval)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/flat_map.hpp:1698:70: required from ‘boost::container::flat_map<Key, T, Compare, Allocator>::mapped_type& boost::container::flat_map<Key, T, Compare, Allocator>::priv_subscript(const key_type&) [with Key = int; T = int; Compare = std::less<int>; AllocatorOrContainer = void; mapped_type = int; key_type = int]’ 1698 | i = dtl::force_copy<iterator>(this->m_flat_tree.insert_equal(::boost::move(v))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/flat_map.hpp:794:7: required from ‘boost::container::flat_map<Key, T, Compare, Allocator>::mapped_type& boost::container::flat_map<Key, T, Compare, Allocator>::operator[](const key_type&) [with Key = int; T = int; Compare = std::less<int>; AllocatorOrContainer = void; mapped_type = int; key_type = int]’ 140 | { return FWD_FUNCTION(x); }\ ../inst/include/Stats.h:1473:28: required from ‘void lolog::Gwesp<Engine>::setSharedValue(const lolog::BinaryNet<Engine>&, int, int, int) [with Engine = lolog::Undirected]’ 1473 | sharedValues[f][t] = nbrs; ../inst/include/Stats.h:1495:13: required from ‘void lolog::Gwesp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’ 1495 | setSharedValue(net,from,to,sn); | ^~~~~~~~~~~~~~ ../inst/include/Stats.h:1484:18: required from here 1484 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/copy_move_algo.hpp:231:19: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘value_type’ {aka ‘struct std::pair<int, int>’} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 231 | std::memmove(dest_raw, beg_raw, sizeof(value_type)*n); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from ../inst/include/StatController.h:4: /usr/include/c++/14/bits/stl_pair.h:284:12: note: ‘value_type’ {aka ‘struct std::pair<int, int>’} declared here 284 | struct pair | ^~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c main.cpp -o main.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c test_BinaryNet.cpp -o test_BinaryNet.o In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:17, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from test_BinaryNet.cpp:3: /home/hornik/tmp/R.check/r-patched-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 ../inst/include/Vertex.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::refreshIds()’: ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Directed::Directed(const lolog::Directed&, bool)’: ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::emptyGraph()’: ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Directed::randomEdge() const’: ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const’: ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const’: ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const’: ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeContinVariable(int)’: ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const’: ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Directed::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const’: ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::refreshIds()’: ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Undirected::Undirected(const lolog::Undirected&, bool)’: ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::emptyGraph()’: ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Undirected::randomEdge() const’: ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const’: ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const’: ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const’: ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeContinVariable(int)’: ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const’: ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Undirected::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const’: ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)’: ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of ‘int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]’: ../inst/include/BinaryNet.h:1620:28: required from here 1620 | int index = indexOf(name,discreteVarNames()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c test_Constraints.cpp -o test_Constraints.o In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:17, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from test_Constraints.cpp:5: /home/hornik/tmp/R.check/r-patched-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 ../inst/include/Vertex.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::refreshIds()’: ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Directed::Directed(const lolog::Directed&, bool)’: ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::emptyGraph()’: ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Directed::randomEdge() const’: ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const’: ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const’: ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const’: ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeContinVariable(int)’: ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const’: ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Directed::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const’: ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::refreshIds()’: ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Undirected::Undirected(const lolog::Undirected&, bool)’: ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::emptyGraph()’: ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Undirected::randomEdge() const’: ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const’: ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const’: ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const’: ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeContinVariable(int)’: ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const’: ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Undirected::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const’: ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)’: ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of ‘int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]’: ../inst/include/BinaryNet.h:1620:28: required from here 1620 | int index = indexOf(name,discreteVarNames()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ In file included from test_Constraints.cpp:11: ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::setThetas(std::vector<double>) [with Engine = lolog::Undirected]’: test_Constraints.cpp:34:20: required from ‘void lolog::tests::testBoundedDegree() [with Engine = lolog::Undirected]’ 34 | model.setThetas(std::vector<double>(1,0)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ test_Constraints.cpp:43:5: required from here 43 | RUN_TEST(testBoundedDegree<Undirected>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/Model.h:202:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 202 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:205:28: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 205 | if(newThetas.size()!= n){ | ~~~~~~~~~~~~~~~~^~~~ ../inst/include/Model.h:210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 210 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:212:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 212 | for(int j=0;j<vals->size();j++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<double> lolog::Model<Engine>::offset() [with Engine = lolog::Undirected]’: test_Constraints.cpp:36:5: required from ‘void lolog::tests::testBoundedDegree() [with Engine = lolog::Undirected]’ 36 | EXPECT_TRUE(model.offset().at(0) < -100000) | ~~~~~~~~~~~~^~ test_Constraints.cpp:43:5: required from here 43 | RUN_TEST(testBoundedDegree<Undirected>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/Model.h:300:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 300 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:305:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 305 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h:307:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 307 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Undirected]’: ../inst/include/Model.h:397:9: required from ‘void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]’ 397 | calculateStatistics(); | ^~~~~~~~~~~~~~~~~~~ test_Constraints.cpp:33:20: required from ‘void lolog::tests::testBoundedDegree() [with Engine = lolog::Undirected]’ 33 | model.calculate(); | ~~~~~~~~~~~~~~~^~ test_Constraints.cpp:43:5: required from here 43 | RUN_TEST(testBoundedDegree<Undirected>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Undirected]’: ../inst/include/Model.h:398:9: required from ‘void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]’ 398 | calculateOffsets(); | ^~~~~~~~~~~~~~~~ test_Constraints.cpp:33:20: required from ‘void lolog::tests::testBoundedDegree() [with Engine = lolog::Undirected]’ 33 | model.calculate(); | ~~~~~~~~~~~~~~~^~ test_Constraints.cpp:43:5: required from here 43 | RUN_TEST(testBoundedDegree<Undirected>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 414 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘double lolog::Model<Engine>::logLik() [with Engine = lolog::Undirected]’: ../inst/include/Model.h:330:16: required from ‘double lolog::Model<Engine>::vLogLik() [with Engine = lolog::Undirected]’ 330 | return logLik(); | ^~~~~~ ../inst/include/Model.h:329:20: required from here 329 | virtual double vLogLik(){ | ^~~~~~~ ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Undirected]’: ../inst/include/Model.h:114:51: required from ‘boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Undirected]’ 114 | return boost::shared_ptr< Model<Engine> >(new Model<Engine>(*this, true)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:118:16: required from ‘boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::vClone() const [with Engine = lolog::Undirected]’ 118 | return clone(); | ^~~~~ ../inst/include/Model.h:117:48: required from here 117 | virtual boost::shared_ptr< Model<Engine> > vClone() const{ | ^~~~~~ ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ In file included from test_Constraints.cpp:6: ../inst/include/Stat.h: In instantiation of ‘std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:394:27: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]’ 394 | return stat.values(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:390:16: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]’ 390 | return values(); | ^~~~~~ ../inst/include/Stat.h:389:33: required from here 389 | virtual std::vector<double> vValues(){ | ^~~~~~~ ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:405:27: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]’ 405 | return stat.logLik(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:401:16: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]’ 401 | return logLik(); | ^~~~~~ ../inst/include/Stat.h:400:20: required from here 400 | virtual double vLogLik(){ | ^~~~~~~ ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/Stat.h:10: ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:302:22: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]’ 302 | stat.rollback(net); | ~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:298:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]’ 298 | rollback(net); | ^~~~~~~~ ../inst/include/Stat.h:297:18: required from here 297 | virtual void vRollback(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~ ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:170:43: required from ‘void lolog::Edges<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’ 170 | BaseOffset<Engine>::resetLastStats(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 416 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:459:9: required from ‘void lolog::BaseStat<Engine>::initSingle(double) [with Engine = lolog::Undirected]’ 459 | init(1); | ^~~~ ../inst/include/Stats.h:166:25: required from ‘void lolog::Edges<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’ 166 | this->initSingle(net.nEdges()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Edges<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 454 | if(this->thetas.size() != size) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c test_LatentOrderLikelhood.cpp -o test_LatentOrderLikelhood.o In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:17, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from test_LatentOrderLikelhood.cpp:3: /home/hornik/tmp/R.check/r-patched-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 ../inst/include/Vertex.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::refreshIds()’: ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Directed::Directed(const lolog::Directed&, bool)’: ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::emptyGraph()’: ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Directed::randomEdge() const’: ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const’: ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const’: ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const’: ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeContinVariable(int)’: ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const’: ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Directed::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const’: ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::refreshIds()’: ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Undirected::Undirected(const lolog::Undirected&, bool)’: ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::emptyGraph()’: ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Undirected::randomEdge() const’: ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const’: ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const’: ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const’: ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeContinVariable(int)’: ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const’: ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Undirected::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const’: ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)’: ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of ‘int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]’: ../inst/include/BinaryNet.h:1620:28: required from here 1620 | int index = indexOf(name,discreteVarNames()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ test_LatentOrderLikelhood.cpp: In instantiation of ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’: test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:108:12: warning: unused variable ‘llik’ [-Wunused-variable] 108 | double llik = model.logLik(); | ^~~~ test_LatentOrderLikelhood.cpp: In instantiation of ‘void lolog::tests::lt() [with Engine = lolog::Directed]’: test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:108:12: warning: unused variable ‘llik’ [-Wunused-variable] 108 | double llik = model.logLik(); | ^~~~ In file included from test_LatentOrderLikelhood.cpp:7: ../inst/include/Model.h: In instantiation of ‘double lolog::Model<Engine>::logLik() [with Engine = lolog::Undirected]’: test_LatentOrderLikelhood.cpp:108:31: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 108 | double llik = model.logLik(); | ~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::setVertexOrderVector(std::vector<int>) [with Engine = lolog::Undirected]’: test_LatentOrderLikelhood.cpp:118:31: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 118 | model.setVertexOrderVector(ord); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/Model.h:492:55: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 492 | if(vertexOrder.size() != 0 && net->size() != vertexOrder.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from test_LatentOrderLikelhood.cpp:9: ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘lolog::LatentOrderLikelihood<Engine>::LatentOrderLikelihood(lolog::Model<Engine>) [with Engine = lolog::Undirected]’: test_LatentOrderLikelhood.cpp:120:41: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 120 | LatentOrderLikelihood<Engine> lol = LatentOrderLikelihood<Engine>(model); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:92:71: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 92 | if(model->hasVertexOrder() && model->getVertexOrder()->size() != model->network()->size()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘double lolog::Model<Engine>::logLik() [with Engine = lolog::Directed]’: test_LatentOrderLikelhood.cpp:108:31: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 108 | double llik = model.logLik(); | ~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::setVertexOrderVector(std::vector<int>) [with Engine = lolog::Directed]’: test_LatentOrderLikelhood.cpp:118:31: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 118 | model.setVertexOrderVector(ord); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/Model.h:492:55: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 492 | if(vertexOrder.size() != 0 && net->size() != vertexOrder.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘lolog::LatentOrderLikelihood<Engine>::LatentOrderLikelihood(lolog::Model<Engine>) [with Engine = lolog::Directed]’: test_LatentOrderLikelhood.cpp:120:41: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 120 | LatentOrderLikelihood<Engine> lol = LatentOrderLikelihood<Engine>(model); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:92:71: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 92 | if(model->hasVertexOrder() && model->getVertexOrder()->size() != model->network()->size()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/LatentOrderLikelihood.h:6: ../inst/include/Ranker.h: In instantiation of ‘void lolog::Ranker<T, C>::shuffle(std::vector<S>&) const [with S = unsigned int; T = int; C = lolog::lt<int>]’: ../inst/include/Ranker.h:84:24: required from ‘void lolog::Ranker<T, C>::get_ranks(std::vector<S>&, const std::string&) const [with S = int; T = int; C = lolog::lt<int>; std::string = std::__cxx11::basic_string<char>]’ 84 | shuffle(tmp2); | ~~~~~~~^~~~~~ ../inst/include/Ranker.h:148:38: required from ‘void lolog::rank(const std::vector<T>&, std::vector<S>&, const std::string&) [with T = int; S = int; std::string = std::__cxx11::basic_string<char>]’ 148 | { Ranker<T, lt<T> > r(v); r.get_ranks(w, method); } | ~~~~~~~~~~~^~~~~~~~~~~ test_LatentOrderLikelhood.cpp:149:9: required from here 149 | rank(vals1, ranks, "average"); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Ranker.h:42:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 42 | for( int i=0; i < vec.size(); i++){ | ~~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Undirected]’: ../inst/include/Model.h:397:9: required from ‘void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]’ 397 | calculateStatistics(); | ^~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:106:20: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 106 | model.calculate(); | ~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Undirected]’: ../inst/include/Model.h:398:9: required from ‘void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]’ 398 | calculateOffsets(); | ^~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:106:20: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 106 | model.calculate(); | ~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 414 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘void lolog::LatentOrderLikelihood<Engine>::generateOrder(std::vector<int>&, VectorPtr) [with Engine = lolog::Undirected; VectorPtr = boost::shared_ptr<std::vector<int> >]’: ../inst/include/LatentOrderLikelihood.h:294:19: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 294 | this->generateOrder(vertices, model->getVertexOrder()); | ~~~~~~^~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:72:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 72 | for(int i=0;i<y.size();i++) | ~^~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’: ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:350:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 350 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:372:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 372 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:384:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 384 | for(int i=0;i<vert_order.size();i++) | ~^~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Directed]’: ../inst/include/Model.h:397:9: required from ‘void lolog::Model<Engine>::calculate() [with Engine = lolog::Directed]’ 397 | calculateStatistics(); | ^~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:106:20: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 106 | model.calculate(); | ~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Directed]’: ../inst/include/Model.h:398:9: required from ‘void lolog::Model<Engine>::calculate() [with Engine = lolog::Directed]’ 398 | calculateOffsets(); | ^~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:106:20: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 106 | model.calculate(); | ~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 414 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘void lolog::LatentOrderLikelihood<Engine>::generateOrder(std::vector<int>&, VectorPtr) [with Engine = lolog::Directed; VectorPtr = boost::shared_ptr<std::vector<int> >]’: ../inst/include/LatentOrderLikelihood.h:294:19: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 294 | this->generateOrder(vertices, model->getVertexOrder()); | ~~~~~~^~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:72:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 72 | for(int i=0;i<y.size();i++) | ~^~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’: ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:350:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 350 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:372:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 372 | for(int m=0; m<terms.size(); m++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:384:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 384 | for(int i=0;i<vert_order.size();i++) | ~^~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Undirected]’: ../inst/include/Model.h:114:51: required from ‘boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Undirected]’ 114 | return boost::shared_ptr< Model<Engine> >(new Model<Engine>(*this, true)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:88:26: required from ‘lolog::LatentOrderLikelihood<Engine>::LatentOrderLikelihood(lolog::Model<Engine>) [with Engine = lolog::Undirected]’ 88 | model = mod.clone(); | ~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:120:41: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 120 | LatentOrderLikelihood<Engine> lol = LatentOrderLikelihood<Engine>(model); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’: ../inst/include/LatentOrderLikelihood.h:164:56: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’ 164 | result.push_back(this->modelFrameGivenOrder(downsampleRate, edgeDownsampleRate, vertices)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:147:16: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrame(int, double) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’ 147 | return variationalModelFrameMulti(nOrders, downsampleRate, downsampleRate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:122:44: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 122 | List result = lol.variationalModelFrame(1, .005); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 210 | for(int i=0;i<predictors.size();i++){ | ~^~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:242:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 242 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:266:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 266 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<double> lolog::Model<Engine>::thetas() [with Engine = lolog::Undirected]’: ../inst/include/LatentOrderLikelihood.h:310:36: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 310 | long nStats = model->thetas().size(); | ~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/Model.h:181:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 181 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:186:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 186 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:188:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 188 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<double> lolog::Model<Engine>::statistics() [with Engine = lolog::Undirected]’: ../inst/include/LatentOrderLikelihood.h:321:61: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 321 | std::vector<double> terms = runningModel->statistics(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/Model.h:226:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 226 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:231:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 231 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:233:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 233 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::dyadUpdate(int&, int&, std::vector<int>&, int&) [with Engine = lolog::Undirected]’: ../inst/include/LatentOrderLikelihood.h:338:41: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 338 | runningModel->dyadUpdate(vertex, alter, vert_order, i); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/Model.h:420:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 420 | for(int k=0;k<stats.size();k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:423:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 423 | for(int k=0;k<offsets.size();k++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::statistics(std::vector<double>&) [with Engine = lolog::Undirected]’: ../inst/include/LatentOrderLikelihood.h:339:41: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 339 | runningModel->statistics(newTerms); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/Model.h:245:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 245 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:247:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 247 | for(int j=0;j<stats[i]->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::rollback() [with Engine = lolog::Undirected]’: ../inst/include/LatentOrderLikelihood.h:347:43: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 347 | runningModel->rollback(); | ~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Undirected; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Undirected]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:166:5: required from here 166 | RUN_TEST(lt<Undirected>()); | ~~~~~~~~~~~~~~^~ ../inst/include/Model.h:444:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 444 | for(int k=0;k<stats.size();k++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:446:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 446 | for(int k=0;k<offsets.size();k++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Directed]’: ../inst/include/Model.h:114:51: required from ‘boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Directed]’ 114 | return boost::shared_ptr< Model<Engine> >(new Model<Engine>(*this, true)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:88:26: required from ‘lolog::LatentOrderLikelihood<Engine>::LatentOrderLikelihood(lolog::Model<Engine>) [with Engine = lolog::Directed]’ 88 | model = mod.clone(); | ~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:120:41: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 120 | LatentOrderLikelihood<Engine> lol = LatentOrderLikelihood<Engine>(model); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h: In instantiation of ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::modelFrameGivenOrder(double, double, std::vector<int>) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]’: ../inst/include/LatentOrderLikelihood.h:164:56: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrameMulti(int, double, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]’ 164 | result.push_back(this->modelFrameGivenOrder(downsampleRate, edgeDownsampleRate, vertices)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:147:16: required from ‘Rcpp::List lolog::LatentOrderLikelihood<Engine>::variationalModelFrame(int, double) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]’ 147 | return variationalModelFrameMulti(nOrders, downsampleRate, downsampleRate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:122:44: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 122 | List result = lol.variationalModelFrame(1, .005); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 210 | for(int i=0;i<predictors.size();i++){ | ~^~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:242:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 242 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:266:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 266 | for(int k=0; k<terms.size(); k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<double> lolog::Model<Engine>::thetas() [with Engine = lolog::Directed]’: ../inst/include/LatentOrderLikelihood.h:310:36: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 310 | long nStats = model->thetas().size(); | ~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/Model.h:181:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 181 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:186:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 186 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:188:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 188 | for(int j=0;j<vals.size();j++){ | ~^~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<double> lolog::Model<Engine>::statistics() [with Engine = lolog::Directed]’: ../inst/include/LatentOrderLikelihood.h:321:61: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 321 | std::vector<double> terms = runningModel->statistics(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/Model.h:226:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 226 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:231:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 231 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:233:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 233 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::dyadUpdate(int&, int&, std::vector<int>&, int&) [with Engine = lolog::Directed]’: ../inst/include/LatentOrderLikelihood.h:338:41: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 338 | runningModel->dyadUpdate(vertex, alter, vert_order, i); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/Model.h:420:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 420 | for(int k=0;k<stats.size();k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:423:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 423 | for(int k=0;k<offsets.size();k++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::statistics(std::vector<double>&) [with Engine = lolog::Directed]’: ../inst/include/LatentOrderLikelihood.h:339:41: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 339 | runningModel->statistics(newTerms); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/Model.h:245:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 245 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:247:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 247 | for(int j=0;j<stats[i]->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::rollback() [with Engine = lolog::Directed]’: ../inst/include/LatentOrderLikelihood.h:347:43: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetworkWithOrder(std::vector<int>) [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 347 | runningModel->rollback(); | ~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/LatentOrderLikelihood.h:302:22: required from ‘Rcpp::RObject lolog::LatentOrderLikelihood<Engine>::generateNetwork() [with Engine = lolog::Directed; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’ 302 | return this->generateNetworkWithOrder(vertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ test_LatentOrderLikelhood.cpp:125:24: required from ‘void lolog::tests::lt() [with Engine = lolog::Directed]’ 125 | lol.generateNetwork(); | ~~~~~~~~~~~~~~~~~~~^~ test_LatentOrderLikelhood.cpp:167:5: required from here 167 | RUN_TEST(lt<Directed>()); | ~~~~~~~~~~~~^~ ../inst/include/Model.h:444:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 444 | for(int k=0;k<stats.size();k++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:446:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 446 | for(int k=0;k<offsets.size();k++) | ~^~~~~~~~~~~~~~~ In file included from test_LatentOrderLikelhood.cpp:4: ../inst/include/Stat.h: In instantiation of ‘std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:394:27: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]’ 394 | return stat.values(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:390:16: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]’ 390 | return values(); | ^~~~~~ ../inst/include/Stat.h:389:33: required from here 389 | virtual std::vector<double> vValues(){ | ^~~~~~~ ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:405:27: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]’ 405 | return stat.logLik(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:401:16: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]’ 401 | return logLik(); | ^~~~~~ ../inst/include/Stat.h:400:20: required from here 400 | virtual double vLogLik(){ | ^~~~~~~ ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/Stat.h:10: ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:302:22: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]’ 302 | stat.rollback(net); | ~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:298:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]’ 298 | rollback(net); | ^~~~~~~~ ../inst/include/Stat.h:297:18: required from here 297 | virtual void vRollback(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~ ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:394:27: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]’ 394 | return stat.values(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:390:16: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]’ 390 | return values(); | ^~~~~~ ../inst/include/Stat.h:389:33: required from here 389 | virtual std::vector<double> vValues(){ | ^~~~~~~ ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:405:27: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]’ 405 | return stat.logLik(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:401:16: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]’ 401 | return logLik(); | ^~~~~~ ../inst/include/Stat.h:400:20: required from here 400 | virtual double vLogLik(){ | ^~~~~~~ ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:302:22: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]’ 302 | stat.rollback(net); | ~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:298:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]’ 298 | rollback(net); | ^~~~~~~~ ../inst/include/Stat.h:297:18: required from here 297 | virtual void vRollback(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~ ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Directed]’: ../inst/include/Stats.h:399:43: required from ‘void lolog::Triangles<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]’ 399 | BaseOffset<Engine>::resetLastStats(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 416 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:399:43: required from ‘void lolog::Triangles<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’ 399 | BaseOffset<Engine>::resetLastStats(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 416 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:459:9: required from ‘void lolog::BaseStat<Engine>::initSingle(double) [with Engine = lolog::Directed]’ 459 | init(1); | ^~~~ ../inst/include/Stats.h:382:25: required from ‘void lolog::Triangles<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’ 382 | this->initSingle(0.0); | ~~~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Triangles<lolog::Directed>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 454 | if(this->thetas.size() != size) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../inst/include/Stat.h: In instantiation of ‘void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:459:9: required from ‘void lolog::BaseStat<Engine>::initSingle(double) [with Engine = lolog::Undirected]’ 459 | init(1); | ^~~~ ../inst/include/Stats.h:382:25: required from ‘void lolog::Triangles<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’ 382 | this->initSingle(0.0); | ~~~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Triangles<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 454 | if(this->thetas.size() != size) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c test_ParamParser.cpp -o test_ParamParser.o In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:17, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/util.h:9, from ../inst/include/tests.h:7, from test_ParamParser.cpp:2: /home/hornik/tmp/R.check/r-patched-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 ../inst/include/util.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ test_ParamParser.cpp: In function ‘void lolog::tests::testParsing()’: test_ParamParser.cpp:10:5: warning: label ‘Rcpp’ defined but not used [-Wunused-label] 10 | Rcpp:List params = Rcpp::List::create(1, Rcpp::Named("a")=2, Rcpp::Named("b") = "ss"); | ^~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c test_Stats.cpp -o test_Stats.o In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:17, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/Vertex.h:8, from ../inst/include/DirectedVertex.h:6, from ../inst/include/BinaryNet.h:12, from test_Stats.cpp:2: /home/hornik/tmp/R.check/r-patched-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 ../inst/include/Vertex.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::refreshIds()’: ../inst/include/BinaryNet.h:1073:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1073 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Directed::Directed(const lolog::Directed&, bool)’: ../inst/include/BinaryNet.h:1109:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1109 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1175:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1175 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::emptyGraph()’: ../inst/include/BinaryNet.h:1199:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1199 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1245:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1245 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1249:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1249 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Directed::randomEdge() const’: ../inst/include/BinaryNet.h:1372:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1372 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Directed::edgelist() const’: ../inst/include/BinaryNet.h:1435:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1435 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Directed::edgelistR(bool) const’: ../inst/include/BinaryNet.h:1450:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1450 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:1458:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1458 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::continVarNames() const’: ../inst/include/BinaryNet.h:1470:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1470 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeContinVariable(int)’: ../inst/include/BinaryNet.h:1508:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1508 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:1515:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1515 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVarNames() const’: ../inst/include/BinaryNet.h:1522:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1522 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:1533:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1533 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Directed::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:1540:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1540 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Directed::discreteVariable(int) const’: ../inst/include/BinaryNet.h:1559:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1559 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:1567:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::DirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1567 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::addDiscreteVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1607:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1607 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1621:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1621 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Directed::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:1629:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1629 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1649:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1649 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Directed::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:1712:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1712 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::refreshIds()’: ../inst/include/BinaryNet.h:1750:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1750 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In constructor ‘lolog::Undirected::Undirected(const lolog::Undirected&, bool)’: ../inst/include/BinaryNet.h:1789:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1789 | for(int i=0;i<net.verts.size();i++){ | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::reorderVertices(std::vector<int>)’: ../inst/include/BinaryNet.h:1854:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1854 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::emptyGraph()’: ../inst/include/BinaryNet.h:1877:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1877 | for(int i=0;i < verts.size();i++){ | ~~^~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setAllDyadsMissing(std::vector<int>, bool)’: ../inst/include/BinaryNet.h:1932:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1932 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:1939:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1939 | for(int i=0;i<nodes.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::pair<int, int> lolog::Undirected::randomEdge() const’: ../inst/include/BinaryNet.h:2067:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2067 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘boost::shared_ptr<std::vector<std::pair<int, int> > > lolog::Undirected::edgelist() const’: ../inst/include/BinaryNet.h:2127:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2127 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::IntegerMatrix lolog::Undirected::edgelistR(bool) const’: ../inst/include/BinaryNet.h:2144:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2144 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h:2152:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2152 | for(int i=0;i<v->size();i++){ | ~^~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::continVarNames() const’: ../inst/include/BinaryNet.h:2164:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::ContinAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2164 | for(int i=0;i<contMeta->size();i++) | ~^~~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeContinVariable(int)’: ../inst/include/BinaryNet.h:2203:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2203 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addContinVariable(const std::vector<double>&, lolog::ContinAttrib&)’: ../inst/include/BinaryNet.h:2210:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2210 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVarNames() const’: ../inst/include/BinaryNet.h:2217:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<lolog::DiscreteAttrib>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2217 | for(int i=0;i<disMeta->size();i++) | ~^~~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::removeDiscreteVariable(int)’: ../inst/include/BinaryNet.h:2228:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2228 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<int> lolog::Undirected::discreteVariableValues(int) const’: ../inst/include/BinaryNet.h:2235:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2235 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘std::vector<std::__cxx11::basic_string<char> > lolog::Undirected::discreteVariable(int) const’: ../inst/include/BinaryNet.h:2254:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2254 | for(int i=0;i<verts.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariable(const std::vector<int>&, lolog::DiscreteAttrib&)’: ../inst/include/BinaryNet.h:2262:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::UndirectedVertex> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2262 | for(int i=0;i<verts.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::addDiscreteVariableR(Rcpp::RObject, std::string)’: ../inst/include/BinaryNet.h:2300:24: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2300 | if(vals.size() != this->size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2315:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2315 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘Rcpp::RObject lolog::Undirected::getVariableR(std::string, bool)’: ../inst/include/BinaryNet.h:2323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2323 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h:2343:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2343 | for(int i=0;i<names.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/BinaryNet.h: In member function ‘void lolog::Undirected::setVariableR(SEXP, std::string)’: ../inst/include/BinaryNet.h:2410:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2410 | for(int i=0;i<missing.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from ../inst/include/BinaryNet.h:15: ../inst/include/util.h: In instantiation of ‘int lolog::indexOf(const T&, const std::vector<T>&) [with T = std::__cxx11::basic_string<char>]’: ../inst/include/BinaryNet.h:1620:28: required from here 1620 | int index = indexOf(name,discreteVarNames()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/util.h:79:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 79 | for(int i=0;i<vec.size();i++){ | ~^~~~~~~~~~~ test_Stats.cpp: In instantiation of ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]’: test_Stats.cpp:218:5: required from here 218 | RUN_TEST(changeStatTest<Directed>("NodeMatch")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ test_Stats.cpp:206:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 206 | for(int i=0;i<realStats.size();i++){ | ~^~~~~~~~~~~~~~~~~ test_Stats.cpp: In instantiation of ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]’: test_Stats.cpp:230:5: required from here 230 | RUN_TEST(changeStatTest<Undirected>("Triangles")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ test_Stats.cpp:206:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 206 | for(int i=0;i<realStats.size();i++){ | ~^~~~~~~~~~~~~~~~~ In file included from test_Stats.cpp:6: ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::dyadUpdate(int&, int&, std::vector<int>&, int&) [with Engine = lolog::Directed]’: test_Stats.cpp:189:25: required from ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]’ 189 | model.dyadUpdate(dyad.first,dyad.second, order, dyad.first); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_Stats.cpp:218:5: required from here 218 | RUN_TEST(changeStatTest<Directed>("NodeMatch")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../inst/include/Model.h:420:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 420 | for(int k=0;k<stats.size();k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:423:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 423 | for(int k=0;k<offsets.size();k++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::rollback() [with Engine = lolog::Directed]’: test_Stats.cpp:197:27: required from ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]’ 197 | model.rollback(); | ~~~~~~~~~~~~~~^~ test_Stats.cpp:218:5: required from here 218 | RUN_TEST(changeStatTest<Directed>("NodeMatch")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../inst/include/Model.h:444:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 444 | for(int k=0;k<stats.size();k++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:446:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 446 | for(int k=0;k<offsets.size();k++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<double> lolog::Model<Engine>::statistics() [with Engine = lolog::Directed]’: test_Stats.cpp:202:48: required from ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]’ 202 | vector<double> mcmcStats = model.statistics(); | ~~~~~~~~~~~~~~~~^~ test_Stats.cpp:218:5: required from here 218 | RUN_TEST(changeStatTest<Directed>("NodeMatch")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../inst/include/Model.h:226:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 226 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:231:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 231 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:233:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 233 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Directed]’: test_Stats.cpp:203:30: required from ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]’ 203 | model.calculateStatistics(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ test_Stats.cpp:218:5: required from here 218 | RUN_TEST(changeStatTest<Directed>("NodeMatch")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::dyadUpdate(int&, int&, std::vector<int>&, int&) [with Engine = lolog::Undirected]’: test_Stats.cpp:189:25: required from ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]’ 189 | model.dyadUpdate(dyad.first,dyad.second, order, dyad.first); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_Stats.cpp:230:5: required from here 230 | RUN_TEST(changeStatTest<Undirected>("Triangles")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../inst/include/Model.h:420:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 420 | for(int k=0;k<stats.size();k++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:423:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 423 | for(int k=0;k<offsets.size();k++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::rollback() [with Engine = lolog::Undirected]’: test_Stats.cpp:197:27: required from ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]’ 197 | model.rollback(); | ~~~~~~~~~~~~~~^~ test_Stats.cpp:230:5: required from here 230 | RUN_TEST(changeStatTest<Undirected>("Triangles")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../inst/include/Model.h:444:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 444 | for(int k=0;k<stats.size();k++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:446:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 446 | for(int k=0;k<offsets.size();k++) | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘std::vector<double> lolog::Model<Engine>::statistics() [with Engine = lolog::Undirected]’: test_Stats.cpp:202:48: required from ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]’ 202 | vector<double> mcmcStats = model.statistics(); | ~~~~~~~~~~~~~~~~^~ test_Stats.cpp:230:5: required from here 230 | RUN_TEST(changeStatTest<Undirected>("Triangles")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../inst/include/Model.h:226:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 226 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:231:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 231 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:233:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 233 | for(int j=0;j<stats.at(i)->vStatistics().size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateStatistics() [with Engine = lolog::Undirected]’: test_Stats.cpp:203:30: required from ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]’ 203 | model.calculateStatistics(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ test_Stats.cpp:230:5: required from here 230 | RUN_TEST(changeStatTest<Undirected>("Triangles")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../inst/include/Model.h:405:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 405 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Directed]’: ../inst/include/Model.h:398:9: required from ‘void lolog::Model<Engine>::calculate() [with Engine = lolog::Directed]’ 398 | calculateOffsets(); | ^~~~~~~~~~~~~~~~ test_Stats.cpp:176:20: required from ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]’ 176 | model.calculate(); | ~~~~~~~~~~~~~~~^~ test_Stats.cpp:218:5: required from here 218 | RUN_TEST(changeStatTest<Directed>("NodeMatch")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 414 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘void lolog::Model<Engine>::calculateOffsets() [with Engine = lolog::Undirected]’: ../inst/include/Model.h:398:9: required from ‘void lolog::Model<Engine>::calculate() [with Engine = lolog::Undirected]’ 398 | calculateOffsets(); | ^~~~~~~~~~~~~~~~ test_Stats.cpp:176:20: required from ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]’ 176 | model.calculate(); | ~~~~~~~~~~~~~~~^~ test_Stats.cpp:230:5: required from here 230 | RUN_TEST(changeStatTest<Undirected>("Triangles")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../inst/include/Model.h:414:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 414 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ In file included from test_Stats.cpp:3: ../inst/include/Stat.h: In instantiation of ‘void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Directed]’: ../inst/include/Stats.h:214:19: required from ‘lolog::Star<Engine>::Star(Rcpp::List) [with Engine = lolog::Directed; Rcpp::List = Rcpp::Vector<19>]’ 214 | this->init(starDegrees.size()); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:171:31: required from ‘lolog::Stat<NetworkEngine, StatEngine>::Stat(Rcpp::List) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>; Rcpp::List = Rcpp::Vector<19>]’ 171 | Stat(Rcpp::List params) : stat(params){} | ^~~~~~~~~~~~ test_Stats.cpp:119:17: required from ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Directed; std::string = std::__cxx11::basic_string<char>]’ 119 | new Stat<Engine, Star<Engine> >(l)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_Stats.cpp:218:5: required from here 218 | RUN_TEST(changeStatTest<Directed>("NodeMatch")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 454 | if(this->thetas.size() != size) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../inst/include/Stat.h: In instantiation of ‘void lolog::BaseStat<Engine>::init(int) [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:214:19: required from ‘lolog::Star<Engine>::Star(Rcpp::List) [with Engine = lolog::Undirected; Rcpp::List = Rcpp::Vector<19>]’ 214 | this->init(starDegrees.size()); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:171:31: required from ‘lolog::Stat<NetworkEngine, StatEngine>::Stat(Rcpp::List) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>; Rcpp::List = Rcpp::Vector<19>]’ 171 | Stat(Rcpp::List params) : stat(params){} | ^~~~~~~~~~~~ test_Stats.cpp:119:17: required from ‘void lolog::tests::changeStatTest(std::string) [with Engine = lolog::Undirected; std::string = std::__cxx11::basic_string<char>]’ 119 | new Stat<Engine, Star<Engine> >(l)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_Stats.cpp:230:5: required from here 230 | RUN_TEST(changeStatTest<Undirected>("Triangles")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../inst/include/Stat.h:454:32: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 454 | if(this->thetas.size() != size) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from test_Stats.cpp:4: ../inst/include/Stats.h: In instantiation of ‘void lolog::Esp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:1879:18: required from here 1879 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:1885:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1885 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::GeoDist<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:2067:18: required from here 2067 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:2070:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2070 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2098:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2098 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h:2107:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2107 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Gwesp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:1484:18: required from here 1484 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:1491:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1491 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Esp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stats.h:1879:18: required from here 1879 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:1885:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1885 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::GeoDist<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stats.h:2067:18: required from here 2067 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:2070:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2070 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:2098:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2098 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Stats.h:2107:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2107 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Gwesp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stats.h:1484:18: required from here 1484 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ ../inst/include/Stats.h:1491:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1491 | for(int i=0;i<el->size();i++){ | ~^~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘double lolog::Model<Engine>::logLik() [with Engine = lolog::Undirected]’: ../inst/include/Model.h:330:16: required from ‘double lolog::Model<Engine>::vLogLik() [with Engine = lolog::Undirected]’ 330 | return logLik(); | ^~~~~~ ../inst/include/Model.h:329:20: required from here 329 | virtual double vLogLik(){ | ^~~~~~~ ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘double lolog::Model<Engine>::logLik() [with Engine = lolog::Directed]’: ../inst/include/Model.h:330:16: required from ‘double lolog::Model<Engine>::vLogLik() [with Engine = lolog::Directed]’ 330 | return logLik(); | ^~~~~~ ../inst/include/Model.h:329:20: required from here 329 | virtual double vLogLik(){ | ^~~~~~~ ../inst/include/Model.h:320:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 320 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Model.h:323:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 323 | for(int i=0;i<offsets.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Undirected]’: ../inst/include/Model.h:114:51: required from ‘boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Undirected]’ 114 | return boost::shared_ptr< Model<Engine> >(new Model<Engine>(*this, true)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:118:16: required from ‘boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::vClone() const [with Engine = lolog::Undirected]’ 118 | return clone(); | ^~~~~ ../inst/include/Model.h:117:48: required from here 117 | virtual boost::shared_ptr< Model<Engine> > vClone() const{ | ^~~~~~ ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Undirected> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::TwoPath<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:2854:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2854 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:394:27: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 394 | return stat.values(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:390:16: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 390 | return values(); | ^~~~~~ ../inst/include/Stat.h:389:33: required from here 389 | virtual std::vector<double> vValues(){ | ^~~~~~~ ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:405:27: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 405 | return stat.logLik(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:401:16: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 401 | return logLik(); | ^~~~~~ ../inst/include/Stat.h:400:20: required from here 400 | virtual double vLogLik(){ | ^~~~~~~ ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/Stat.h:10: ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:302:22: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 302 | stat.rollback(net); | ~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:298:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 298 | rollback(net); | ^~~~~~~~ ../inst/include/Stat.h:297:18: required from here 297 | virtual void vRollback(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~ ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Esp<Engine>::statNames() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Esp<lolog::Undirected>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Esp<lolog::Undirected>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:1869:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1869 | for(int i=0;i<esps.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::GeoDist<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:2124:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2124 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::GeoDist<Engine>::statNames() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::GeoDist<lolog::Undirected>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:2047:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2047 | for(int i=0;i<distCuts.size();i++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeFactor<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeFactor<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeFactor<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:2686:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2686 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeCov<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeCov<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeCov<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:1292:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1292 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:1300:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1300 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Star<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:251:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 251 | for(int j=0;j<starDegrees.size();j++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Star<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:271:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 271 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h:283:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 283 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Star<Engine>::statNames() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Star<lolog::Undirected>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:224:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 224 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::DegreeCrossProd<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::DegreeCrossProd<lolog::Undirected>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::DegreeCrossProd<lolog::Undirected>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:1173:16: warning: unused variable ‘toDeg’ [-Wunused-variable] 1173 | double toDeg; | ^~~~~ ../inst/include/Stats.h:1174:16: warning: unused variable ‘fromDeg’ [-Wunused-variable] 1174 | double fromDeg; | ^~~~~~~ ../inst/include/Stats.h:1185:16: warning: variable ‘deg’ set but not used [-Wunused-but-set-variable] 1185 | double deg = net.degree(from); | ^~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Degree<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:1084:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1084 | for(int j=0;j<degrees.size();j++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Degree<Engine>::statNames() [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Undirected; StatEngine = lolog::Degree<lolog::Undirected>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:1015:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1015 | for(int i=0;i<degrees.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeMatch<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMatch<lolog::Undirected>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::NodeMatch<lolog::Undirected>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:754:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 754 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:767:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 767 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Model.h: In instantiation of ‘lolog::Model<Engine>::Model(const lolog::Model<Engine>&, bool) [with Engine = lolog::Directed]’: ../inst/include/Model.h:114:51: required from ‘boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::clone() const [with Engine = lolog::Directed]’ 114 | return boost::shared_ptr< Model<Engine> >(new Model<Engine>(*this, true)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Model.h:118:16: required from ‘boost::shared_ptr<lolog::Model<Engine> > lolog::Model<Engine>::vClone() const [with Engine = lolog::Directed]’ 118 | return clone(); | ^~~~~ ../inst/include/Model.h:117:48: required from here 117 | virtual boost::shared_ptr< Model<Engine> > vClone() const{ | ^~~~~~ ../inst/include/Model.h:74:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractStat<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for(int i=0;i<stats.size();i++) | ~^~~~~~~~~~~~~ ../inst/include/Model.h:76:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> >, std::allocator<boost::shared_ptr<lolog::AbstractOffset<lolog::Directed> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 76 | for(int i=0;i<offsets.size();i++) | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::TwoPath<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:2854:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2854 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘std::vector<double> lolog::BaseStat<Engine>::values() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:394:27: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::values() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 394 | return stat.values(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:390:16: required from ‘std::vector<double> lolog::Stat<NetworkEngine, StatEngine>::vValues() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 390 | return values(); | ^~~~~~ ../inst/include/Stat.h:389:33: required from here 389 | virtual std::vector<double> vValues(){ | ^~~~~~~ ../inst/include/Stat.h:482:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 482 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h: In instantiation of ‘double lolog::BaseStat<Engine>::logLik() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:405:27: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::logLik() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 405 | return stat.logLik(); | ~~~~~~~~~~~^~ ../inst/include/Stat.h:401:16: required from ‘double lolog::Stat<NetworkEngine, StatEngine>::vLogLik() [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 401 | return logLik(); | ^~~~~~ ../inst/include/Stat.h:400:20: required from here 400 | virtual double vLogLik(){ | ^~~~~~~ ../inst/include/Stat.h:492:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 492 | for(int i=0;i<this->stats.size();i++) | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::rollback(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:302:22: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::rollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 302 | stat.rollback(net); | ~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:298:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vRollback(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 298 | rollback(net); | ^~~~~~~~ ../inst/include/Stat.h:297:18: required from here 297 | virtual void vRollback(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~ ../inst/include/Offset.h:422:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 422 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Esp<Engine>::statNames() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Esp<lolog::Directed>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Esp<lolog::Directed>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:1869:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1869 | for(int i=0;i<esps.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::GeoDist<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:2124:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2124 | for(int j=0;j<distCuts.size();j++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::GeoDist<Engine>::statNames() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::GeoDist<lolog::Directed>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:2047:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2047 | for(int i=0;i<distCuts.size();i++){ | ~^~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeFactor<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeFactor<lolog::Directed>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeFactor<lolog::Directed>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:2686:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2686 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeCov<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeCov<lolog::Directed>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeCov<lolog::Directed>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:1292:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1292 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:1300:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1300 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Star<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:251:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 251 | for(int j=0;j<starDegrees.size();j++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Star<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:271:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 271 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h:283:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 283 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Star<Engine>::statNames() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Star<lolog::Directed>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:224:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 224 | for(int i=0;i<starDegrees.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::DegreeCrossProd<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::DegreeCrossProd<lolog::Directed>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::DegreeCrossProd<lolog::Directed>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:1173:16: warning: unused variable ‘toDeg’ [-Wunused-variable] 1173 | double toDeg; | ^~~~~ ../inst/include/Stats.h:1174:16: warning: unused variable ‘fromDeg’ [-Wunused-variable] 1174 | double fromDeg; | ^~~~~~~ ../inst/include/Stats.h:1185:16: warning: variable ‘deg’ set but not used [-Wunused-but-set-variable] 1185 | double deg = net.degree(from); | ^~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::Degree<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Stats.h:1084:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1084 | for(int j=0;j<degrees.size();j++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘std::vector<std::__cxx11::basic_string<char> > lolog::Degree<Engine>::statNames() [with Engine = lolog::Directed]’: ../inst/include/Stat.h:313:56: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::statNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]’ 313 | std::vector<std::string> names = stat.statNames(); | ~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:309:16: required from ‘std::vector<std::__cxx11::basic_string<char> > lolog::Stat<NetworkEngine, StatEngine>::vStatNames() [with NetworkEngine = lolog::Directed; StatEngine = lolog::Degree<lolog::Directed>]’ 309 | return statNames(); | ^~~~~~~~~ ../inst/include/Stat.h:308:38: required from here 308 | virtual std::vector<std::string> vStatNames(){ | ^~~~~~~~~~ ../inst/include/Stats.h:1015:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1015 | for(int i=0;i<degrees.size();i++){ | ~^~~~~~~~~~~~~~~ ../inst/include/Stats.h: In instantiation of ‘void lolog::NodeMatch<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Directed]’: ../inst/include/Stat.h:228:23: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::calculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeMatch<lolog::Directed>]’ 228 | stat.calculate(net); | ~~~~~~~~~~~~~~^~~~~ ../inst/include/Stat.h:224:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vCalculate(const lolog::BinaryNet<Engine>&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::NodeMatch<lolog::Directed>]’ 224 | calculate(net); | ^~~~~~~~~ ../inst/include/Stat.h:223:18: required from here 223 | virtual void vCalculate(const BinaryNet<NetworkEngine>& net){ | ^~~~~~~~~~ ../inst/include/Stats.h:754:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 754 | for(int i=0;i<vars.size();i++){ | ~^~~~~~~~~~~~ ../inst/include/Stats.h:767:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 767 | for(int i=0;i<edges->size();i++){ | ~^~~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Undirected]’: ../inst/include/Stats.h:2865:43: required from ‘void lolog::TwoPath<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Undirected]’ 2865 | BaseOffset<Engine>::resetLastStats(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Undirected; StatEngine = lolog::TwoPath<lolog::Undirected>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 416 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ ../inst/include/Offset.h: In instantiation of ‘void lolog::BaseOffset<Engine>::resetLastStats() [with Engine = lolog::Directed]’: ../inst/include/Stats.h:2865:43: required from ‘void lolog::TwoPath<Engine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with Engine = lolog::Directed]’ 2865 | BaseOffset<Engine>::resetLastStats(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/Stat.h:247:24: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::dyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 247 | stat.dyadUpdate(net,from,to,order,actorIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/Stat.h:243:9: required from ‘void lolog::Stat<NetworkEngine, StatEngine>::vDyadUpdate(const lolog::BinaryNet<Engine>&, const int&, const int&, const std::vector<int>&, const int&) [with NetworkEngine = lolog::Directed; StatEngine = lolog::TwoPath<lolog::Directed>]’ 243 | dyadUpdate(net,from,to,order,actorIndex); | ^~~~~~~~~~ ../inst/include/Stat.h:242:18: required from here 242 | virtual void vDyadUpdate(const BinaryNet<NetworkEngine>& net,const int &from,const int &to,const std::vector<int> &order,const int &actorIndex){ | ^~~~~~~~~~~ ../inst/include/Offset.h:416:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 416 | for(int i=0;i<stats.size();i++){ | ~^~~~~~~~~~~~~ In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/advanced_insert_int.hpp:28, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/vector.hpp:32, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/flat_tree.hpp:29, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/flat_set.hpp:29, from ../inst/include/Vertex.h:9: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/copy_move_algo.hpp: In instantiation of ‘F boost::container::dtl::memmove(I, I, F) [with I = std::pair<int, int>*; F = std::pair<int, int>*]’: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/copy_move_algo.hpp:377:23: required from ‘typename boost::container::dtl::enable_if_memtransfer_copy_constructible<I, F, F>::type boost::container::uninitialized_move_alloc(Allocator&, I, I, F) [with Allocator = new_allocator<std::pair<int, int> >; I = std::pair<int, int>*; F = std::pair<int, int>*; typename dtl::enable_if_memtransfer_copy_constructible<I, F, F>::type = std::pair<int, int>*]’ 377 | { return dtl::memmove(f, l, r); } | ~~~~~~~~~~~~^~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/copy_move_algo.hpp:1306:59: required from ‘void boost::container::uninitialized_move_and_insert_alloc(Allocator&, F, F, F, O, std::size_t, InsertionProxy) [with Allocator = new_allocator<std::pair<int, int> >; F = std::pair<int, int>*; O = std::pair<int, int>*; InsertionProxy = dtl::insert_emplace_proxy<new_allocator<std::pair<int, int> >, std::pair<int, int> >; std::size_t = long unsigned int]’ 1306 | O d_last = ::boost::container::uninitialized_move_alloc(a, first, pos, d_first); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/vector.hpp:3277:10: required from ‘void boost::container::vector<T, Allocator, Options>::priv_insert_forward_range_new_allocation(T*, size_type, T*, size_type, InsertionProxy) [with InsertionProxy = boost::container::dtl::insert_emplace_proxy<boost::container::new_allocator<std::pair<int, int> >, std::pair<int, int> >; T = std::pair<int, int>; A = void; Options = void; size_type = long unsigned int]’ 3276 | boost::container::uninitialized_move_and_insert_alloc | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3277 | (a, raw_old_buffer, pos, this->priv_raw_end(), new_start, n, insert_range_proxy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/vector.hpp:3034:53: required from ‘boost::container::vector<T, Allocator, Options>::iterator boost::container::vector<T, Allocator, Options>::priv_insert_forward_range_no_capacity(T*, size_type, InsertionProxy, boost::container::version_1) [with InsertionProxy = boost::container::dtl::insert_emplace_proxy<boost::container::new_allocator<std::pair<int, int> >, std::pair<int, int> >; T = std::pair<int, int>; A = void; Options = void; iterator = boost::container::vec_iterator<std::pair<int, int>*, false>; size_type = long unsigned int; boost::container::version_1 = boost::move_detail::integral_constant<unsigned int, 1>]’ 3034 | this->priv_insert_forward_range_new_allocation(new_buf, new_cap, raw_pos, n, insert_range_proxy); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/vector.hpp:3099:60: required from ‘boost::container::vector<T, Allocator, Options>::iterator boost::container::vector<T, Allocator, Options>::priv_insert_forward_range(const pointer&, size_type, InsertionProxy) [with InsertionProxy = boost::container::dtl::insert_emplace_proxy<boost::container::new_allocator<std::pair<int, int> >, std::pair<int, int> >; T = std::pair<int, int>; A = void; Options = void; iterator = boost::container::vec_iterator<std::pair<int, int>*, false>; pointer = std::pair<int, int>*; size_type = long unsigned int]’ 3099 | return this->priv_insert_forward_range_no_capacity(p, n, insert_range_proxy, alloc_version()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/vector.hpp:1952:45: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/flat_tree.hpp:898:36: required from ‘boost::container::dtl::flat_tree<Value, KeyOfValue, Compare, AllocatorOrContainer>::iterator boost::container::dtl::flat_tree<Value, KeyOfValue, Compare, AllocatorOrContainer>::insert_equal(value_type&&) [with Value = std::pair<int, int>; KeyOfValue = boost::container::dtl::select1st<int>; Compare = std::less<int>; AllocatorOrContainer = void; iterator = boost::container::vec_iterator<std::pair<int, int>*, false>; value_type = std::pair<int, int>]’ 898 | i = this->m_data.m_seq.insert(i, boost::move(mval)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/flat_map.hpp:1698:70: required from ‘boost::container::flat_map<Key, T, Compare, Allocator>::mapped_type& boost::container::flat_map<Key, T, Compare, Allocator>::priv_subscript(const key_type&) [with Key = int; T = int; Compare = std::less<int>; AllocatorOrContainer = void; mapped_type = int; key_type = int]’ 1698 | i = dtl::force_copy<iterator>(this->m_flat_tree.insert_equal(::boost::move(v))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/flat_map.hpp:794:7: required from ‘boost::container::flat_map<Key, T, Compare, Allocator>::mapped_type& boost::container::flat_map<Key, T, Compare, Allocator>::operator[](const key_type&) [with Key = int; T = int; Compare = std::less<int>; AllocatorOrContainer = void; mapped_type = int; key_type = int]’ 140 | { return FWD_FUNCTION(x); }\ ../inst/include/Stats.h:1473:28: required from ‘void lolog::Gwesp<Engine>::setSharedValue(const lolog::BinaryNet<Engine>&, int, int, int) [with Engine = lolog::Undirected]’ 1473 | sharedValues[f][t] = nbrs; ../inst/include/Stats.h:1495:13: required from ‘void lolog::Gwesp<Engine>::calculate(const lolog::BinaryNet<Engine>&) [with Engine = lolog::Undirected]’ 1495 | setSharedValue(net,from,to,sn); | ^~~~~~~~~~~~~~ ../inst/include/Stats.h:1484:18: required from here 1484 | virtual void calculate(const BinaryNet<Engine>& net){ | ^~~~~~~~~ /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/container/detail/copy_move_algo.hpp:231:19: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘value_type’ {aka ‘struct std::pair<int, int>’} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 231 | std::memmove(dest_raw, beg_raw, sizeof(value_type)*n); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/bits/specfun.h:43, from /usr/include/c++/14/cmath:3898, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/platform/compiler.h:100, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/r/headers.h:66, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:30, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp.h:27, from test_Stats.cpp:1: /usr/include/c++/14/bits/stl_pair.h:284:12: note: ‘value_type’ {aka ‘struct std::pair<int, int>’} declared here 284 | struct pair | ^~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c tests.cpp -o tests.o In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:17, from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/shared_ptr.hpp:17, from ../inst/include/util.h:9, from ../inst/include/tests.h:7, from tests.cpp:1: /home/hornik/tmp/R.check/r-patched-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 ../inst/include/util.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-patched-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-patched-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:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o lolog.so RcppExports.o RcppModule.o StatController.o main.o test_BinaryNet.o test_Constraints.o test_LatentOrderLikelhood.o test_ParamParser.o test_Stats.o tests.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp3YVu7J/R.INSTALL8e9fe1b5eaf34/lolog/src' make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp3YVu7J/R.INSTALL8e9fe1b5eaf34/lolog/src' make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp3YVu7J/R.INSTALL8e9fe1b5eaf34/lolog/src' installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-lolog/00new/lolog/libs ** R ** data ** inst ** byte-compile and prepare package for lazy loading in method for ‘[’ with signature ‘"Rcpp_DirectedNet"’: no definition for class “Rcpp_DirectedNet” in method for ‘[’ with signature ‘"Rcpp_UndirectedNet"’: no definition for class “Rcpp_UndirectedNet” in method for ‘[<-’ with signature ‘"Rcpp_DirectedNet"’: no definition for class “Rcpp_DirectedNet” in method for ‘[<-’ with signature ‘"Rcpp_UndirectedNet"’: no definition for class “Rcpp_UndirectedNet” ** help *** installing help indices converting help for package ‘lolog’ finding HTML links ... done BinaryNet html LatentOrderLikelihood html LologModels html as.BinaryNet html as.BinaryNet.default html as.network.Rcpp_DirectedNet html as.network.Rcpp_UndirectedNet html as.network html calculateStatistics html call-symbols html coef.lolog html createCppModel html createLatentOrderLikelihood html extract-methods html gofit html gofit.lolog html inlineLologPlugin html finding level-2 HTML links ... done lazega html lolog-terms html lolog html lologPackageSkeleton html lologVariational html plot.Rcpp_DirectedNet html plot.Rcpp_UndirectedNet html plot.gofit html plot.lologGmm html print.gofit html print.lolog html print.lologVariationalFit html registerDirectedStatistic html simulate.lolog html summary.lolog html ukFaculty html ** 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 (lolog)