* 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++17 -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++17 -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++17 -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++17 -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++17 -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++17 -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++17 -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 test_Constraints.cpp:7:
In file included from In file included from test_LatentOrderLikelhood.cpp:../inst/include/Stats.h:1187:16: warning: unused variable 'toDeg' [-Wunused-variable]5:
../inst/include/Stats.h:1187:16:
warning: unused variable 'toDeg' [-Wunused-variable] 1187StatController.cpp:3:
../inst/include/Stats.h:1187:16: warning: unused variable 'toDeg' [-Wunused-variable]
| double 1187 |
double toDeg toDeg;
| ^~~~~
;1187 | ../inst/include/Stats.h:1188
| d ^~~~~
oub:16:le toD../inst/include/Stats.h:1188eg;
warning: :16:unused variable 'fromDeg' [-Wunused-variable]
warning: unused variable 'fromDeg' [-Wunused-variable]
1188 | | ^~~~~
1188 | do ../inst/include/Stats.h:1188:16: warning: unused variable 'fromDeg' [-Wunused-variable]
double fromDeg;
| ^~~~~~~
u../inst/include/Stats.h:ble fromDeg;
| ^~~~~~~ 1188 |
1199:16: warning: variable 'deg' set but not used [-Wunused-but-set-variable]
doub 1199 | dole fromDeguble deg;
| = ^~~~~~~
../inst/include/Stats.h:1199:16: warning: variable 'deg' set but not used [-Wunused-but-set-variable]
net.degree(from);
| ^
../inst/include/Stats.h1199 | dou:1199:16: ble deg = net.degwarning: variable 'deg' set but not used [-Wunused-but-set-variable]
r 1199 | ee( fro doublem);
de | ^
g = net.degree(from);
| ^
../inst/include/Stats.h:2464:16: warning: unused variable 'netSize' [-Wunused-variable]../inst/include/Stats.h:2464:16: warning: unused variable 'netSize' [-Wunused-variable]
2464 | 2464 | dou dble neoubtSile ze net= aSizctoe =rIn actorIn../inst/include/Stats.h:2464:16: warning: unused variable 'netSize' [-Wunused-variable]
dex + 1.0;
2464 | | ^~~~~~~
dex + 1../inst/include/Stats.h:2465:16: . double netSize =0;warning: unused variable 'totDegree' [-Wunused-variable]
actorI 2465 | | ^~~~~~~
d../inst/include/Stats.h:2465:16: ndex + 1.0;
warning: ouble totDegree = (| ^~~~~~~
unused variable 'totDegree' [-Wunused-variable]../inst/include/Stats.h:2465:net.nEdges() - ha
2465 | 16: warning: dousEdunused variable 'totDegree' [-Wunused-variable]
2465 | ge) * 2.0;
| ^~~~~~~~~
double totDegree = (net.nEdges() - hasEdge) * ble totDeg2.0;
| ^~~~~~~~~
../inst/include/Stats.h:2471:16: warning: unused variable 'sdegs' [-Wunused-variable]
r../inst/include/Stats.h:2471:16: warning: unused variable 'sdegs' [-Wunused-variable]
ee = (net.nEdges() - has2471 | 2471 | double sdEdge) * 2 double sdegs =egs = 0.0.0;
| ^~~~~~~~~
;../inst/include/Stats.h:2471:16: warning: unused variable 'sdegs' [-Wunused-variable]
2471 | double sdegs 0 .0;
| ^~~~~
| ^~~~~= 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 | ../inst/include/Stats.h:2805:12: warning: unused variable 'addingEdge' [-Wunused-variable]
2805 | bool bool addingEdgaddingEdge = !net.hasEdge = !net.hae(from,to);
| ^~~~~~~~~~
sEdge(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++17 -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);
| ^
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");
| ^~~~~
clang++ -arch arm64 -std=gnu++17 -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
8 warnings generated.
clang++ -arch arm64 -std=gnu++17 -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.
clang++ -arch arm64 -std=gnu++17 -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
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)