* installing *source* package ‘nethist’ ...
** this is package ‘nethist’ version ‘1.0.0’
** package ‘nethist’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2)’
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-devel/nethist/src'
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-dev/testthat/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Assignment.cpp -o Assignment.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-dev/testthat/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-dev/testthat/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c count_k_cycle.cpp -o count_k_cycle.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-dev/testthat/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c multinethist_fastgreedy.cpp -o multinethist_fastgreedy.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-dev/testthat/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c net_summary_subsample_adj.cpp -o net_summary_subsample_adj.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-dev/testthat/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c nethist_fastgreedy.cpp -o nethist_fastgreedy.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-dev/testthat/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c nethist_utils.cpp -o nethist_utils.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-dev/testthat/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c test-multinethist.cpp -o test-multinethist.o
g++ -std=gnu++20 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-dev/testthat/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c test-runner.cpp -o test-runner.o
In file included from multinethist_fastgreedy.cpp:3:
multinethist.h: In member function ‘bool Assignment::operator==(const Assignment&) const’:
multinethist.h:112:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare]
112 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
multinethist.h: In member function ‘bool AssignCommonF::operator==(const AssignCommonF&) const’:
multinethist.h:155:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare]
155 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
multinethist.h: At global scope:
multinethist.h:103:16: warning: ‘virtual bool Assignment::operator<<(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
103 | virtual bool operator<<(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:194:8: note: by ‘bool AssignSingleLayer::operator<<(const AssignSingleLayer&) const’
194 | bool operator<<(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:100:16: warning: ‘virtual bool Assignment::operator>>(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
100 | virtual bool operator>>(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:191:8: note: by ‘bool AssignSingleLayer::operator>>(const AssignSingleLayer&) const’
191 | bool operator>>(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:96:16: warning: ‘virtual bool Assignment::operator<(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
96 | virtual bool operator<(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:187:8: note: by ‘bool AssignSingleLayer::operator<(const AssignSingleLayer&) const’
187 | bool operator<(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:93:16: warning: ‘virtual bool Assignment::operator>(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
93 | virtual bool operator>(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:184:8: note: by ‘bool AssignSingleLayer::operator>(const AssignSingleLayer&) const’
184 | bool operator>(const AssignSingleLayer& other) const {
| ^~~~~~~~
In file included from nethist_utils.cpp:3:
multinethist.h: In member function ‘bool Assignment::operator==(const Assignment&) const’:
multinethist.h:112:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare]
112 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
multinethist.h: In member function ‘bool AssignCommonF::operator==(const AssignCommonF&) const’:
multinethist.h:155:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare]
155 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
multinethist.h: At global scope:
multinethist.h:103:16: warning: ‘virtual bool Assignment::operator<<(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
103 | virtual bool operator<<(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:194:8: note: by ‘bool AssignSingleLayer::operator<<(const AssignSingleLayer&) const’
194 | bool operator<<(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:100:16: warning: ‘virtual bool Assignment::operator>>(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
100 | virtual bool operator>>(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:191:8: note: by ‘bool AssignSingleLayer::operator>>(const AssignSingleLayer&) const’
191 | bool operator>>(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:96:16: warning: ‘virtual bool Assignment::operator<(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
96 | virtual bool operator<(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:187:8: note: by ‘bool AssignSingleLayer::operator<(const AssignSingleLayer&) const’
187 | bool operator<(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:93:16: warning: ‘virtual bool Assignment::operator>(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
93 | virtual bool operator>(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:184:8: note: by ‘bool AssignSingleLayer::operator>(const AssignSingleLayer&) const’
184 | bool operator>(const AssignSingleLayer& other) const {
| ^~~~~~~~
nethist_utils.cpp: In function ‘arma::uvec select_swap(const Assignment&, const int&, const int&)’:
nethist_utils.cpp:18:17: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘const unsigned int’ [-Wsign-compare]
18 | while((label1 == assignment.node_labels.at(selected_node2)) && (i < 10)){
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from nethist_fastgreedy.cpp:3:
multinethist.h: In member function ‘bool Assignment::operator==(const Assignment&) const’:
multinethist.h:112:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare]
112 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
multinethist.h: In member function ‘bool AssignCommonF::operator==(const AssignCommonF&) const’:
multinethist.h:155:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare]
155 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
multinethist.h: At global scope:
multinethist.h:103:16: warning: ‘virtual bool Assignment::operator<<(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
103 | virtual bool operator<<(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:194:8: note: by ‘bool AssignSingleLayer::operator<<(const AssignSingleLayer&) const’
194 | bool operator<<(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:100:16: warning: ‘virtual bool Assignment::operator>>(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
100 | virtual bool operator>>(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:191:8: note: by ‘bool AssignSingleLayer::operator>>(const AssignSingleLayer&) const’
191 | bool operator>>(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:96:16: warning: ‘virtual bool Assignment::operator<(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
96 | virtual bool operator<(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:187:8: note: by ‘bool AssignSingleLayer::operator<(const AssignSingleLayer&) const’
187 | bool operator<(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:93:16: warning: ‘virtual bool Assignment::operator>(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
93 | virtual bool operator>(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:184:8: note: by ‘bool AssignSingleLayer::operator>(const AssignSingleLayer&) const’
184 | bool operator>(const AssignSingleLayer& other) const {
| ^~~~~~~~
In file included from test-multinethist.cpp:14:
multinethist.h: In member function ‘bool Assignment::operator==(const Assignment&) const’:
multinethist.h:112:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare]
112 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
multinethist.h: In member function ‘bool AssignCommonF::operator==(const AssignCommonF&) const’:
multinethist.h:155:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare]
155 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
multinethist.h: At global scope:
multinethist.h:103:16: warning: ‘virtual bool Assignment::operator<<(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
103 | virtual bool operator<<(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:194:8: note: by ‘bool AssignSingleLayer::operator<<(const AssignSingleLayer&) const’
194 | bool operator<<(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:100:16: warning: ‘virtual bool Assignment::operator>>(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
100 | virtual bool operator>>(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:191:8: note: by ‘bool AssignSingleLayer::operator>>(const AssignSingleLayer&) const’
191 | bool operator>>(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:96:16: warning: ‘virtual bool Assignment::operator<(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
96 | virtual bool operator<(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:187:8: note: by ‘bool AssignSingleLayer::operator<(const AssignSingleLayer&) const’
187 | bool operator<(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:93:16: warning: ‘virtual bool Assignment::operator>(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
93 | virtual bool operator>(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:184:8: note: by ‘bool AssignSingleLayer::operator>(const AssignSingleLayer&) const’
184 | bool operator>(const AssignSingleLayer& other) const {
| ^~~~~~~~
In file included from Assignment.cpp:2:
multinethist.h: In member function ‘bool Assignment::operator==(const Assignment&) const’:
multinethist.h:112:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare]
112 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
multinethist.h: In member function ‘bool AssignCommonF::operator==(const AssignCommonF&) const’:
multinethist.h:155:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare]
155 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
multinethist.h: At global scope:
multinethist.h:103:16: warning: ‘virtual bool Assignment::operator<<(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
103 | virtual bool operator<<(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:194:8: note: by ‘bool AssignSingleLayer::operator<<(const AssignSingleLayer&) const’
194 | bool operator<<(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:100:16: warning: ‘virtual bool Assignment::operator>>(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
100 | virtual bool operator>>(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:191:8: note: by ‘bool AssignSingleLayer::operator>>(const AssignSingleLayer&) const’
191 | bool operator>>(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:96:16: warning: ‘virtual bool Assignment::operator<(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
96 | virtual bool operator<(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:187:8: note: by ‘bool AssignSingleLayer::operator<(const AssignSingleLayer&) const’
187 | bool operator<(const AssignSingleLayer& other) const {
| ^~~~~~~~
multinethist.h:93:16: warning: ‘virtual bool Assignment::operator>(const Assignment&) const’ was hidden [-Woverloaded-virtual=]
93 | virtual bool operator>(const Assignment& other) const {
| ^~~~~~~~
multinethist.h:184:8: note: by ‘bool AssignSingleLayer::operator>(const AssignSingleLayer&) const’
184 | bool operator>(const AssignSingleLayer& other) const {
| ^~~~~~~~
Assignment.cpp: In constructor ‘Assignment::Assignment(const arma::icube&, const arma::uvec&, const GroupSize&)’:
Assignment.cpp:19:28: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
19 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
Assignment.cpp:20:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
20 | for(arma::uword j = 0; j < group_size.number_group; j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Assignment.cpp:23:36: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
23 | for(arma::uword i = j + 1; i < group_size.number_group; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Assignment.cpp:33:28: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
33 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
Assignment.cpp: In member function ‘virtual double Assignment::compute_normalize_log_likelihood()’:
Assignment.cpp:59:28: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
59 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
Assignment.cpp:60:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
60 | for(arma::uword j = 0; j < num_groups(); j++){
| ~~^~~~~~~~~~~~~~
Assignment.cpp:61:31: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
61 | for(arma::uword i = j; i< num_groups() ; i++){
| ~^~~~~~~~~~~~~~
Assignment.cpp: In member function ‘virtual double Assignment::compute_LSE()’:
Assignment.cpp:74:28: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
74 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
Assignment.cpp:75:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
75 | for(arma::uword j = 0; j < num_groups(); j++){
| ~~^~~~~~~~~~~~~~
Assignment.cpp:76:31: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
76 | for(arma::uword i = 0; i< num_groups() ; i++){
| ~^~~~~~~~~~~~~~
Assignment.cpp:84:28: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
84 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
Assignment.cpp:85:28: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
85 | for(arma::uword i=0; i < num_groups()-1; i++){
| ~~^~~~~~~~~~~~~~~~
Assignment.cpp: In member function ‘virtual void Assignment::update_thetahat(const arma::uvec&, const arma::icube&)’:
Assignment.cpp:115:28: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
115 | for(arma::uword i = 0; i < n_nodes; i++){
| ~~^~~~~~~~~
Assignment.cpp:120:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
120 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
Assignment.cpp: In constructor ‘AssignCommonF::AssignCommonF(const arma::icube&, const arma::uvec&, const GroupSize&)’:
Assignment.cpp:184:28: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
184 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
Assignment.cpp:186:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
186 | for(arma::uword j = 0; j < group_size.number_group; j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Assignment.cpp:189:34: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
189 | for(arma::uword i = j+1; i < group_size.number_group; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Assignment.cpp: In member function ‘virtual void AssignCommonF::update_thetahat(const arma::uvec&, const arma::icube&)’:
Assignment.cpp:216:28: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
216 | for(arma::uword i = 0; i < n_nodes; i++){
| ~~^~~~~~~~~
Assignment.cpp:221:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
221 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
Assignment.cpp: In member function ‘void AssignCommonF::get_thetahat_common_f()’:
Assignment.cpp:248:28: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
248 | for(arma::uword l = 0; l < n_layers; l++){
| ~~^~~~~~~~~~
Assignment.cpp: In constructor ‘AssignSingleLayer::AssignSingleLayer(const arma::imat&, const arma::uvec&, const GroupSize&)’:
Assignment.cpp:291:28: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
291 | for(arma::uword j = 0; j < n_nodes; j++){
| ~~^~~~~~~~~
Assignment.cpp:293:32: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
293 | for(arma::uword i = j+1; i < n_nodes; i++){
| ~~^~~~~~~~~
Assignment.cpp: In member function ‘virtual double AssignSingleLayer::compute_normalize_log_likelihood()’:
Assignment.cpp:321:26: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
321 | for(arma::uword j= 0; j< num_groups(); j++){
| ~^~~~~~~~~~~~~~
Assignment.cpp:322:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
322 | for(arma::uword i = j; i < num_groups(); i++){
| ~~^~~~~~~~~~~~~~
Assignment.cpp: In member function ‘virtual double AssignSingleLayer::compute_LSE()’:
Assignment.cpp:335:26: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
335 | for(arma::uword j= 0; j< num_groups(); j++){
| ~^~~~~~~~~~~~~~
Assignment.cpp:336:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
336 | for(arma::uword i = j; i < num_groups(); i++){
| ~~^~~~~~~~~~~~~~
Assignment.cpp:343:26: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
343 | for(arma::uword i=0; i < num_groups()-1; i++){
| ~~^~~~~~~~~~~~~~~~
Assignment.cpp: In member function ‘void AssignSingleLayer::update_thetahat(const arma::uvec&, const arma::imat&)’:
Assignment.cpp:369:28: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
369 | for(arma::uword i = 0; i < n_nodes; i++){
| ~~^~~~~~~~~
Assignment.cpp:393:30: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
393 | for(arma::uword j = 0; j < num_groups(); j++){
| ~~^~~~~~~~~~~~~~
g++ -std=gnu++20 -shared -L/usr/local/lib64 -o nethist.so Assignment.o RcppExports.o count_k_cycle.o multinethist_fastgreedy.o net_summary_subsample_adj.o nethist_fastgreedy.o nethist_utils.o test-multinethist.o test-runner.o -fopenmp -llapack -L/data/localhost/ripley/R/R-devel/lib -lRblas -lgfortran -lm -latomic_asneeded -lquadmath
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-devel/nethist/src'
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-devel/nethist/src'
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-devel/nethist/src'
installing to /data/localhost/ripley/R/packages/tests-devel/nethist.Rcheck/00LOCK-nethist/00new/nethist/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 (nethist)