* installing *source* package ‘lolog’ ... ** package ‘lolog’ 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 SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/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++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppModule.cpp -o RcppModule.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c StatController.cpp -o StatController.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c main.cpp -o main.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c test_BinaryNet.cpp -o test_BinaryNet.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c test_Constraints.cpp -o test_Constraints.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c test_LatentOrderLikelhood.cpp -o test_LatentOrderLikelhood.o In file included from test_Constraints.cpp:7: ../inst/include/Stats.h:1173:16: warning: unused variable 'toDeg' [-Wunused-variable] double toDeg; ^ ../inst/include/Stats.h:1174:16: warning: unused variable 'fromDeg' [-Wunused-variable] double fromDeg; ^ ../inst/include/Stats.h:1185:16: warning: variable 'deg' set but not used [-Wunused-but-set-variable] double deg = net.degree(from); ^ In file included from StatController.cpp:3: ../inst/include/Stats.h:1173:16: warning: unused variable 'toDeg' [-Wunused-variable] double toDeg; ^ ../inst/include/Stats.h:1174:16: warning: unused variable 'fromDeg' [-Wunused-variable] double fromDeg; ^ ../inst/include/Stats.h:1185:16: warning: variable 'deg' set but not used [-Wunused-but-set-variable] double deg = net.degree(from); ^ In file included from test_LatentOrderLikelhood.cpp:5: ../inst/include/Stats.h:1173:16: warning: unused variable 'toDeg' [-Wunused-variable] double toDeg; ^ ../inst/include/Stats.h:1174:16: warning: unused variable 'fromDeg' [-Wunused-variable] double fromDeg; ^ ../inst/include/Stats.h:1185:16: warning: variable 'deg' set but not used [-Wunused-but-set-variable] double deg = net.degree(from); ^ ../inst/include/Stats.h:2450:16: warning: unused variable 'netSize' [-Wunused-variable] double netSize = actorIndex + 1.0; ^ ../inst/include/Stats.h:2451:16: warning: unused variable 'totDegree' [-Wunused-variable] double totDegree = (net.nEdges() - hasEdge) * 2.0; ^ ../inst/include/Stats.h:2457:16: warning: unused variable 'sdegs' [-Wunused-variable] double sdegs = 0.0; ^ ../inst/include/Stats.h:2791:12: warning: unused variable 'addingEdge' [-Wunused-variable] bool addingEdge = !net.hasEdge(from,to); ^ ../inst/include/Stats.h:2450:16: warning: unused variable 'netSize' [-Wunused-variable] double netSize = actorIndex + 1.0; ^ ../inst/include/Stats.h:2451:16: warning: unused variable 'totDegree' [-Wunused-variable] double totDegree = (net.nEdges() - hasEdge) * 2.0; ^ ../inst/include/Stats.h:2457:16: warning: unused variable 'sdegs' [-Wunused-variable] double sdegs = 0.0; ^ ../inst/include/Stats.h:2450:16: warning: unused variable 'netSize' [-Wunused-variable] double netSize = actorIndex + 1.0; ^ ../inst/include/Stats.h:2451:16: warning: unused variable 'totDegree' [-Wunused-variable] double totDegree = (net.nEdges() - hasEdge) * 2.0; ^ ../inst/include/Stats.h:2457:16: warning: unused variable 'sdegs' [-Wunused-variable] double sdegs = 0.0; ^ ../inst/include/Stats.h:2791:12: warning: unused variable 'addingEdge' [-Wunused-variable] bool addingEdge = !net.hasEdge(from,to); ^ ../inst/include/Stats.h:2791:12: warning: unused variable 'addingEdge' [-Wunused-variable] bool addingEdge = !net.hasEdge(from,to); ^ ../inst/include/Stats.h:2976:10: warning: unused variable 'addingEdge' [-Wunused-variable] bool addingEdge = !net.hasEdge(from,to); ^ ../inst/include/Stats.h:2976:10: warning: unused variable 'addingEdge' [-Wunused-variable] bool addingEdge = !net.hasEdge(from,to); ^ ../inst/include/Stats.h:2976:10: warning: unused variable 'addingEdge' [-Wunused-variable] bool addingEdge = !net.hasEdge(from,to); ^ test_LatentOrderLikelhood.cpp:108:12: warning: unused variable 'llik' [-Wunused-variable] double llik = model.logLik(); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c test_ParamParser.cpp -o test_ParamParser.o ../inst/include/Stats.h:2458:26: warning: unused variable 'fit' [-Wunused-variable] NeighborIterator fit = net.begin(order[actorIndex]); ^ ../inst/include/Stat.h:247:14: note: in instantiation of member function 'lolog::SharedNbrs<lolog::Undirected>::dyadUpdate' requested here stat.dyadUpdate(net,from,to,order,actorIndex); ^ ../inst/include/Stat.h:243:9: note: in instantiation of member function 'lolog::Stat<lolog::Undirected, lolog::SharedNbrs<lolog::Undirected>>::dyadUpdate' requested here dyadUpdate(net,from,to,order,actorIndex); ^ ../inst/include/Stat.h:169:5: note: in instantiation of member function 'lolog::Stat<lolog::Undirected, lolog::SharedNbrs<lolog::Undirected>>::vDyadUpdate' requested here Stat() : stat(){} ^ StatController.cpp:86:42: note: in instantiation of member function 'lolog::Stat<lolog::Undirected, lolog::SharedNbrs<lolog::Undirected>>::Stat' requested here registerStatistic( UndirStatPtr( new UndirectedSharedNbrs() ) ); ^ In file included from StatController.cpp:3: ../inst/include/Stats.h:2459:26: warning: unused variable 'fend' [-Wunused-variable] NeighborIterator fend = net.end(order[actorIndex]); ^ In file included from RcppModule.cpp:6: In file included from ../inst/include/LatentOrderLikelihood.h:4: In file included from ../inst/include/Model.h:6: ../inst/include/StatController.h:58:18: warning: instantiation of variable 'lolog::StatController<lolog::Undirected>::statMapPtr' required here, but no definition is available [-Wundefined-var-template] pS = statMapPtr->at(name); ^ ../inst/include/Model.h:371:60: note: in instantiation of member function 'lolog::StatController<lolog::Undirected>::getStat' requested here AbstractStat<Engine>* ps = StatController<Engine>::getStat(name, params); ^ RcppModule.cpp:81:48: note: in instantiation of member function 'lolog::Model<lolog::Undirected>::addStatistic' requested here .method("addStatistic",&Model<Undirected>::addStatistic) ^ ../inst/include/StatController.h:35:23: note: forward declaration of template entity is here static StatMapPtr statMapPtr; ^ ../inst/include/StatController.h:58:18: note: add an explicit instantiation declaration to suppress this warning if 'lolog::StatController<lolog::Undirected>::statMapPtr' is explicitly instantiated in another translation unit pS = statMapPtr->at(name); ^ ../inst/include/StatController.h:74:18: warning: instantiation of variable 'lolog::StatController<lolog::Undirected>::offsetMapPtr' required here, but no definition is available [-Wundefined-var-template] pS = offsetMapPtr->at(name); ^ ../inst/include/Model.h:384:62: note: in instantiation of member function 'lolog::StatController<lolog::Undirected>::getOffset' requested here AbstractOffset<Engine>* ps = StatController<Engine>::getOffset(name, params); ^ RcppModule.cpp:82:45: note: in instantiation of member function 'lolog::Model<lolog::Undirected>::addOffset' requested here .method("addOffset",&Model<Undirected>::addOffset) ^ ../inst/include/StatController.h:36:25: note: forward declaration of template entity is here static OffsetMapPtr offsetMapPtr; ^ ../inst/include/StatController.h:74:18: note: add an explicit instantiation declaration to suppress this warning if 'lolog::StatController<lolog::Undirected>::offsetMapPtr' is explicitly instantiated in another translation unit pS = offsetMapPtr->at(name); ^ ../inst/include/StatController.h:58:18: warning: instantiation of variable 'lolog::StatController<lolog::Directed>::statMapPtr' required here, but no definition is available [-Wundefined-var-template] pS = statMapPtr->at(name); ^ ../inst/include/Model.h:371:60: note: in instantiation of member function 'lolog::StatController<lolog::Directed>::getStat' requested here AbstractStat<Engine>* ps = StatController<Engine>::getStat(name, params); ^ RcppModule.cpp:98:46: note: in instantiation of member function 'lolog::Model<lolog::Directed>::addStatistic' requested here .method("addStatistic",&Model<Directed>::addStatistic) ^ ../inst/include/StatController.h:35:23: note: forward declaration of template entity is here static StatMapPtr statMapPtr; ^ ../inst/include/StatController.h:58:18: note: add an explicit instantiation declaration to suppress this warning if 'lolog::StatController<lolog::Directed>::statMapPtr' is explicitly instantiated in another translation unit pS = statMapPtr->at(name); ^ ../inst/include/StatController.h:74:18: warning: instantiation of variable 'lolog::StatController<lolog::Directed>::offsetMapPtr' required here, but no definition is available [-Wundefined-var-template] pS = offsetMapPtr->at(name); ^ ../inst/include/Model.h:384:62: note: in instantiation of member function 'lolog::StatController<lolog::Directed>::getOffset' requested here AbstractOffset<Engine>* ps = StatController<Engine>::getOffset(name, params); ^ RcppModule.cpp:99:43: note: in instantiation of member function 'lolog::Model<lolog::Directed>::addOffset' requested here .method("addOffset",&Model<Directed>::addOffset) ^ ../inst/include/StatController.h:36:25: note: forward declaration of template entity is here static OffsetMapPtr offsetMapPtr; ^ ../inst/include/StatController.h:74:18: note: add an explicit instantiation declaration to suppress this warning if 'lolog::StatController<lolog::Directed>::offsetMapPtr' is explicitly instantiated in another translation unit pS = offsetMapPtr->at(name); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c test_Stats.cpp -o test_Stats.o test_ParamParser.cpp:10:5: warning: unused label 'Rcpp' [-Wunused-label] Rcpp:List params = Rcpp::List::create(1, Rcpp::Named("a")=2, Rcpp::Named("b") = "ss"); ^~~~~ 8 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c tests.cpp -o tests.o 1 warning generated. In file included from test_Stats.cpp:4: ../inst/include/Stats.h:1173:16: warning: unused variable 'toDeg' [-Wunused-variable] double toDeg; ^ ../inst/include/Stats.h:1174:16: warning: unused variable 'fromDeg' [-Wunused-variable] double fromDeg; ^ ../inst/include/Stats.h:1185:16: warning: variable 'deg' set but not used [-Wunused-but-set-variable] double deg = net.degree(from); ^ ../inst/include/Stats.h:2450:16: warning: unused variable 'netSize' [-Wunused-variable] double netSize = actorIndex + 1.0; ^ ../inst/include/Stats.h:2451:16: warning: unused variable 'totDegree' [-Wunused-variable] double totDegree = (net.nEdges() - hasEdge) * 2.0; ^ ../inst/include/Stats.h:2457:16: warning: unused variable 'sdegs' [-Wunused-variable] double sdegs = 0.0; ^ ../inst/include/Stats.h:2791:12: warning: unused variable 'addingEdge' [-Wunused-variable] bool addingEdge = !net.hasEdge(from,to); ^ ../inst/include/Stats.h:2976:10: warning: unused variable 'addingEdge' [-Wunused-variable] bool addingEdge = !net.hasEdge(from,to); ^ 9 warnings generated. 10 warnings generated. 4 warnings generated. 8 warnings generated. clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o lolog.so RcppExports.o RcppModule.o StatController.o main.o test_BinaryNet.o test_Constraints.o test_LatentOrderLikelhood.o test_ParamParser.o test_Stats.o tests.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation /Volumes/Builds/packages/big-sur-x86_64/results/4.4/lolog.Rcheck/00_pkg_src/lolog/src/main.o: no symbols installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.4/lolog.Rcheck/00LOCK-lolog/00new/lolog/libs ** generating debug symbols (dSYM) ** R ** data ** inst ** byte-compile and prepare package for lazy loading in method for ‘[’ with signature ‘"Rcpp_DirectedNet"’: no definition for class “Rcpp_DirectedNet” in method for ‘[’ with signature ‘"Rcpp_UndirectedNet"’: no definition for class “Rcpp_UndirectedNet” in method for ‘[<-’ with signature ‘"Rcpp_DirectedNet"’: no definition for class “Rcpp_DirectedNet” in method for ‘[<-’ with signature ‘"Rcpp_UndirectedNet"’: no definition for class “Rcpp_UndirectedNet” ** help *** installing help indices ** building package indices ** installing vignettes ** 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 (lolog)