* installing *source* package 'rtmpt' ...
** this is package 'rtmpt' version '2.1-1'
** package 'rtmpt' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.3.0'
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_09_24_01_50_00_23554/RtmpkrFMg6/R.INSTALL299461b75eb5/rtmpt/src'
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Quelle.cpp -o Quelle.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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:166:29: warning: unused variable 'cnt_while' [-Wunused-variable]
166 | int cnt_while = 0;
| ^~~~~~~~~
adaptive_rejection_sampling.cpp:204:52: warning: 'high.ertmpt::point::x' may be used uninitialized [-Wmaybe-uninitialized]
204 | gamma_prior(scale, norm, n, (low.x + high.x) / 2, xp, beta, sigi, lambdas, lams, tt, iz, false, one);
| ~~~~~~~^~~~~~~~~
adaptive_rejection_sampling.cpp:162:23: note: 'high.ertmpt::point::x' was declared here
162 | point high, low;
| ^~~~
adaptive_rejection_sampling.cpp:204:52: warning: 'low.ertmpt::point::x' may be used uninitialized [-Wmaybe-uninitialized]
204 | gamma_prior(scale, norm, n, (low.x + high.x) / 2, xp, beta, sigi, lambdas, lams, tt, iz, false, one);
| ~~~~~~~^~~~~~~~~
adaptive_rejection_sampling.cpp:162:29: note: 'low.ertmpt::point::x' was declared here
162 | point high, low;
| ^~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c additions.cpp -o additions.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c derivatives.cpp -o derivatives.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c diagnosis.cpp -o diagnosis.o
diagnosis.cpp: In function 'void drtmpt::aggregate(int, int, int*, const std::vector<trial>&, int*, int*, int*, double*, gsl_rng*)':
diagnosis.cpp:1243:9: warning: unused variable 'exit_status' [-Wunused-variable]
1243 | int exit_status = 1;
| ^~~~~~~~~~~
diagnosis.cpp: In function 'void drtmpt::groupwise(double*)':
diagnosis.cpp:1485:9: warning: unused variable 'exit_status' [-Wunused-variable]
1485 | int exit_status = 0;
| ^~~~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c diffusion.cpp -o diffusion.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gibbs.cpp -o gibbs.o
gibbs.cpp: In function 'void drtmpt::gibbs_times_new(const std::vector<trial>&, std::vector<gsl_rng*>&)':
gibbs.cpp:255:12: warning: unused variable 'epsm' [-Wunused-variable]
255 | double epsm = 0.0; double activeeps = xeps; double Hobjective = 0.0;
| ^~~~
gibbs.cpp:255:56: warning: unused variable 'Hobjective' [-Wunused-variable]
255 | double epsm = 0.0; double activeeps = xeps; double Hobjective = 0.0;
| ^~~~~~~~~~
gibbs.cpp:256:12: warning: unused variable 'liknorm' [-Wunused-variable]
256 | double liknorm[6] = { 0 * 6 };
| ^~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c hamiltonian.cpp -o hamiltonian.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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:272:101: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
272 | if ((err[0] <= std::max(reqRelError * fabs(val[0]), reqAbsError)) || ((maxEval!=0) && (numevals >= maxEval))) {
| ~~~~~~~~~^~~~~~~~~~
hcubature.cpp:306:108: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
306 | if (((err[0] <= std::max(reqRelError * fabs(val[0]), reqAbsError)) || ((maxEval != 0) && (numevals >= maxEval))) || !(std::isfinite(val[0])) ) {
| ~~~~~~~~~^~~~~~~~~~
gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c invtri.c -o invtri.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c joint.cpp -o joint.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c lkj.cpp -o lkj.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c main.cpp -o main.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mvtimes.cpp -o mvtimes.o
mvtimes.cpp: In function 'void ertmpt::lam2(double, double, double, double, double, double*, double*, double*, double*, int, int, bool, point&)':
mvtimes.cpp:289:41: warning: 'temp_plus' may be used uninitialized [-Wmaybe-uninitialized]
289 | 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:271:63: note: 'temp_plus' was declared here
271 | h.dh = log(fabs(n - PRIOR*(alpha - 1.0))); double temp_plus, temp_minus; bool fplus = true, fminus = true;
| ^~~~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c onetimes.cpp -o onetimes.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c r_wrapper.cpp -o r_wrapper.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rtimes.cpp -o rtimes.o
gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c rtmpt_init.c -o rtmpt_init.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rwiener.cpp -o rwiener.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c specifics.cpp -o specifics.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c times.cpp -o times.o
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++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tools.cpp -o tools.o
tools.cpp:45:5: warning: 'int fopen_s(FILE**, const char*, const char*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
45 | int fopen_s(FILE **f, const char *name, const char *mode) {
| ^~~~~~~
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c trait.cpp -o trait.o
g++ -std=gnu++20 -shared -s -static-libgcc -o rtmpt.dll tmp.def 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/lib -lgsl -lgslcblas -lR -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2026_09_24_01_50_00_23554/RtmpkrFMg6/R.INSTALL299461b75eb5/rtmpt/src'
make[1]: Entering directory '/d/temp/2026_09_24_01_50_00_23554/RtmpkrFMg6/R.INSTALL299461b75eb5/rtmpt/src'
make[1]: Leaving directory '/d/temp/2026_09_24_01_50_00_23554/RtmpkrFMg6/R.INSTALL299461b75eb5/rtmpt/src'
installing to d:/Rcompile/CRANpkg/lib/4.7/00LOCK-rtmpt/00new/rtmpt/libs/x64
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'rtmpt' as rtmpt_2.1-1.zip
* DONE (rtmpt)