* installing *source* package ‘ernm’ ... ** this is package ‘ernm’ version ‘1.0.0’ ** using staged installation ** libs using C++ compiler: ‘Debian clang version 19.1.7 (1+b1)’ clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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::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::getDyadToggle' requested here 163 | dyadToggle = DyadTogglePtr(ToggleController::getDyadToggle(name,params)); | ^ RcppModule.cpp:82:63: note: in instantiation of member function 'ernm::MetropolisHastings::setDyadToggleType' requested here 82 | .method("setDyadToggleType",&MetropolisHastings::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::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::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::getVertexToggle' requested here 171 | vertToggle = VertexTogglePtr(ToggleController::getVertexToggle(name,params)); | ^ RcppModule.cpp:83:65: note: in instantiation of member function 'ernm::MetropolisHastings::setVertexToggleType' requested here 83 | .method("setVertexToggleType",&MetropolisHastings::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::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::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::getDyadToggle' requested here 163 | dyadToggle = DyadTogglePtr(ToggleController::getDyadToggle(name,params)); | ^ RcppModule.cpp:94:65: note: in instantiation of member function 'ernm::MetropolisHastings::setDyadToggleType' requested here 94 | .method("setDyadToggleType",&MetropolisHastings::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::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::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::getVertexToggle' requested here 171 | vertToggle = VertexTogglePtr(ToggleController::getVertexToggle(name,params)); | ^ RcppModule.cpp:95:67: note: in instantiation of member function 'ernm::MetropolisHastings::setVertexToggleType' requested here 95 | .method("setVertexToggleType",&MetropolisHastings::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::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::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::getStat' requested here 452 | AbstractStat* ps = StatController::getStat(name, params); | ^ RcppModule.cpp:140:46: note: in instantiation of member function 'ernm::Model::addStatistic' requested here 140 | .method("addStatistic",&Model::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::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::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::getOffset' requested here 465 | AbstractOffset* ps = StatController::getOffset(name, params); | ^ RcppModule.cpp:141:43: note: in instantiation of member function 'ernm::Model::addOffset' requested here 141 | .method("addOffset",&Model::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::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::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::getStat' requested here 452 | AbstractStat* ps = StatController::getStat(name, params); | ^ RcppModule.cpp:160:44: note: in instantiation of member function 'ernm::Model::addStatistic' requested here 160 | .method("addStatistic",&Model::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::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::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::getOffset' requested here 465 | AbstractOffset* ps = StatController::getOffset(name, params); | ^ RcppModule.cpp:161:41: note: in instantiation of member function 'ernm::Model::addOffset' requested here 161 | .method("addOffset",&Model::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::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/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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 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/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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 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/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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 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/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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 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/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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 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/include" -DNDEBUG -I../inst/include -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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/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/lib -lR installing to /srv/hornik/tmp/CRAN_pretest/ernm.Rcheck/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)