* installing *source* package ‘bayesianETAS’ ... ** this is package ‘bayesianETAS’ version ‘2.0.0’ ** package ‘bayesianETAS’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)’ using C++ compiler: ‘g++ (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-LTO/bayesianETAS/src' g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -flto=10 -c etas.cpp -o etas.o etas.cpp: In function ‘int sampleDiscrete(std::vector&)’: etas.cpp:58:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | for (int i = 0; i < probs.size(); i++) { | ~~^~~~~~~~~~~~~~ etas.cpp:68:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 68 | for (int i = 0; i < probs.size(); i++) { | ~~^~~~~~~~~~~~~~ etas.cpp: In function ‘double hBranchingPosteriorInteraction(std::vector&, std::vector&, std::vector&, double, std::vector&, double, double, double)’: etas.cpp:129:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 129 | for (int i = 0; i < z.size(); i++) { | ~~^~~~~~~~~~ gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -flto=10 -c init.c -o init.o g++ -std=gnu++20 -shared -L/usr/local/lib64 -o bayesianETAS.so etas.o init.o init.c:8:13: warning: type of ‘estimateSpatialBranchingC’ does not match original declaration [-Wlto-type-mismatch] 8 | extern void estimateSpatialBranchingC(void); | ^ etas.cpp:731:14: note: type mismatch in parameter 1 731 | void estimateSpatialBranchingC(double *ts, double *marks, double *xs, double *ys, int *n, double *M0, double *area, int *sims, double *mu, double *K, double *alpha, double *c, double *p, double *param1, double *param2, int *branchings, bool *gaussian) { | ^ etas.cpp:731:14: note: ‘estimateSpatialBranchingC’ was previously declared here init.c:7:13: warning: type of ‘estimateBranchingC’ does not match original declaration [-Wlto-type-mismatch] 7 | extern void estimateBranchingC(void); | ^ etas.cpp:708:14: note: type mismatch in parameter 1 708 | void estimateBranchingC(double *ts, double *marks, int *n, double *M0, int *sims, double *mu, double *K, double *alpha, double *c, double *p, int *branchings) { | ^ etas.cpp:708:14: note: ‘estimateBranchingC’ was previously declared here init.c:6:13: warning: type of ‘estimateETASDirectC’ does not match original declaration [-Wlto-type-mismatch] 6 | extern void estimateETASDirectC(void); | ^ etas.cpp:681:14: note: type mismatch in parameter 1 681 | void estimateETASDirectC(double *ts, double *marks, int *n, double *maxTime, double *M0, int *sims, double *mu, double *K, double *alpha, double *c, double *p, double *mus, double *Ks, double *alphas, double *cs, double *ps) { | ^ etas.cpp:681:14: note: ‘estimateETASDirectC’ was previously declared here init.c:5:13: warning: type of ‘estimateSpatialETASBranchingC’ does not match original declaration [-Wlto-type-mismatch] 5 | extern void estimateSpatialETASBranchingC(void); | ^ etas.cpp:636:14: note: type mismatch in parameter 1 636 | void estimateSpatialETASBranchingC(double *ts, double *marks, double *xs, double *ys, int *branching, int *n, double *maxTime, double *M0, double *area, int *sims, int *numMCMCSamples, double *mu, double *K, double *alpha, double *c, double *p, double *c_lower, double *param1, double *param2, double *sigma2_prior_shape, double *sigma2x_prior_rate, double *sigma2y_prior_rate, double *mus, double *Ks, double *alphas, double *cs, double *ps, double *param1s, double *param2s, int *cp_accept, int *cp_total, int *kappa_accept, int *kappa_total, bool *gaussian) { | ^ etas.cpp:636:14: note: ‘estimateSpatialETASBranchingC’ was previously declared here init.c:4:13: warning: type of ‘estimateETASBranchingC’ does not match original declaration [-Wlto-type-mismatch] 4 | extern void estimateETASBranchingC(void); | ^ etas.cpp:602:14: note: type mismatch in parameter 1 602 | void estimateETASBranchingC(double *ts, double *marks, int *branching, int *n, double *maxTime, double *M0, int *sims, int *numMCMCSamples, double *mu, double *K, double *alpha, double *c, double *p, double *c_lower, double *mus, double *Ks, double *alphas, double *cs, double *ps, int *cp_accept, int *cp_total, int *kappa_accept, int *kappa_total) { | ^ etas.cpp:602:14: note: ‘estimateETASBranchingC’ was previously declared here init.c:10:13: warning: type of ‘ETASspatiallikelihoodC’ does not match original declaration [-Wlto-type-mismatch] 10 | extern void ETASspatiallikelihoodC(void); | ^ etas.cpp:765:14: note: type mismatch in parameter 1 765 | void ETASspatiallikelihoodC(double *ts, double *marks, double *xs, double *ys, int *n, double *maxTime, double *M0, double *area, double *mu, double *K, double *alpha, double *c, double *p, double *param1, double *param2, double *loglik) { | ^ etas.cpp:765:14: note: ‘ETASspatiallikelihoodC’ was previously declared here init.c:9:13: warning: type of ‘ETASlikelihoodC’ does not match original declaration [-Wlto-type-mismatch] 9 | extern void ETASlikelihoodC(void); | ^ etas.cpp:757:14: note: type mismatch in parameter 1 757 | void ETASlikelihoodC(double *ts, double *marks, int *n, double *maxTime, double *M0, double *mu, double *K, double *alpha, double *c, double *p, double *loglik) { | ^ etas.cpp:757:14: note: ‘ETASlikelihoodC’ was previously declared here make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-LTO/bayesianETAS/src' installing to /data/gannet/ripley/R/packages/tests-LTO/Libs/bayesianETAS-lib/00LOCK-bayesianETAS/00new/bayesianETAS/libs ** R ** 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 (bayesianETAS) Time 0:18.52, 10.76 + 0.97