* installing *source* package ‘rSpectral’ ...
** package ‘rSpectral’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using C++11
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c SpectralModularity.cpp -o SpectralModularity.o
SpectralModularity.cpp:88:12: warning: variable 'KK' set but not used [-Wunused-but-set-variable]
  int k,Ng,KK;
           ^
SpectralModularity.cpp:197:7: warning: unused variable 'i' [-Wunused-variable]
  int i,k,Ng,KK; 
      ^
SpectralModularity.cpp:258:10: warning: variable 'sum' set but not used [-Wunused-but-set-variable]
  double sum=0.0;
         ^
SpectralModularity.cpp:284:15: warning: variable 'KK' set but not used [-Wunused-but-set-variable]
  int i,j,k,K,KK,Ng,indx_max;
              ^
SpectralModularity.cpp:284:7: warning: unused variable 'i' [-Wunused-variable]
  int i,j,k,K,KK,Ng,indx_max;
      ^
SpectralModularity.cpp:285:8: warning: variable 'status' set but not used [-Wunused-but-set-variable]
  bool status;
       ^
SpectralModularity.cpp:284:9: warning: unused variable 'j' [-Wunused-variable]
  int i,j,k,K,KK,Ng,indx_max;
        ^
SpectralModularity.cpp:284:21: warning: unused variable 'indx_max' [-Wunused-variable]
  int i,j,k,K,KK,Ng,indx_max;
                    ^
SpectralModularity.cpp:404:15: warning: variable 'KK' set but not used [-Wunused-but-set-variable]
  int i,j,J,k,KK,Ng;
              ^
SpectralModularity.cpp:404:11: warning: unused variable 'J' [-Wunused-variable]
  int i,j,J,k,KK,Ng;
          ^
SpectralModularity.cpp:566:30: warning: variable 'sFixed' set but not used [-Wunused-but-set-variable]
  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]
  int u,v,i,j,k,Ng,node_K,neig_K,sFixed;
                                 ^
SpectralModularity.cpp:823:9: warning: unused variable 'count' [-Wunused-variable]
    int count   = 0;
        ^
SpectralModularity.cpp:1057:13: warning: unused variable 'p' [-Wunused-variable]
  int i,j,k,p,KK,Ng;
            ^
In file included from SpectralModularity.cpp:1:
./SpectralModularity.h:73:10: warning: private field 'usedBgi' is not used [-Wunused-private-field]
  bool   usedBgi;
         ^
15 warnings generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c edge.cpp -o edge.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c network.cpp -o network.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c rSpectral.cpp -o rSpectral.o
rSpectral.cpp:275:11: warning: unused variable 'cal' [-Wunused-variable]
      int cal = model->calculateSpectralModularity();
          ^
rSpectral.cpp:218:7: warning: variable 'alphaNumeric' set but not used [-Wunused-but-set-variable]
  int alphaNumeric = 1;
      ^
2 warnings generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c readfile.cpp -o readfile.o
readfile.cpp:358:7: warning: variable 'i' set but not used [-Wunused-but-set-variable]
  int i,j,k,KK;
      ^
1 warning generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c vertex.cpp -o vertex.o
vertex.cpp:112:7: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
1 warning generated.
clang++ -arch arm64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o rSpectral.so RcppExports.o SpectralModularity.o edge.o network.o rSpectral.o readfile.o vertex.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/rSpectral.Rcheck/00LOCK-rSpectral/00new/rSpectral/libs
** generating debug symbols (dSYM)
** 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)