* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘rtmpt’ ...
** package ‘rtmpt’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-8) 14.2.0’
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpjhXgHM/R.INSTALL2ff42341a10ecc/rtmpt/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Quelle.cpp -o Quelle.o
Quelle.cpp: In function ‘double drtmpt::rjoint_likelihood2(const std::vector<trial>&, 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<trial>&, 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;
      |                                                   ^~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c adaptive_rejection_sampling.cpp -o adaptive_rejection_sampling.o
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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c additions.cpp -o additions.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c derivatives.cpp -o derivatives.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c diagnosis.cpp -o diagnosis.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<trial>&, 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<trial>, 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<trial>&, 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c diffusion.cpp -o diffusion.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c gibbs.cpp -o gibbs.o
gibbs.cpp: In function ‘void drtmpt::gibbs_full_cycle(bool&, ars_archiv&, const std::vector<trial>&, 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<trial>&, 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c hamiltonian.cpp -o hamiltonian.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -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-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c invtri.c -o invtri.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c joint.cpp -o joint.o
joint.cpp: In function ‘double drtmpt::rjoint_likelihood(const std::vector<trial>&, 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<trial>&, 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<trial>&, 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<trial>&, 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c lkj.cpp -o lkj.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c main.cpp -o main.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<trial>&, 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++)
      |           ^~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c mvtimes.cpp -o mvtimes.o
mvtimes.cpp: In function ‘void ertmpt::initialize_new(std::vector<trial>, 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -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<trial>&, 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c r_wrapper.cpp -o r_wrapper.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c rtimes.cpp -o rtimes.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c rtmpt_init.c -o rtmpt_init.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c rwiener.cpp -o rwiener.o
rwiener.cpp: In function ‘void drtmpt::generate_intervals(int&, double, const std::vector<point>&, std::vector<piece>&, std::vector<piece>&, std::vector<double>&)’:
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<point>&, std::vector<piece>&, std::vector<piece>&, std::vector<double>&)’:
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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c specifics.cpp -o specifics.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c times.cpp -o times.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;
      |                                        ^~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tools.cpp -o tools.o
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<trial>&, 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O2 -Wall -pedantic -mtune=native   -c trait.cpp -o trait.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -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 -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpjhXgHM/R.INSTALL2ff42341a10ecc/rtmpt/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpjhXgHM/R.INSTALL2ff42341a10ecc/rtmpt/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpjhXgHM/R.INSTALL2ff42341a10ecc/rtmpt/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/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
  converting help for package ‘rtmpt’
    finding HTML links ... done
    SimData                                 html  
    a2a                                     html  
    a2const                                 html  
    delta2delta                             html  
    fit_drtmpt                              html  
    fit_ertmpt                              html  
    fit_ertmpt_SBC                          html  
    nu2const                                html  
    nu2nu                                   html  
    omega2const                             html  
    omega2omega                             html  
    set_resps                               html  
    sim_ertmpt_data                         html  
    sim_ertmpt_data_SBC                     html  
    tau2tau                                 html  
    tau2zero                                html  
    theta2const                             html  
    theta2theta                             html  
    to_drtmpt_data                          html  
    to_drtmpt_model                         html  
    to_ertmpt_data                          html  
    to_ertmpt_model                         html  
** 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)