* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘rSpectral’ ...
** package ‘rSpectral’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
using C++11
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp8ccT7e/R.INSTALL2695ab554a156a/rSpectral/src'
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c SpectralModularity.cpp -o SpectralModularity.o
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++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c edge.cpp -o edge.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c network.cpp -o network.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c rSpectral.cpp -o rSpectral.o
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++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c readfile.cpp -o readfile.o
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++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c vertex.cpp -o vertex.o
vertex.cpp: In member function ‘void vertex::assignE(int)’:
vertex.cpp:112:7: warning: unused variable ‘i’ [-Wunused-variable]
  112 |   int i;
      |       ^
g++-14 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-release-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-release-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp8ccT7e/R.INSTALL2695ab554a156a/rSpectral/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp8ccT7e/R.INSTALL2695ab554a156a/rSpectral/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp8ccT7e/R.INSTALL2695ab554a156a/rSpectral/src'
installing to /home/hornik/tmp/R.check/r-release-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)