* installing *source* package ‘rSpectral’ ...
** this is package ‘rSpectral’ version ‘1.0.0.14’
** package ‘rSpectral’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 21.1.7’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/rSpectral/src'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c RcppExports.cpp -o RcppExports.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c SpectralModularity.cpp -o SpectralModularity.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c edge.cpp -o edge.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c network.cpp -o network.o
SpectralModularity.cpp:88:12: warning: variable 'KK' set but not used [-Wunused-but-set-variable]
88 | int k,Ng,KK;
| ^
SpectralModularity.cpp:197:7: warning: unused variable 'i' [-Wunused-variable]
197 | int i,k,Ng,KK;
| ^
SpectralModularity.cpp:258:10: warning: variable 'sum' set but not used [-Wunused-but-set-variable]
258 | double sum=0.0;
| ^
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: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: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: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:823:9: warning: unused variable 'count' [-Wunused-variable]
823 | int count = 0;
| ^~~~~
SpectralModularity.cpp:1057:13: warning: unused variable 'p' [-Wunused-variable]
1057 | int i,j,k,p,KK,Ng;
| ^
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c rSpectral.cpp -o rSpectral.o
In file included from SpectralModularity.cpp:1:
./SpectralModularity.h:73:10: warning: private field 'usedBgi' is not used [-Wunused-private-field]
73 | bool usedBgi;
| ^
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c readfile.cpp -o readfile.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c vertex.cpp -o vertex.o
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;
| ^
15 warnings generated.
2 warnings generated.
readfile.cpp:358:7: warning: variable 'i' set but not used [-Wunused-but-set-variable]
358 | int i,j,k,KK;
| ^
vertex.cpp:112:7: warning: unused variable 'i' [-Wunused-variable]
112 | int i;
| ^
1 warning generated.
1 warning generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -o rSpectral.so RcppExports.o SpectralModularity.o edge.o network.o rSpectral.o readfile.o vertex.o -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lflang_rt.runtime -lm
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/rSpectral/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/rSpectral/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/rSpectral/src'
installing to /data/gannet/ripley/R/packages/tests-clang/rSpectral.Rcheck/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)