* installing *source* package ‘lolog’ ...
** this is package ‘lolog’ version ‘1.3.2’
** package ‘lolog’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using SDK: ‘MacOSX14.5.sdk’
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/BH/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/BH/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppModule.cpp -o RcppModule.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/BH/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c StatController.cpp -o StatController.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/BH/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c main.cpp -o main.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/BH/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c test_BinaryNet.cpp -o test_BinaryNet.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/BH/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c test_Constraints.cpp -o test_Constraints.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/BH/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c test_LatentOrderLikelhood.cpp -o test_LatentOrderLikelhood.o
In file included from In file included from test_Constraints.cpp:7:
../inst/include/Stats.hIn file included from test_LatentOrderLikelhood.cpp:5:
../inst/include/Stats.h:StatController.cpp:3:
../inst/include/Stats.h::1187:16:11871187:16: warning: : unused variable 'toDeg' [-Wunused-variable]
warning: unused variable 'toDeg' [-Wunused-variable]
1187 | 1187 | 16: warning: unused variable 'toDeg' [-Wunused-variable]
doub 1187 | le toDe doubleg;
double | toDeg; ^~~~~
t
| ^~~~~../inst/include/Stats.h:1188:16oDeg;
| : warning:
^~~~~
../inst/include/Stats.h:unused variable 'fromDeg' [-Wunused-variable]
../inst/include/Stats.h:11881188:16: warning: unused variable 'fromDeg' [-Wunused-variable]
:16: warning: unused variable 'fromDeg' [-Wunused-variable]
1188 | 1188 | d 1188 | ouble f dourombl de foubromle fDDegeromDe;g;
g;
| ^~~~~~~
| ../inst/include/Stats.h:1199 ^~~~~~~
| ^~~~~~~
../inst/include/Stats.h:1199../inst/include/Stats.h:1199:16::16: warning: variable 'deg' set but not used [-Wunused-but-set-variable] warning: variable 'deg' set but not used [-Wunused-but-set-variable]
:16:
1199 | warning: variable 'deg' set but not used [-Wunused-but-set-variable]
1199 | 1199 | doub le ddououbble degle = dedeg = nneg =t.degre nee(ft.deget.ree(frorom);
| ^
degm);
| ^
ree(from);
| ^
../inst/include/Stats.h:2464:16: warning: unused variable 'netSize' [-Wunused-variable]
../inst/include/Stats.h../inst/include/Stats.h:2464:16: warning: unused variable 'netSize' [-Wunused-variable]
2464 | double netSize2464 | = ac:2464:16: warning: doubleunused variable 'netSize' [-Wunused-variable]torIndex + 1.0
n;
| ^~~~~~~
../inst/include/Stats.h:2465:16: warning: unused variable 'totDegree' [-Wunused-variable]
2465 | doubleetSiz totDegree =2464 | (nee = act.nEdges () - doubl hasEtorIndex + 1.0;
| ^~~~~~~
dge netSize = actorI../inst/include/Stats.he) * 2.0;
| ^~~~~~~~~
n../inst/include/Stats.h:2471:16:2465: warning: :16:unused variable 'sdegs' [-Wunused-variable]
dex + 1.0;
| ^~~~~~~
../inst/include/Stats.h:2471 | double sdegs =2465:16: warning: unused variable 'totDegree' [-Wunused-variable]
2465 | 0.0;
| ^~~~~
warning: unused variable 'totDegree' [-Wunused-variable]
double totDe 2465 | double totDegree = (net.nEdges() - hasgree Edge) *= (net.nEdges() 2.0;
| - hasEdge) * 2.0;
| ^~~~~~~~~
^~~~~~~~~
../inst/include/Stats.h:2471:16: warning: unused variable 'sdegs' [-Wunused-variable]
../inst/include/Stats.h 2471 | dou:2471:16: warning: unused variable 'sdegs' [-Wunused-variable]
2471 | ble sdegs = 0.0;
| ^~~~~
double sdegs = 0.0;
| ^~~~~
../inst/include/Stats.h:2805:12: warning: unused variable 'addingEdge' [-Wunused-variable]
2805 | bool addingEdge = !net.hasEdge(from,to);
| ^~~~~~~~~~
../inst/include/Stats.h:2805:12: warning: unused variable 'addingEdge' [-Wunused-variable]
2805 | bool addingEdge = !net.hasEdge(from,to);
| ^~~~~~~~~~
../inst/include/Stats.h:2805:12: warning: unused variable 'addingEdge' [-Wunused-variable]
2805 | bool addingEdge = !net.hasEdge(from,to);
| ^~~~~~~~~~
../inst/include/Stats.h:2990:10: warning: unused variable 'addingEdge' [-Wunused-variable]
2990 | bool addingEdge = !net.hasEdge(from,to);
| ^~~~~~~~~~
../inst/include/Stats.h:2990:10: warning: unused variable 'addingEdge' [-Wunused-variable]
2990 | bool addingEdge = !net.hasEdge(from,to);
| ^~~~~~~~~~
../inst/include/Stats.h:2990:10: warning: unused variable 'addingEdge' [-Wunused-variable]
2990 | bool addingEdge = !net.hasEdge(from,to);
| ^~~~~~~~~~
test_LatentOrderLikelhood.cpp:108:12: warning: unused variable 'llik' [-Wunused-variable]
108 | double llik = model.logLik();
| ^~~~
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/BH/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c test_ParamParser.cpp -o test_ParamParser.o
../inst/include/Stats.h:2472:26: warning: unused variable 'fit' [-Wunused-variable]
2472 | 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
247 | 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
243 | 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
169 | Stat() : stat(){}
| ^
StatController.cpp:87:42: note: in instantiation of member function 'lolog::Stat<lolog::Undirected, lolog::SharedNbrs<lolog::Undirected>>::Stat' requested here
87 | registerStatistic( UndirStatPtr( new UndirectedSharedNbrs() ) );
| ^
In file included from StatController.cpp:3:
../inst/include/Stats.h:2473:26: warning: unused variable 'fend' [-Wunused-variable]
2473 | 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]
58 | pS = statMapPtr->at(name);
| ^
../inst/include/Model.h:371:60: note: in instantiation of member function 'lolog::StatController<lolog::Undirected>::getStat' requested here
371 | 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
81 | .method("addStatistic",&Model<Undirected>::addStatistic)
| ^
../inst/include/StatController.h:35:23: note: forward declaration of template entity is here
35 | 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
58 | 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]
74 | pS = offsetMapPtr->at(name);
| ^
../inst/include/Model.h:384:62: note: in instantiation of member function 'lolog::StatController<lolog::Undirected>::getOffset' requested here
384 | 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
82 | .method("addOffset",&Model<Undirected>::addOffset)
| ^
../inst/include/StatController.h:36:25: note: forward declaration of template entity is here
36 | 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
74 | 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]
58 | pS = statMapPtr->at(name);
| ^
../inst/include/Model.h:371:60: note: in instantiation of member function 'lolog::StatController<lolog::Directed>::getStat' requested here
371 | 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
98 | .method("addStatistic",&Model<Directed>::addStatistic)
| ^
../inst/include/StatController.h:35:23: note: forward declaration of template entity is here
35 | 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
58 | 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]
74 | pS = offsetMapPtr->at(name);
| ^
../inst/include/Model.h:384:62: note: in instantiation of member function 'lolog::StatController<lolog::Directed>::getOffset' requested here
384 | 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
99 | .method("addOffset",&Model<Directed>::addOffset)
| ^
../inst/include/StatController.h:36:25: note: forward declaration of template entity is here
36 | 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
74 | pS = offsetMapPtr->at(name);
| ^
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/BH/include' -I/opt/R/arm64/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]
10 | Rcpp:List params = Rcpp::List::create(1, Rcpp::Named("a")=2, Rcpp::Named("b") = "ss");
| ^~~~~
8 warnings generated.
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/BH/include' -I/opt/R/arm64/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:1187:16: warning: unused variable 'toDeg' [-Wunused-variable]
1187 | double toDeg;
| ^~~~~
../inst/include/Stats.h:1188:16: warning: unused variable 'fromDeg' [-Wunused-variable]
1188 | double fromDeg;
| ^~~~~~~
../inst/include/Stats.h:1199:16: warning: variable 'deg' set but not used [-Wunused-but-set-variable]
1199 | double deg = net.degree(from);
| ^
../inst/include/Stats.h:2464:16: warning: unused variable 'netSize' [-Wunused-variable]
2464 | double netSize = actorIndex + 1.0;
| ^~~~~~~
../inst/include/Stats.h:2465:16: warning: unused variable 'totDegree' [-Wunused-variable]
2465 | double totDegree = (net.nEdges() - hasEdge) * 2.0;
| ^~~~~~~~~
../inst/include/Stats.h:2471:16: warning: unused variable 'sdegs' [-Wunused-variable]
2471 | double sdegs = 0.0;
| ^~~~~
../inst/include/Stats.h:2805:12: warning: unused variable 'addingEdge' [-Wunused-variable]
2805 | bool addingEdge = !net.hasEdge(from,to);
| ^~~~~~~~~~
../inst/include/Stats.h:2990:10: warning: unused variable 'addingEdge' [-Wunused-variable]
2990 | bool addingEdge = !net.hasEdge(from,to);
| ^~~~~~~~~~
9 warnings generated.
10 warnings generated.
8 warnings generated.
4 warnings generated.
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
clang++ -arch arm64 -std=gnu++20 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/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
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
installing to /Volumes/Builds/packages/sonoma-arm64/results/4.6/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)