* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘ernm’ ...
** this is package ‘ernm’ version ‘1.0.0’
** package ‘ernm’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 19.1.7 (3+b1)’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpP1nTGC/R.INSTALL1fa3bf7e6507a5/ernm/src'
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c Ranker.cpp -o Ranker.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/ernm.h:14:
./../inst/include/DyadToggles.h:1613:7: warning: variable 'degree' set but not used [-Wunused-but-set-variable]
 1613 |                 int degree;
      |                     ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c RcppModule.cpp -o RcppModule.o
In file included from RcppModule.cpp:6:
../inst/include/DyadToggles.h:1613:7: warning: variable 'degree' set but not used [-Wunused-but-set-variable]
 1613 |                 int degree;
      |                     ^
In file included from RcppModule.cpp:8:
In file included from ../inst/include/MetropolisHastings.h:13:
../inst/include/ToggleController.h:73:9: warning: instantiation of variable 'ernm::ToggleController<ernm::Directed>::dyadMapPtr' required here, but no definition is available [-Wundefined-var-template]
   73 |                         pS = dyadMapPtr->at(name);
      |                              ^
../inst/include/MetropolisHastings.h:163:56: note: in instantiation of member function 'ernm::ToggleController<ernm::Directed>::getDyadToggle' requested here
  163 |                 dyadToggle = DyadTogglePtr(ToggleController<Engine>::getDyadToggle(name,params));
      |                                                                      ^
RcppModule.cpp:82:63: note: in instantiation of member function 'ernm::MetropolisHastings<ernm::Directed>::setDyadToggleType' requested here
   82 |                         .method("setDyadToggleType",&MetropolisHastings<Directed>::setDyadToggleType)
      |                                                                                    ^
../inst/include/ToggleController.h:26:18: note: forward declaration of template entity is here
   26 |         static DtMapPtr dyadMapPtr;
      |                         ^
../inst/include/ToggleController.h:73:9: note: add an explicit instantiation declaration to suppress this warning if 'ernm::ToggleController<ernm::Directed>::dyadMapPtr' is explicitly instantiated in another translation unit
   73 |                         pS = dyadMapPtr->at(name);
      |                              ^
../inst/include/ToggleController.h:93:9: warning: instantiation of variable 'ernm::ToggleController<ernm::Directed>::vertexMapPtr' required here, but no definition is available [-Wundefined-var-template]
   93 |                         pS = vertexMapPtr->at(name);
      |                              ^
../inst/include/MetropolisHastings.h:171:58: note: in instantiation of member function 'ernm::ToggleController<ernm::Directed>::getVertexToggle' requested here
  171 |                 vertToggle = VertexTogglePtr(ToggleController<Engine>::getVertexToggle(name,params));
      |                                                                        ^
RcppModule.cpp:83:65: note: in instantiation of member function 'ernm::MetropolisHastings<ernm::Directed>::setVertexToggleType' requested here
   83 |                         .method("setVertexToggleType",&MetropolisHastings<Directed>::setVertexToggleType)
      |                                                                                      ^
../inst/include/ToggleController.h:27:18: note: forward declaration of template entity is here
   27 |         static VtMapPtr vertexMapPtr;
      |                         ^
../inst/include/ToggleController.h:93:9: note: add an explicit instantiation declaration to suppress this warning if 'ernm::ToggleController<ernm::Directed>::vertexMapPtr' is explicitly instantiated in another translation unit
   93 |                         pS = vertexMapPtr->at(name);
      |                              ^
../inst/include/ToggleController.h:73:9: warning: instantiation of variable 'ernm::ToggleController<ernm::Undirected>::dyadMapPtr' required here, but no definition is available [-Wundefined-var-template]
   73 |                         pS = dyadMapPtr->at(name);
      |                              ^
../inst/include/MetropolisHastings.h:163:56: note: in instantiation of member function 'ernm::ToggleController<ernm::Undirected>::getDyadToggle' requested here
  163 |                 dyadToggle = DyadTogglePtr(ToggleController<Engine>::getDyadToggle(name,params));
      |                                                                      ^
RcppModule.cpp:94:65: note: in instantiation of member function 'ernm::MetropolisHastings<ernm::Undirected>::setDyadToggleType' requested here
   94 |                         .method("setDyadToggleType",&MetropolisHastings<Undirected>::setDyadToggleType)
      |                                                                                      ^
../inst/include/ToggleController.h:26:18: note: forward declaration of template entity is here
   26 |         static DtMapPtr dyadMapPtr;
      |                         ^
../inst/include/ToggleController.h:73:9: note: add an explicit instantiation declaration to suppress this warning if 'ernm::ToggleController<ernm::Undirected>::dyadMapPtr' is explicitly instantiated in another translation unit
   73 |                         pS = dyadMapPtr->at(name);
      |                              ^
../inst/include/ToggleController.h:93:9: warning: instantiation of variable 'ernm::ToggleController<ernm::Undirected>::vertexMapPtr' required here, but no definition is available [-Wundefined-var-template]
   93 |                         pS = vertexMapPtr->at(name);
      |                              ^
../inst/include/MetropolisHastings.h:171:58: note: in instantiation of member function 'ernm::ToggleController<ernm::Undirected>::getVertexToggle' requested here
  171 |                 vertToggle = VertexTogglePtr(ToggleController<Engine>::getVertexToggle(name,params));
      |                                                                        ^
RcppModule.cpp:95:67: note: in instantiation of member function 'ernm::MetropolisHastings<ernm::Undirected>::setVertexToggleType' requested here
   95 |                         .method("setVertexToggleType",&MetropolisHastings<Undirected>::setVertexToggleType)
      |                                                                                        ^
../inst/include/ToggleController.h:27:18: note: forward declaration of template entity is here
   27 |         static VtMapPtr vertexMapPtr;
      |                         ^
../inst/include/ToggleController.h:93:9: note: add an explicit instantiation declaration to suppress this warning if 'ernm::ToggleController<ernm::Undirected>::vertexMapPtr' is explicitly instantiated in another translation unit
   93 |                         pS = vertexMapPtr->at(name);
      |                              ^
In file included from RcppModule.cpp:8:
In file included from ../inst/include/MetropolisHastings.h:11:
In file included from ../inst/include/Model.h:13:
../inst/include/StatController.h:61:9: warning: instantiation of variable 'ernm::StatController<ernm::Undirected>::statMapPtr' required here, but no definition is available [-Wundefined-var-template]
   61 |                         pS = statMapPtr->at(name);
      |                              ^
../inst/include/Model.h:452:54: note: in instantiation of member function 'ernm::StatController<ernm::Undirected>::getStat' requested here
  452 |                 AbstractStat<Engine>* ps = StatController<Engine>::getStat(name, params);
      |                                                                    ^
RcppModule.cpp:140:46: note: in instantiation of member function 'ernm::Model<ernm::Undirected>::addStatistic' requested here
  140 |                 .method("addStatistic",&Model<Undirected>::addStatistic)
      |                                                            ^
../inst/include/StatController.h:38:20: note: forward declaration of template entity is here
   38 |         static StatMapPtr statMapPtr;
      |                           ^
../inst/include/StatController.h:61:9: note: add an explicit instantiation declaration to suppress this warning if 'ernm::StatController<ernm::Undirected>::statMapPtr' is explicitly instantiated in another translation unit
   61 |                         pS = statMapPtr->at(name);
      |                              ^
../inst/include/StatController.h:77:9: warning: instantiation of variable 'ernm::StatController<ernm::Undirected>::offsetMapPtr' required here, but no definition is available [-Wundefined-var-template]
   77 |                         pS = offsetMapPtr->at(name);
      |                              ^
../inst/include/Model.h:465:56: note: in instantiation of member function 'ernm::StatController<ernm::Undirected>::getOffset' requested here
  465 |                 AbstractOffset<Engine>* ps = StatController<Engine>::getOffset(name, params);
      |                                                                      ^
RcppModule.cpp:141:43: note: in instantiation of member function 'ernm::Model<ernm::Undirected>::addOffset' requested here
  141 |                 .method("addOffset",&Model<Undirected>::addOffset)
      |                                                         ^
../inst/include/StatController.h:39:22: note: forward declaration of template entity is here
   39 |         static OffsetMapPtr offsetMapPtr;
      |                             ^
../inst/include/StatController.h:77:9: note: add an explicit instantiation declaration to suppress this warning if 'ernm::StatController<ernm::Undirected>::offsetMapPtr' is explicitly instantiated in another translation unit
   77 |                         pS = offsetMapPtr->at(name);
      |                              ^
../inst/include/StatController.h:61:9: warning: instantiation of variable 'ernm::StatController<ernm::Directed>::statMapPtr' required here, but no definition is available [-Wundefined-var-template]
   61 |                         pS = statMapPtr->at(name);
      |                              ^
../inst/include/Model.h:452:54: note: in instantiation of member function 'ernm::StatController<ernm::Directed>::getStat' requested here
  452 |                 AbstractStat<Engine>* ps = StatController<Engine>::getStat(name, params);
      |                                                                    ^
RcppModule.cpp:160:44: note: in instantiation of member function 'ernm::Model<ernm::Directed>::addStatistic' requested here
  160 |                 .method("addStatistic",&Model<Directed>::addStatistic)
      |                                                          ^
../inst/include/StatController.h:38:20: note: forward declaration of template entity is here
   38 |         static StatMapPtr statMapPtr;
      |                           ^
../inst/include/StatController.h:61:9: note: add an explicit instantiation declaration to suppress this warning if 'ernm::StatController<ernm::Directed>::statMapPtr' is explicitly instantiated in another translation unit
   61 |                         pS = statMapPtr->at(name);
      |                              ^
../inst/include/StatController.h:77:9: warning: instantiation of variable 'ernm::StatController<ernm::Directed>::offsetMapPtr' required here, but no definition is available [-Wundefined-var-template]
   77 |                         pS = offsetMapPtr->at(name);
      |                              ^
../inst/include/Model.h:465:56: note: in instantiation of member function 'ernm::StatController<ernm::Directed>::getOffset' requested here
  465 |                 AbstractOffset<Engine>* ps = StatController<Engine>::getOffset(name, params);
      |                                                                      ^
RcppModule.cpp:161:41: note: in instantiation of member function 'ernm::Model<ernm::Directed>::addOffset' requested here
  161 |                 .method("addOffset",&Model<Directed>::addOffset)
      |                                                       ^
../inst/include/StatController.h:39:22: note: forward declaration of template entity is here
   39 |         static OffsetMapPtr offsetMapPtr;
      |                             ^
../inst/include/StatController.h:77:9: note: add an explicit instantiation declaration to suppress this warning if 'ernm::StatController<ernm::Directed>::offsetMapPtr' is explicitly instantiated in another translation unit
   77 |                         pS = offsetMapPtr->at(name);
      |                              ^
9 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c StatController.cpp -o StatController.o
In file included from StatController.cpp:3:
../inst/include/Stats.h:334:36: warning: extra ';' inside a class [-Wextra-semi]
  334 |         std::vector<double> sumNbrDegrees;;
      |                                           ^
../inst/include/Stats.h:410:11: warning: variable 'nExpected' set but not used [-Wunused-but-set-variable]
  410 |                         double nExpected = nEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:456:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  456 |                         double curNExpected = curNEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:492:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  492 |                         double curNExpected = curNEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:527:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  527 |                         double curNExpected = curNEdgesBetweenNbrs * curNPosTri / curNPosEdges;
      |                                ^
../inst/include/Stats.h:528:11: warning: variable 'newNExpected' set but not used [-Wunused-but-set-variable]
  528 |                         double newNExpected = newNEdgesBetweenNbrs * newNPosTri / newNPosEdges;
      |                                ^
../inst/include/Stats.h:1450:14: warning: unused variable 'addingEdge' [-Wunused-variable]
 1450 |         bool addingEdge = !net.hasEdge(from,to);
      |              ^~~~~~~~~~
../inst/include/Stats.h:1635:10: warning: unused variable 'var' [-Wunused-variable]
 1635 |                 double var = 0.0;
      |                        ^~~
../inst/include/Stats.h:1636:10: warning: unused variable 'skew' [-Wunused-variable]
 1636 |                 double skew = 0.0;
      |                        ^~~~
../inst/include/Stats.h:1748:10: warning: variable 'var' set but not used [-Wunused-but-set-variable]
 1748 |                 double var = 0.0;
      |                        ^
../inst/include/Stats.h:1879:10: warning: variable 'sum' set but not used [-Wunused-but-set-variable]
 1879 |                 double sum = 0.0;
      |                        ^
../inst/include/Stats.h:2120:10: warning: unused variable 'toDeg' [-Wunused-variable]
 2120 |                 double toDeg;
      |                        ^~~~~
../inst/include/Stats.h:2121:10: warning: unused variable 'fromDeg' [-Wunused-variable]
 2121 |                 double fromDeg;
      |                        ^~~~~~~
../inst/include/Stats.h:2132:10: warning: variable 'deg' set but not used [-Wunused-but-set-variable]
 2132 |                 double deg = net.degree(from);
      |                        ^
../inst/include/Stats.h:2212:10: warning: variable 'var' set but not used [-Wunused-but-set-variable]
 2212 |                 double var = 0.0;
      |                        ^
../inst/include/Stats.h:2266:10: warning: unused variable 'mean' [-Wunused-variable]
 2266 |                 double mean = sum / n;
      |                        ^~~~
16 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c ToggleController.cpp -o ToggleController.o
In file included from ToggleController.cpp:11:
../inst/include/DyadToggles.h:1613:7: warning: variable 'degree' set but not used [-Wunused-but-set-variable]
 1613 |                 int degree;
      |                     ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c VarAttrib.cpp -o VarAttrib.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c main.cpp -o main.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c test.cpp -o test.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c test_BinaryNet.cpp -o test_BinaryNet.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c test_Constraint.cpp -o test_Constraint.o
In file included from test_Constraint.cpp:12:
../inst/include/Stats.h:334:36: warning: extra ';' inside a class [-Wextra-semi]
  334 |         std::vector<double> sumNbrDegrees;;
      |                                           ^
../inst/include/Stats.h:410:11: warning: variable 'nExpected' set but not used [-Wunused-but-set-variable]
  410 |                         double nExpected = nEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:456:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  456 |                         double curNExpected = curNEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:492:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  492 |                         double curNExpected = curNEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:527:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  527 |                         double curNExpected = curNEdgesBetweenNbrs * curNPosTri / curNPosEdges;
      |                                ^
../inst/include/Stats.h:528:11: warning: variable 'newNExpected' set but not used [-Wunused-but-set-variable]
  528 |                         double newNExpected = newNEdgesBetweenNbrs * newNPosTri / newNPosEdges;
      |                                ^
../inst/include/Stats.h:1450:14: warning: unused variable 'addingEdge' [-Wunused-variable]
 1450 |         bool addingEdge = !net.hasEdge(from,to);
      |              ^~~~~~~~~~
../inst/include/Stats.h:1635:10: warning: unused variable 'var' [-Wunused-variable]
 1635 |                 double var = 0.0;
      |                        ^~~
../inst/include/Stats.h:1636:10: warning: unused variable 'skew' [-Wunused-variable]
 1636 |                 double skew = 0.0;
      |                        ^~~~
../inst/include/Stats.h:1748:10: warning: variable 'var' set but not used [-Wunused-but-set-variable]
 1748 |                 double var = 0.0;
      |                        ^
../inst/include/Stats.h:1879:10: warning: variable 'sum' set but not used [-Wunused-but-set-variable]
 1879 |                 double sum = 0.0;
      |                        ^
../inst/include/Stats.h:2120:10: warning: unused variable 'toDeg' [-Wunused-variable]
 2120 |                 double toDeg;
      |                        ^~~~~
../inst/include/Stats.h:2121:10: warning: unused variable 'fromDeg' [-Wunused-variable]
 2121 |                 double fromDeg;
      |                        ^~~~~~~
../inst/include/Stats.h:2132:10: warning: variable 'deg' set but not used [-Wunused-but-set-variable]
 2132 |                 double deg = net.degree(from);
      |                        ^
../inst/include/Stats.h:2212:10: warning: variable 'var' set but not used [-Wunused-but-set-variable]
 2212 |                 double var = 0.0;
      |                        ^
../inst/include/Stats.h:2266:10: warning: unused variable 'mean' [-Wunused-variable]
 2266 |                 double mean = sum / n;
      |                        ^~~~
In file included from test_Constraint.cpp:17:
../inst/include/DyadToggles.h:1613:7: warning: variable 'degree' set but not used [-Wunused-but-set-variable]
 1613 |                 int degree;
      |                     ^
17 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c test_Stat.cpp -o test_Stat.o
In file included from test_Stat.cpp:11:
../inst/include/Stats.h:334:36: warning: extra ';' inside a class [-Wextra-semi]
  334 |         std::vector<double> sumNbrDegrees;;
      |                                           ^
../inst/include/Stats.h:410:11: warning: variable 'nExpected' set but not used [-Wunused-but-set-variable]
  410 |                         double nExpected = nEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:456:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  456 |                         double curNExpected = curNEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:492:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  492 |                         double curNExpected = curNEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:527:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  527 |                         double curNExpected = curNEdgesBetweenNbrs * curNPosTri / curNPosEdges;
      |                                ^
../inst/include/Stats.h:528:11: warning: variable 'newNExpected' set but not used [-Wunused-but-set-variable]
  528 |                         double newNExpected = newNEdgesBetweenNbrs * newNPosTri / newNPosEdges;
      |                                ^
../inst/include/Stats.h:1450:14: warning: unused variable 'addingEdge' [-Wunused-variable]
 1450 |         bool addingEdge = !net.hasEdge(from,to);
      |              ^~~~~~~~~~
../inst/include/Stats.h:1635:10: warning: unused variable 'var' [-Wunused-variable]
 1635 |                 double var = 0.0;
      |                        ^~~
../inst/include/Stats.h:1636:10: warning: unused variable 'skew' [-Wunused-variable]
 1636 |                 double skew = 0.0;
      |                        ^~~~
../inst/include/Stats.h:1748:10: warning: variable 'var' set but not used [-Wunused-but-set-variable]
 1748 |                 double var = 0.0;
      |                        ^
../inst/include/Stats.h:1879:10: warning: variable 'sum' set but not used [-Wunused-but-set-variable]
 1879 |                 double sum = 0.0;
      |                        ^
../inst/include/Stats.h:2120:10: warning: unused variable 'toDeg' [-Wunused-variable]
 2120 |                 double toDeg;
      |                        ^~~~~
../inst/include/Stats.h:2121:10: warning: unused variable 'fromDeg' [-Wunused-variable]
 2121 |                 double fromDeg;
      |                        ^~~~~~~
../inst/include/Stats.h:2132:10: warning: variable 'deg' set but not used [-Wunused-but-set-variable]
 2132 |                 double deg = net.degree(from);
      |                        ^
../inst/include/Stats.h:2212:10: warning: variable 'var' set but not used [-Wunused-but-set-variable]
 2212 |                 double var = 0.0;
      |                        ^
../inst/include/Stats.h:2266:10: warning: unused variable 'mean' [-Wunused-variable]
 2266 |                 double mean = sum / n;
      |                        ^~~~
In file included from test_Stat.cpp:14:
../inst/include/DyadToggles.h:1613:7: warning: variable 'degree' set but not used [-Wunused-but-set-variable]
 1613 |                 int degree;
      |                     ^
17 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c test_TaperedModel.cpp -o test_TaperedModel.o
In file included from test_TaperedModel.cpp:14:
../inst/include/Stats.h:334:36: warning: extra ';' inside a class [-Wextra-semi]
  334 |         std::vector<double> sumNbrDegrees;;
      |                                           ^
../inst/include/Stats.h:410:11: warning: variable 'nExpected' set but not used [-Wunused-but-set-variable]
  410 |                         double nExpected = nEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:456:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  456 |                         double curNExpected = curNEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:492:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  492 |                         double curNExpected = curNEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:527:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  527 |                         double curNExpected = curNEdgesBetweenNbrs * curNPosTri / curNPosEdges;
      |                                ^
../inst/include/Stats.h:528:11: warning: variable 'newNExpected' set but not used [-Wunused-but-set-variable]
  528 |                         double newNExpected = newNEdgesBetweenNbrs * newNPosTri / newNPosEdges;
      |                                ^
../inst/include/Stats.h:1450:14: warning: unused variable 'addingEdge' [-Wunused-variable]
 1450 |         bool addingEdge = !net.hasEdge(from,to);
      |              ^~~~~~~~~~
../inst/include/Stats.h:1635:10: warning: unused variable 'var' [-Wunused-variable]
 1635 |                 double var = 0.0;
      |                        ^~~
../inst/include/Stats.h:1636:10: warning: unused variable 'skew' [-Wunused-variable]
 1636 |                 double skew = 0.0;
      |                        ^~~~
../inst/include/Stats.h:1748:10: warning: variable 'var' set but not used [-Wunused-but-set-variable]
 1748 |                 double var = 0.0;
      |                        ^
../inst/include/Stats.h:1879:10: warning: variable 'sum' set but not used [-Wunused-but-set-variable]
 1879 |                 double sum = 0.0;
      |                        ^
../inst/include/Stats.h:2120:10: warning: unused variable 'toDeg' [-Wunused-variable]
 2120 |                 double toDeg;
      |                        ^~~~~
../inst/include/Stats.h:2121:10: warning: unused variable 'fromDeg' [-Wunused-variable]
 2121 |                 double fromDeg;
      |                        ^~~~~~~
../inst/include/Stats.h:2132:10: warning: variable 'deg' set but not used [-Wunused-but-set-variable]
 2132 |                 double deg = net.degree(from);
      |                        ^
../inst/include/Stats.h:2212:10: warning: variable 'var' set but not used [-Wunused-but-set-variable]
 2212 |                 double var = 0.0;
      |                        ^
../inst/include/Stats.h:2266:10: warning: unused variable 'mean' [-Wunused-variable]
 2266 |                 double mean = sum / n;
      |                        ^~~~
In file included from test_TaperedModel.cpp:17:
../inst/include/DyadToggles.h:1613:7: warning: variable 'degree' set but not used [-Wunused-but-set-variable]
 1613 |                 int degree;
      |                     ^
17 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c test_Toggle.cpp -o test_Toggle.o
In file included from test_Toggle.cpp:11:
../inst/include/Stats.h:334:36: warning: extra ';' inside a class [-Wextra-semi]
  334 |         std::vector<double> sumNbrDegrees;;
      |                                           ^
../inst/include/Stats.h:410:11: warning: variable 'nExpected' set but not used [-Wunused-but-set-variable]
  410 |                         double nExpected = nEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:456:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  456 |                         double curNExpected = curNEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:492:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  492 |                         double curNExpected = curNEdgesBetweenNbrs * nPosTri / nPosEdges;
      |                                ^
../inst/include/Stats.h:527:11: warning: variable 'curNExpected' set but not used [-Wunused-but-set-variable]
  527 |                         double curNExpected = curNEdgesBetweenNbrs * curNPosTri / curNPosEdges;
      |                                ^
../inst/include/Stats.h:528:11: warning: variable 'newNExpected' set but not used [-Wunused-but-set-variable]
  528 |                         double newNExpected = newNEdgesBetweenNbrs * newNPosTri / newNPosEdges;
      |                                ^
../inst/include/Stats.h:1450:14: warning: unused variable 'addingEdge' [-Wunused-variable]
 1450 |         bool addingEdge = !net.hasEdge(from,to);
      |              ^~~~~~~~~~
../inst/include/Stats.h:1635:10: warning: unused variable 'var' [-Wunused-variable]
 1635 |                 double var = 0.0;
      |                        ^~~
../inst/include/Stats.h:1636:10: warning: unused variable 'skew' [-Wunused-variable]
 1636 |                 double skew = 0.0;
      |                        ^~~~
../inst/include/Stats.h:1748:10: warning: variable 'var' set but not used [-Wunused-but-set-variable]
 1748 |                 double var = 0.0;
      |                        ^
../inst/include/Stats.h:1879:10: warning: variable 'sum' set but not used [-Wunused-but-set-variable]
 1879 |                 double sum = 0.0;
      |                        ^
../inst/include/Stats.h:2120:10: warning: unused variable 'toDeg' [-Wunused-variable]
 2120 |                 double toDeg;
      |                        ^~~~~
../inst/include/Stats.h:2121:10: warning: unused variable 'fromDeg' [-Wunused-variable]
 2121 |                 double fromDeg;
      |                        ^~~~~~~
../inst/include/Stats.h:2132:10: warning: variable 'deg' set but not used [-Wunused-but-set-variable]
 2132 |                 double deg = net.degree(from);
      |                        ^
../inst/include/Stats.h:2212:10: warning: variable 'var' set but not used [-Wunused-but-set-variable]
 2212 |                 double var = 0.0;
      |                        ^
../inst/include/Stats.h:2266:10: warning: unused variable 'mean' [-Wunused-variable]
 2266 |                 double mean = sum / n;
      |                        ^~~~
In file included from test_Toggle.cpp:14:
../inst/include/DyadToggles.h:1613:7: warning: variable 'degree' set but not used [-Wunused-but-set-variable]
 1613 |                 int degree;
      |                     ^
17 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c util.cpp -o util.o
clang++-19 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o ernm.so Ranker.o RcppExports.o RcppModule.o StatController.o ToggleController.o VarAttrib.o main.o test.o test_BinaryNet.o test_Constraint.o test_Stat.o test_TaperedModel.o test_Toggle.o util.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpP1nTGC/R.INSTALL1fa3bf7e6507a5/ernm/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpP1nTGC/R.INSTALL1fa3bf7e6507a5/ernm/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpP1nTGC/R.INSTALL1fa3bf7e6507a5/ernm/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-ernm/00new/ernm/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (ernm)