* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘rtmpt’ ...
** this is package ‘rtmpt’ version ‘2.0-3’
** package ‘rtmpt’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Debian clang version 19.1.7 (3+b1)’
using C++ compiler: ‘Debian clang version 19.1.7 (3+b1)’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpHjNphW/R.INSTALL2166ba5655a663/rtmpt/src'
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c Quelle.cpp -o Quelle.o
Quelle.cpp:65:42: 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:10: warning: unused variable 'igr' [-Wunused-variable]
   82 |                         int igr = t2group[t] * respno + r, itr = t * respno + r;
      |                             ^~~
Quelle.cpp:217:31: warning: unused variable 'igr' [-Wunused-variable]
  217 |                 int itr = t * respno + r, igr = t2group[t] * respno + r;
      |                                           ^~~
Quelle.cpp:234:32: warning: unused variable 'igr' [-Wunused-variable]
  234 |                         int itr = t * respno + r, igr = t2group[t] * respno + r;
      |                                                   ^~~
4 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c adaptive_rejection_sampling.cpp -o adaptive_rejection_sampling.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c additions.cpp -o additions.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c derivatives.cpp -o derivatives.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c diagnosis.cpp -o diagnosis.o
diagnosis.cpp:837:9: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  837 |         belege_lambdas_mus(sample, is, lambdas);
      |         ^
diagnosis.cpp:827:7: note: previous statement is here
  827 |       for (int t = 0; t != indi; t++)
      |       ^
diagnosis.cpp:848:11: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  848 |           for (int ir = 0; ir != respno; ir++) person << std::setw(20) << mlambdas[t * respno + ir];
      |           ^
diagnosis.cpp:846:9: note: previous statement is here
  846 |         for (int iz = 0; iz != ift; iz++)
      |         ^
diagnosis.cpp:934:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  934 |       Rprintf("Mean motor/encoding times per group [median, 96 and 99%% HDI]\n");
      |       ^
diagnosis.cpp:921:5: note: previous statement is here
  921 |     for (int ix = 0; ix != icompg; ix++)
      |     ^
diagnosis.cpp:964:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  964 |       Rprintf("Omega^2 [median, 96 and 99%% HDI]\n");
      |       ^
diagnosis.cpp:951:5: note: previous statement is here
  951 |     for (int ip = 0; ip != respno; ip++)
      |     ^
diagnosis.cpp:1043:24: warning: unused variable 'pd' [-Wunused-variable]
 1043 |     double dbar = 0.0, pd = 0.0, pv = 0.0;
      |                        ^~
diagnosis.cpp:1287:9: warning: variable 'exit_status' set but not used [-Wunused-but-set-variable]
 1287 |     int exit_status = 0;
      |         ^
diagnosis.cpp:1517:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
 1517 |       test(tt1, tt2, "Posterior predictive checks: latencies");
      |       ^
diagnosis.cpp:1498:5: note: previous statement is here
 1498 |     for (int ig = 0; ig != igroup; ig++)
      |     ^
diagnosis.cpp:1537:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
 1537 |       meansout.close();
      |       ^
diagnosis.cpp:1522:5: note: previous statement is here
 1522 |     for (int ig = 0; ig != igroup; ig++)
      |     ^
diagnosis.cpp:1303:9: warning: variable 'exit_status' set but not used [-Wunused-but-set-variable]
 1303 |     int exit_status = 1;
      |         ^
diagnosis.cpp:1304:9: warning: unused variable 'kein' [-Wunused-variable]
 1304 |     int kein = kerncat * indi, keig = kerncat * igroup;
      |         ^~~~
diagnosis.cpp:1519:9: warning: unused variable 'nq' [-Wunused-variable]
 1519 |     int nq = 1;
      |         ^~
diagnosis.cpp:1576:9: warning: variable 'exit_status' set but not used [-Wunused-but-set-variable]
 1576 |     int exit_status = 0;
      |         ^
12 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c diffusion.cpp -o diffusion.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c gibbs.cpp -o gibbs.o
gibbs.cpp:26:11: warning: unused variable 'old_path' [-Wunused-variable]
   26 |       int old_path = paths[x];
      |           ^~~~~~~~
gibbs.cpp:61:7: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation]
   61 |       if (sigi) free(sigi);
      |       ^
gibbs.cpp:53:5: note: previous statement is here
   53 |     else
      |     ^
gibbs.cpp:592:9: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  592 |         ioff += 1;
      |         ^
gibbs.cpp:586:7: note: previous statement is here
  586 |       for (int is = 0; is != (NOTHREADS); is++)
      |       ^
3 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c hamiltonian.cpp -o hamiltonian.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c hcubature.cpp -o hcubature.o
hcubature.cpp:282:9: warning: unused variable 'kdiv' [-Wunused-variable]
  282 |     int kdiv = out.kdivide;
      |         ^~~~
1 warning generated.
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -c invtri.c -o invtri.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c joint.cpp -o joint.o
joint.cpp:116:9: warning: unused variable 'sdt' [-Wunused-variable]
  116 |                 int sdt = indi * respno + t;
      |                     ^~~
joint.cpp:301:9: warning: unused variable 'iofft' [-Wunused-variable]
  301 |                 int iofft = iavwoff + t * icompg, itfr = 3 * t * ifreemax;
      |                     ^~~~~
joint.cpp:401:29: warning: unused variable 'ipl' [-Wunused-variable]
  401 |                                         int i = root->index, ipl = i + root->level;
      |                                                              ^~~
joint.cpp:444:8: warning: unused variable 'xn' [-Wunused-variable]
  444 |         int xn = isigoff + indi;
      |             ^~
4 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c lkj.cpp -o lkj.o
lkj.cpp:90:8: warning: variable 'offset2' set but not used [-Wunused-but-set-variable]
   90 |         int offset2 = nhamil;
      |             ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c lnnorm.cpp -o lnnorm.o
lnnorm.cpp:31:13: warning: variable 'upper' set but not used [-Wunused-but-set-variable]
   31 |         int upper, lower ;
      |             ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c main.cpp -o main.o
main.cpp:672:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  672 |       for (int itree = 0; itree != kerntree; itree++)
      |       ^
main.cpp:656:5: note: previous statement is here
  656 |     for (int itree = 0; itree != kerntree; itree++)
      |     ^
main.cpp:702:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  702 |       for (int i = 0; i != 2 * nodemax * datenzahl; i++) tau_by_node[i] = -1;
      |       ^
main.cpp:696:5: note: previous statement is here
  696 |     for (int im = 0; im != no_patterns; im++)
      |     ^
main.cpp:766:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  766 |       for (int i = 0; i != kerncat * zweig * nodemax; i++) drin[i] = -1;
      |       ^
main.cpp:751:5: note: previous statement is here
  751 |     for (int j = 0; j != kerncat; j++)
      |     ^
main.cpp:775:9: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  775 |         for (int j = 0; j!= kerncat; j++) {
      |         ^
main.cpp:770:7: note: previous statement is here
  770 |       for (int k = 0; k != branch[j]; k++)
      |       ^
main.cpp:792:11: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  792 |           for (int t = 0; t != indi; t++)
      |           ^
main.cpp:787:9: note: previous statement is here
  787 |         for (int ip = 0; ip != ifree[type]; ip++)
      |         ^
5 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c mvtimes.cpp -o mvtimes.o
mvtimes.cpp:1486:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
 1486 |       gsl_matrix_memcpy(&Xsigi.matrix, cx);
      |       ^
mvtimes.cpp:1482:5: note: previous statement is here
 1482 |     for (int j = 0; j != nvar; j++)
      |     ^
mvtimes.cpp:1616:9: warning: variable 'acc' set but not used [-Wunused-but-set-variable]
 1616 |     int acc = 0;
      |         ^
2 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c onetimes.cpp -o onetimes.o
onetimes.cpp:140:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  140 |                 if ((complength == 1) /*&& (PFAD_INDEX(j, k) > -1)*/) {
      |                      ~~~~~~~~~~~^~~~
onetimes.cpp:140:21: note: remove extraneous parentheses around the comparison to silence this warning
  140 |                 if ((complength == 1) /*&& (PFAD_INDEX(j, k) > -1)*/) {
      |                     ~           ^   ~
onetimes.cpp:140:21: note: use '=' to turn this equality comparison into an assignment
  140 |                 if ((complength == 1) /*&& (PFAD_INDEX(j, k) > -1)*/) {
      |                                 ^~
      |                                 =
onetimes.cpp:423:11: warning: unknown pragma ignored [-Wunknown-pragmas]
  423 |   #pragma optimize("", off)
      |           ^
onetimes.cpp:436:11: warning: unknown pragma ignored [-Wunknown-pragmas]
  436 |   #pragma optimize("", on)
      |           ^
onetimes.cpp:498:9: warning: unused variable 'n' [-Wunused-variable]
  498 |     int n = (pars->n), m = (pars->m);
      |         ^
onetimes.cpp:676:15: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  676 |               lambdas[t] = gsl_vector_get(xsave,icompg);
      |               ^
onetimes.cpp:674:13: note: previous statement is here
  674 |             for (int ip = 0; ip != ifree[type]; ip++)
      |             ^
onetimes.cpp:578:23: warning: unused variable 'xx' [-Wunused-variable]
  578 |           gsl_vector* xx = gsl_vector_alloc(icompg + 2);
      |                       ^~
onetimes.cpp:787:11: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  787 |           lambdas[t] = gsl_vector_get(xsave,icompg);
      |           ^
onetimes.cpp:785:9: note: previous statement is here
  785 |         for (int ip = 0; ip != ifree[type]; ip++)
      |         ^
onetimes.cpp:689:19: warning: unused variable 'xx' [-Wunused-variable]
  689 |       gsl_vector* xx = gsl_vector_alloc(icompg + 2);
      |                   ^~
8 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c r_wrapper.cpp -o r_wrapper.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c rtimes.cpp -o rtimes.o
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -c rtmpt_init.c -o rtmpt_init.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c rwiener.cpp -o rwiener.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c specifics.cpp -o specifics.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c times.cpp -o times.o
times.cpp:122:8: warning: variable 'exit_status' set but not used [-Wunused-but-set-variable]
  122 |         int exit_status = 0;
      |             ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c tools.cpp -o tools.o
tools.cpp:60:12: warning: unused variable 'result' [-Wunused-variable]
   60 |     double result;
      |            ^~~~~~
tools.cpp:290:9: warning: unused variable 'm' [-Wunused-variable]
  290 |     int m = (irun + 1) * ireps;
      |         ^
tools.cpp:306:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  306 |       for (int t = 0; t != indi; t++)
      |       ^
tools.cpp:297:5: note: previous statement is here
  297 |     for (int ig = 0; ig != igroup; ig++)
      |     ^
tools.cpp:328:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  328 |       for (int t = 0; t != indi; t++)
      |       ^
tools.cpp:319:5: note: previous statement is here
  319 |     for (int ig = 0; ig != igroup; ig++)
      |     ^
tools.cpp:556:11: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  556 |           jj = (indi + igroup) * icompg + igroup * respno;
      |           ^
tools.cpp:548:9: note: previous statement is here
  548 |         for (int t = 0; t != indi; t++)
      |         ^
tools.cpp:805:9: warning: unused variable 'pfadlength' [-Wunused-variable]
  805 |     int pfadlength = (params->pfadlength);
      |         ^~~~~~~~~~
6 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -I/usr/local/include -fpic  -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator  -c trait.cpp -o trait.o
clang++-19 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/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-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpHjNphW/R.INSTALL2166ba5655a663/rtmpt/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpHjNphW/R.INSTALL2166ba5655a663/rtmpt/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpHjNphW/R.INSTALL2166ba5655a663/rtmpt/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/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
** 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)