* installing *source* package ‘rSpectral’ ...
** package ‘rSpectral’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++11
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c SpectralModularity.cpp -o SpectralModularity.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c edge.cpp -o edge.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c network.cpp -o network.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c rSpectral.cpp -o rSpectral.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c readfile.cpp -o readfile.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;
         ^
readfile.cpp:358:7: warning: variable 'i' set but not used [-Wunused-but-set-variable]
  int i,j,k,KK;
      ^
SpectralModularity.cpp:284:7: warning: unused variable 'i' [-Wunused-variable]
  int i,j,k,K,KK,Ng,indx_max;
      ^
SpectralModularity.cpp:284:9: warning: unused variable 'j' [-Wunused-variable]
  int i,j,k,K,KK,Ng,indx_max;
        ^
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:21: warning: unused variable 'indx_max' [-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:404:11: warning: unused variable 'J' [-Wunused-variable]
  int i,j,J,k,KK,Ng;
          ^
SpectralModularity.cpp:404:15: warning: variable 'KK' set but not used [-Wunused-but-set-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;
            ^
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;
      ^
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c vertex.cpp -o vertex.o
In file included from SpectralModularity.cpp:1:
./SpectralModularity.h:73:10: warning: private field 'usedBgi' is not used [-Wunused-private-field]
  bool   usedBgi;
         ^
1 warning generated.
2 warnings generated.
vertex.cpp:112:7: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
1 warning generated.
15 warnings generated.
clang++ -arch x86_64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/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/x86_64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/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)