* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘rSpectral’ ...
** this is package ‘rSpectral’ version ‘1.0.0.10’
** package ‘rSpectral’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-15 (Debian 15.2.0-4) 15.2.0’
using C++11
make[1]: Entering directory '/tmp/Rtmp0TzkQZ/R.INSTALL1d224d377e879e/rSpectral/src'
g++-15 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
from RcppExports.cpp:4:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:199: note: ‘#pragma message: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.’
66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.")
| ^
g++-15 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c SpectralModularity.cpp -o SpectralModularity.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
from Headers.h:20,
from SpectralModularity.h:11,
from SpectralModularity.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:199: note: ‘#pragma message: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.’
66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.")
| ^
SpectralModularity.cpp: In member function ‘int SpectralModularity::calculateSpectralModularity()’:
SpectralModularity.cpp:88:12: warning: variable ‘KK’ set but not used [-Wunused-but-set-variable]
88 | int k,Ng,KK;
| ^~
SpectralModularity.cpp: In member function ‘void SpectralModularity::assignSpace()’:
SpectralModularity.cpp:197:7: warning: unused variable ‘i’ [-Wunused-variable]
197 | int i,k,Ng,KK;
| ^
SpectralModularity.cpp: In member function ‘void SpectralModularity::calculateEigenVectors()’:
SpectralModularity.cpp:312:22: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
312 | if( opts.subdim > Ng ){ opts.subdim = sMat.n_rows; }
| ~~~~~~~~~~~~^~~~
SpectralModularity.cpp:284:7: warning: unused variable ‘i’ [-Wunused-variable]
284 | int i,j,k,K,KK,Ng,indx_max;
| ^
SpectralModularity.cpp:284:9: warning: unused variable ‘j’ [-Wunused-variable]
284 | int i,j,k,K,KK,Ng,indx_max;
| ^
SpectralModularity.cpp:284:15: warning: variable ‘KK’ set but not used [-Wunused-but-set-variable]
284 | int i,j,k,K,KK,Ng,indx_max;
| ^~
SpectralModularity.cpp:284:21: warning: unused variable ‘indx_max’ [-Wunused-variable]
284 | int i,j,k,K,KK,Ng,indx_max;
| ^~~~~~~~
SpectralModularity.cpp:285:8: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
285 | bool status;
| ^~~~~~
SpectralModularity.cpp: In member function ‘void SpectralModularity::deltaModularity(double&)’:
SpectralModularity.cpp:404:11: warning: unused variable ‘J’ [-Wunused-variable]
404 | int i,j,J,k,KK,Ng;
| ^
SpectralModularity.cpp:404:15: warning: variable ‘KK’ set but not used [-Wunused-but-set-variable]
404 | int i,j,J,k,KK,Ng;
| ^~
SpectralModularity.cpp: In member function ‘void SpectralModularity::fixNodes()’:
SpectralModularity.cpp:566:30: warning: variable ‘sFixed’ set but not used [-Wunused-but-set-variable]
566 | int u,v,i,Ng,node_K,neig_K,sFixed;
| ^~~~~~
SpectralModularity.cpp: In member function ‘void SpectralModularity::fixNodes(int, int*, const char*)’:
SpectralModularity.cpp:604:34: warning: variable ‘sFixed’ set but not used [-Wunused-but-set-variable]
604 | int u,v,i,j,k,Ng,node_K,neig_K,sFixed;
| ^~~~~~
SpectralModularity.cpp: In member function ‘void SpectralModularity::split(double*, int, int*, const char*)’:
SpectralModularity.cpp:823:9: warning: unused variable ‘count’ [-Wunused-variable]
823 | int count = 0;
| ^~~~~
SpectralModularity.cpp: In member function ‘void SpectralModularity::calculateB(double*, int)’:
SpectralModularity.cpp:1057:13: warning: unused variable ‘p’ [-Wunused-variable]
1057 | int i,j,k,p,KK,Ng;
| ^
g++-15 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c edge.cpp -o edge.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
from Headers.h:20,
from edge.h:5,
from edge.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:199: note: ‘#pragma message: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.’
66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.")
| ^
g++-15 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c network.cpp -o network.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
from Headers.h:20,
from network.h:5,
from network.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:199: note: ‘#pragma message: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.’
66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.")
| ^
g++-15 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c rSpectral.cpp -o rSpectral.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
from Headers.h:20,
from rSpectral.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:199: note: ‘#pragma message: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.’
66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.")
| ^
rSpectral.cpp: In function ‘void spectral(Rcpp::IntegerVector, Rcpp::NumericVector, Rcpp::IntegerVector, Rcpp::IntegerVector)’:
rSpectral.cpp:275:11: warning: unused variable ‘cal’ [-Wunused-variable]
275 | int cal = model->calculateSpectralModularity();
| ^~~
rSpectral.cpp:218:7: warning: variable ‘alphaNumeric’ set but not used [-Wunused-but-set-variable]
218 | int alphaNumeric = 1;
| ^~~~~~~~~~~~
g++-15 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c readfile.cpp -o readfile.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
from Headers.h:20,
from network.h:5,
from readfile.h:5,
from readfile.cpp:18:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:199: note: ‘#pragma message: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.’
66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.")
| ^
readfile.cpp: In constructor ‘readfile::readfile(network*, std::string*, int, int, int)’:
readfile.cpp:358:7: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
358 | int i,j,k,KK;
| ^
g++-15 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c vertex.cpp -o vertex.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
from Headers.h:20,
from edge.h:5,
from vertex.h:5,
from vertex.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:199: note: ‘#pragma message: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.’
66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.")
| ^
vertex.cpp: In member function ‘void vertex::assignE(int)’:
vertex.cpp:112:7: warning: unused variable ‘i’ [-Wunused-variable]
112 | int i;
| ^
g++-15 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o rSpectral.so RcppExports.o SpectralModularity.o edge.o network.o rSpectral.o readfile.o vertex.o -llapack -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmp0TzkQZ/R.INSTALL1d224d377e879e/rSpectral/src'
make[1]: Entering directory '/tmp/Rtmp0TzkQZ/R.INSTALL1d224d377e879e/rSpectral/src'
make[1]: Leaving directory '/tmp/Rtmp0TzkQZ/R.INSTALL1d224d377e879e/rSpectral/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-rSpectral/00new/rSpectral/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** 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 (rSpectral)