* installing *source* package ‘rtmpt’ ... ** package ‘rtmpt’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-13 (GCC) 13.2.0’ using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/rtmpt/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c Quelle.cpp -o Quelle.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c adaptive_rejection_sampling.cpp -o adaptive_rejection_sampling.o Quelle.cpp: In function 'double drtmpt::rjoint_likelihood2(const std::vector&, double*, gsl_vector*, double*, double*, double, double)': Quelle.cpp:65:54: warning: unused variable 'igr' [-Wunused-variable] 65 | int r = cat2resp[daten[x].category], igr = t2group[t] * respno + r, itr = t * respno + r; | ^~~ Quelle.cpp:82:29: warning: unused variable 'igr' [-Wunused-variable] 82 | int igr = t2group[t] * respno + r, itr = t * respno + r; | ^~~ Quelle.cpp: In function 'void drtmpt::dhudlam2(const std::vector&, double*, gsl_vector*, double*, double*, double, gsl_vector*)': Quelle.cpp:217:43: warning: unused variable 'igr' [-Wunused-variable] 217 | int itr = t * respno + r, igr = t2group[t] * respno + r; | ^~~ Quelle.cpp:234:51: warning: unused variable 'igr' [-Wunused-variable] 234 | int itr = t * respno + r, igr = t2group[t] * respno + r; | ^~~ adaptive_rejection_sampling.cpp: In function 'double ertmpt::ars(double, double&, double, double, double, double*, double*, double*, double*, int, int, double, gsl_rng*, void (*)(double, double, double, double, double, double*, double*, double*, double*, int, int, bool, point&))': adaptive_rejection_sampling.cpp:216:52: warning: 'high.ertmpt::point::x' may be used uninitialized [-Wmaybe-uninitialized] 216 | gamma_prior(scale, norm, n, (low.x + high.x) / 2, xp, beta, sigi, lambdas, lams, tt, iz, false, one); | ~~~~~~~^~~~~~~~~ adaptive_rejection_sampling.cpp:165:23: note: 'high.ertmpt::point::x' was declared here 165 | point high, low; | ^~~~ adaptive_rejection_sampling.cpp:216:52: warning: 'low.ertmpt::point::x' may be used uninitialized [-Wmaybe-uninitialized] 216 | gamma_prior(scale, norm, n, (low.x + high.x) / 2, xp, beta, sigi, lambdas, lams, tt, iz, false, one); | ~~~~~~~^~~~~~~~~ adaptive_rejection_sampling.cpp:165:29: note: 'low.ertmpt::point::x' was declared here 165 | point high, low; | ^~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c additions.cpp -o additions.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c derivatives.cpp -o derivatives.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c diagnosis.cpp -o diagnosis.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c diffusion.cpp -o diffusion.o diagnosis.cpp: In function 'void drtmpt::write_ind_estimates(double*)': diagnosis.cpp:820:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 820 | for (int t = 0; t != indi; t++) | ^~~ diagnosis.cpp:830:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 830 | belege_lambdas_mus(sample, is, lambdas); | ^~~~~~~~~~~~~~~~~~ diagnosis.cpp:839:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 839 | for (int iz = 0; iz != ift; iz++) | ^~~ diagnosis.cpp:841:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 841 | for (int ir = 0; ir != respno; ir++) person << std::setw(20) << mlambdas[t * respno + ir]; | ^~~ diagnosis.cpp: In function 'void drtmpt::quantiles(const std::vector&, int, double*)': diagnosis.cpp:914:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 914 | for (int ix = 0; ix != icompg; ix++) | ^~~ diagnosis.cpp:927:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 927 | Rprintf("Mean motor/encoding times per group [median, 96 and 99%% HDI]\n"); | ^~~~~~~ diagnosis.cpp:944:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 944 | for (int ip = 0; ip != respno; ip++) | ^~~ diagnosis.cpp:957:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 957 | Rprintf("Omega^2 [median, 96 and 99%% HDI]\n"); | ^~~~~~~ diagnosis.cpp: In function 'void drtmpt::dic(std::vector, double*)': diagnosis.cpp:1038:24: warning: unused variable 'pd' [-Wunused-variable] 1038 | double dbar = 0.0, pd = 0.0, pv = 0.0; | ^~ diagnosis.cpp: In function 'int drtmpt::make_path_for_one_trial(int, double*, gsl_rng*)': diagnosis.cpp:1275:9: warning: variable 'exit_status' set but not used [-Wunused-but-set-variable] 1275 | int exit_status = 0; | ^~~~~~~~~~~ diagnosis.cpp: In function 'void drtmpt::aggregate(int, int, int*, const std::vector&, int*, int*, int*, double*, gsl_rng*)': diagnosis.cpp:1486:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1486 | for (int ig = 0; ig != igroup; ig++) | ^~~ diagnosis.cpp:1505:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1505 | test(tt1, tt2, "Posterior predictive checks: latencies"); | ^~~~ diagnosis.cpp:1510:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1510 | for (int ig = 0; ig != igroup; ig++) | ^~~ diagnosis.cpp:1525:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1525 | meansout.close(); | ^~~~~~~~ diagnosis.cpp:1291:9: warning: variable 'exit_status' set but not used [-Wunused-but-set-variable] 1291 | int exit_status = 1; | ^~~~~~~~~~~ diagnosis.cpp:1292:9: warning: unused variable 'kein' [-Wunused-variable] 1292 | int kein = kerncat * indi, keig = kerncat * igroup; | ^~~~ diagnosis.cpp:1507:9: warning: unused variable 'nq' [-Wunused-variable] 1507 | int nq = 1; | ^~ diagnosis.cpp: In function 'void drtmpt::groupwise(double*)': diagnosis.cpp:1564:9: warning: variable 'exit_status' set but not used [-Wunused-but-set-variable] 1564 | int exit_status = 0; | ^~~~~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c gibbs.cpp -o gibbs.o gibbs.cpp: In function 'void drtmpt::gibbs_full_cycle(bool&, ars_archiv&, const std::vector&, int*, gsl_vector*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double&, int*, double*, double&, double&, double&, int, bool, gsl_rng*)': gibbs.cpp:26:11: warning: unused variable 'old_path' [-Wunused-variable] 26 | int old_path = paths[x]; | ^~~~~~~~ gibbs.cpp: In function 'void drtmpt::gibbs_times_new(const std::vector&, gsl_rng*, gsl_rng*, gsl_rng*, gsl_rng*)': gibbs.cpp:586:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 586 | for (int is = 0; is != (NOTHREADS); is++) | ^~~ gibbs.cpp:592:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 592 | ioff += 1; | ^~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c hamiltonian.cpp -o hamiltonian.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c hcubature.cpp -o hcubature.o hcubature.cpp: In function 'int hcubature(int (*)(unsigned int, const double*, void*, unsigned int, double*), void*, unsigned int, const double*, const double*, size_t, double, double, double*, double*)': hcubature.cpp:282:9: warning: unused variable 'kdiv' [-Wunused-variable] 282 | int kdiv = out.kdivide; | ^~~~ hcubature.cpp: In function 'void integrate_GenzMalik(GenzMalik, int, const double*, const double*, one_d&, void*, int (*)(unsigned int, const double*, void*, unsigned int, double*))': hcubature.cpp:164:14: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 164 | integrand(n, c, pars, 1, &f1); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ hcubature.cpp:164:14: note: by argument 2 of type 'const double*' to 'int(unsigned int, const double*, void*, unsigned int, double*)' gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c invtri.c -o invtri.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c joint.cpp -o joint.o joint.cpp: In function 'double drtmpt::rjoint_likelihood(const std::vector&, double*, double*, gsl_vector*, double*, gsl_vector*, double*, double*, double*, double, double)': joint.cpp:116:21: warning: unused variable 'sdt' [-Wunused-variable] 116 | int sdt = indi * respno + t; | ^~~ joint.cpp: In function 'void drtmpt::Leapfrog(int*, double*, gsl_vector*, double*, double*, gsl_vector*, double*, double*, const std::vector&, double*, double*, double*, double*, double*, double*, double*, double*, double, double, gsl_vector*)': joint.cpp:301:21: warning: unused variable 'iofft' [-Wunused-variable] 301 | int iofft = iavwoff + t * icompg, itfr = 3 * t * ifreemax; | ^~~~~ joint.cpp: In function 'void drtmpt::buildtree(int*, double*, double*, double*, const std::vector&, double*, double*, double*, double*, double, double*, double*, Theta*, Theta*, gsl_vector*, gsl_vector*, double, int, int, double, gsl_rng*, double, double, int&, int&, int&, double&, bool)': joint.cpp:401:62: warning: unused variable 'ipl' [-Wunused-variable] 401 | int i = root->index, ipl = i + root->level; | ^~~ joint.cpp: In function 'bool drtmpt::hnuts(double*, int*, gsl_vector*, double*, double*, double*, double*, gsl_matrix*, const std::vector&, double*, double*, double*, double*, double*, double*, gsl_matrix*, double, double*, double&, double&, double&, double&, double&, int, gsl_rng*)': joint.cpp:444:13: warning: unused variable 'xn' [-Wunused-variable] 444 | int xn = isigoff + indi; | ^~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c lkj.cpp -o lkj.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c lnnorm.cpp -o lnnorm.o lnnorm.cpp: In function 'double lnnorm(double)': lnnorm.cpp:31:13: warning: variable 'upper' set but not used [-Wunused-but-set-variable] 31 | int upper, lower ; | ^~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c main.cpp -o main.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c mvtimes.cpp -o mvtimes.o main.cpp: In function 'void drtmpt::make_map(int, int&, int*)': main.cpp:654:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 654 | for (int itree = 0; itree != kerntree; itree++) | ^~~ main.cpp:670:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 670 | for (int itree = 0; itree != kerntree; itree++) | ^~~ main.cpp: In function 'void drtmpt::make_positions(const std::vector&, int*)': main.cpp:694:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 694 | for (int im = 0; im != no_patterns; im++) | ^~~ main.cpp:700:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 700 | for (int i = 0; i != 2 * nodemax * datenzahl; i++) tau_by_node[i] = -1; | ^~~ main.cpp: In function 'void drtmpt::make_drin_cdrin()': main.cpp:749:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 749 | for (int j = 0; j != kerncat; j++) | ^~~ main.cpp:764:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 764 | for (int i = 0; i != kerncat * zweig * nodemax; i++) drin[i] = -1; | ^~~ main.cpp:768:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 768 | for (int k = 0; k != branch[j]; k++) | ^~~ main.cpp:773:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 773 | for (int j = 0; j!= kerncat; j++) { | ^~~ main.cpp: In function 'void drtmpt::make_parameter_maps(int*, int*)': main.cpp:785:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 785 | for (int ip = 0; ip != ifree[type]; ip++) | ^~~ main.cpp:790:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 790 | for (int t = 0; t != indi; t++) | ^~~ mvtimes.cpp: In function 'void ertmpt::initialize_new(std::vector, double*, double*, double*, double*, double*, double*, double*, gsl_rng*)': mvtimes.cpp:958:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 958 | if (BETA(t, iz) < -4.0) BETA(t, iz) = -4.0 + 0.1*onenorm(rst); if (BETA(t, iz) > 4.0) BETA(t, iz) = 4.0 + 0.1*onenorm(rst); | ^~ mvtimes.cpp:958:104: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 958 | if (BETA(t, iz) < -4.0) BETA(t, iz) = -4.0 + 0.1*onenorm(rst); if (BETA(t, iz) > 4.0) BETA(t, iz) = 4.0 + 0.1*onenorm(rst); | ^~ mvtimes.cpp: In function 'void drtmpt::invwis(int, int, double*, double*, double*, gsl_matrix*, int, double*, gsl_rng*)': mvtimes.cpp:1482:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1482 | for (int j = 0; j != nvar; j++) | ^~~ mvtimes.cpp:1486:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1486 | gsl_matrix_memcpy(&Xsigi.matrix, cx); | ^~~~~~~~~~~~~~~~~ mvtimes.cpp: In function 'void ertmpt::belege_bridge(int, int, int, double*, double*, double*, double*, double*, double*, double*, double*, double*, double)': mvtimes.cpp:837:81: warning: pointer 'temp' may be used after 'void free(void*)' [-Wuse-after-free] 837 | for (int i = 0; i != restparsno; i++) bridge_sample[offset + i] = temp[i]; | ^ mvtimes.cpp:835:45: note: call to 'void free(void*)' here 835 | gsl_matrix_free(cy); free(tau); free(temp); | ~~~~^~~~~~ mvtimes.cpp: In function 'void ertmpt::lam2(double, double, double, double, double, double*, double*, double*, double*, int, int, bool, point&)': mvtimes.cpp:292:41: warning: 'temp_plus' may be used uninitialized [-Wmaybe-uninitialized] 292 | if (fminus) h.dh = -rexp(logsum(h.dh, temp_plus)); else if (fplus) h.dh = -elogdiff(h.dh, temp_minus); else { h.dh = logsum(h.dh, temp_plus); h.dh = -elogdiff(h.dh, temp_minus); } | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ mvtimes.cpp:274:63: note: 'temp_plus' was declared here 274 | h.dh = log(fabs(n - PRIOR*(alpha - 1.0))); double temp_plus, temp_minus; bool fplus = true, fminus = true; | ^~~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c onetimes.cpp -o onetimes.o onetimes.cpp:423: warning: ignoring '#pragma optimize ' [-Wunknown-pragmas] 423 | #pragma optimize("", off) | onetimes.cpp:436: warning: ignoring '#pragma optimize ' [-Wunknown-pragmas] 436 | #pragma optimize("", on) | onetimes.cpp: In function 'double drtmpt::objfun(const gsl_vector*, void*)': onetimes.cpp:498:9: warning: unused variable 'n' [-Wunused-variable] 498 | int n = (pars->n), m = (pars->m); | ^ onetimes.cpp: In lambda function: onetimes.cpp:674:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 674 | for (int ip = 0; ip != ifree[type]; ip++) | ^~~ onetimes.cpp:676:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 676 | lambdas[t] = gsl_vector_get(xsave,icompg); | ^~~~~~~ onetimes.cpp:578:23: warning: unused variable 'xx' [-Wunused-variable] 578 | gsl_vector* xx = gsl_vector_alloc(icompg + 2); | ^~ onetimes.cpp: In function 'void drtmpt::tby_individuals(const std::vector&, double*, double*, gsl_rng*)': onetimes.cpp:785:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 785 | for (int ip = 0; ip != ifree[type]; ip++) | ^~~ onetimes.cpp:787:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 787 | lambdas[t] = gsl_vector_get(xsave,icompg); | ^~~~~~~ onetimes.cpp:689:19: warning: unused variable 'xx' [-Wunused-variable] 689 | gsl_vector* xx = gsl_vector_alloc(icompg + 2); | ^~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c r_wrapper.cpp -o r_wrapper.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c rtimes.cpp -o rtimes.o gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c rtmpt_init.c -o rtmpt_init.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c rwiener.cpp -o rwiener.o rwiener.cpp: In function 'void drtmpt::generate_intervals(int&, double, const std::vector&, std::vector&, std::vector&, std::vector&)': rwiener.cpp:37:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 37 | else | ^~~~ rwiener.cpp:47:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 47 | t -= log(fabs(upper[i].slope)); | ^ rwiener.cpp: In function 'bool drtmpt::update_intervals(int, double, point, std::vector&, std::vector&, std::vector&, std::vector&)': rwiener.cpp:97:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 97 | else | ^~~~ rwiener.cpp:106:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 106 | t -= log(fabs(upper[j].slope)); | ^ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c specifics.cpp -o specifics.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c times.cpp -o times.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c tools.cpp -o tools.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 -c trait.cpp -o trait.o times.cpp: In function 'int ertmpt::make_path_for_one_trial(int, double*, double, gsl_rng*)': times.cpp:122:13: warning: variable 'exit_status' set but not used [-Wunused-but-set-variable] 122 | int exit_status = 0; | ^~~~~~~~~~~ times.cpp: In function 'double ertmpt::double_truncnorm(double, double, gsl_rng*)': times.cpp:186:33: warning: 'rho' may be used uninitialized [-Wmaybe-uninitialized] 186 | if (u > rho) goto WEITER; | ^~ times.cpp:176:40: note: 'rho' was declared here 176 | double rho; | ^~~ tools.cpp: In function 'double drtmpt::logdiff(double, double)': tools.cpp:60:12: warning: unused variable 'result' [-Wunused-variable] 60 | double result; | ^~~~~~ tools.cpp: In function 'void drtmpt::on_screen3(int, double*, double*, double*, double, int, int)': tools.cpp:290:9: warning: unused variable 'm' [-Wunused-variable] 290 | int m = (irun + 1) * ireps; | ^ tools.cpp: In function 'void drtmpt::make_hampar_avw(double*, double*, gsl_vector*)': tools.cpp:297:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 297 | for (int ig = 0; ig != igroup; ig++) | ^~~ tools.cpp:306:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 306 | for (int t = 0; t != indi; t++) | ^~~ tools.cpp: In function 'void drtmpt::inv_make_hampar_avw(double*, double*, gsl_vector*)': tools.cpp:319:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 319 | for (int ig = 0; ig != igroup; ig++) | ^~~ tools.cpp:328:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 328 | for (int t = 0; t != indi; t++) | ^~~ tools.cpp: In function 'void drtmpt::initialize(int, const std::vector&, double, double*, int, double*, gsl_rng*, gsl_rng*, gsl_rng*, gsl_rng*)': tools.cpp:548:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 548 | for (int t = 0; t != indi; t++) | ^~~ tools.cpp:556:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 556 | jj = (indi + igroup) * icompg + igroup * respno; | ^~ tools.cpp: In function 'int drtmpt::nstep2(unsigned int, const double*, void*, unsigned int, double*)': tools.cpp:805:9: warning: unused variable 'pfadlength' [-Wunused-variable] 805 | int pfadlength = (params->pfadlength); | ^~~~~~~~~~ g++-13 -std=gnu++17 -shared -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -o rtmpt.so Quelle.o adaptive_rejection_sampling.o additions.o derivatives.o diagnosis.o diffusion.o gibbs.o hamiltonian.o hcubature.o invtri.o joint.o lkj.o lnnorm.o main.o mvtimes.o onetimes.o r_wrapper.o rtimes.o rtmpt_init.o rwiener.o specifics.o times.o tools.o trait.o -L/usr/local/lib -lgsl -lgslcblas make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/rtmpt/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/rtmpt/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/rtmpt/src' installing to /data/gannet/ripley/R/packages/tests-devel/rtmpt.Rcheck/00LOCK-rtmpt/00new/rtmpt/libs ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** 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 (rtmpt)