* 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: ‘clang version 21.1.4’
using C++ compiler: ‘clang version 21.1.4’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/rtmpt/src'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -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;
| ^~~
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c adaptive_rejection_sampling.cpp -o adaptive_rejection_sampling.o
4 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c additions.cpp -o additions.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c derivatives.cpp -o derivatives.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -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++)
| ^
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c diffusion.cpp -o diffusion.o
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;
| ^
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -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++)
| ^
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c hamiltonian.cpp -o hamiltonian.o
12 warnings generated.
3 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c hcubature.cpp -o hcubature.o
/usr/local/clang21/bin/clang -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c invtri.c -o invtri.o
hcubature.cpp:282:9: warning: unused variable 'kdiv' [-Wunused-variable]
282 | int kdiv = out.kdivide;
| ^~~~
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c joint.cpp -o joint.o
1 warning generated.
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.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -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.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -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.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -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.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -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.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -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);
| ^~
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c r_wrapper.cpp -o r_wrapper.o
8 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c rtimes.cpp -o rtimes.o
/usr/local/clang21/bin/clang -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c rtmpt_init.c -o rtmpt_init.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c rwiener.cpp -o rwiener.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c specifics.cpp -o specifics.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -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.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -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.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang21/include -I/usr/local/clang/include -I/usr/local/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c trait.cpp -o trait.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/21/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-clang/rtmpt/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/rtmpt/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/rtmpt/src'
installing to /data/gannet/ripley/R/packages/tests-clang/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)