* installing *source* package 'rtmpt' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 12.3.0' using C++ compiler: 'g++.exe (GCC) 12.3.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/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 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:217:114: warning: 'low.point::x' may be used uninitialized [-Wmaybe-uninitialized] 217 | gamma_prior(scale, norm, n, low.x, xp, beta, sigi, lambdas, lams, tt, iz, true, one); gamma_prior(scale, norm, n, low.x, xp, beta, sigi, lambdas, lams, tt, iz, false, one); h.push_back(one); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ adaptive_rejection_sampling.cpp:164:29: note: 'low.point::x' was declared here 164 | point high, low; | ^~~ adaptive_rejection_sampling.cpp:218:115: warning: 'high.point::x' may be used uninitialized [-Wmaybe-uninitialized] 218 | gamma_prior(scale, norm, n, high.x, xp, beta, sigi, lambdas, lams, tt, iz, true, one); gamma_prior(scale, norm, n, high.x, xp, beta, sigi, lambdas, lams, tt, iz, false, one); h.push_back(one); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ adaptive_rejection_sampling.cpp:164:23: note: 'high.point::x' was declared here 164 | point high, low; | ^~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/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++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c diagnosis.cpp -o diagnosis.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c invtri.c -o invtri.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/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:15: warning: variable 'upper' set but not used [-Wunused-but-set-variable] 31 | int upper, lower ; | ^~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/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++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/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 initialize_new(std::vector, double*, double*, double*, double*, double*, double*, double*, gsl_rng*)': mvtimes.cpp:969:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 969 | 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:969:104: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 969 | 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 lam2(double, double, double, double, double, double*, double*, double*, double*, int, int, bool, point&)': mvtimes.cpp:296:41: warning: 'temp_plus' may be used uninitialized [-Wmaybe-uninitialized] 296 | 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:278:63: note: 'temp_plus' was declared here 278 | h.dh = log(fabs(n - PRIOR*(alpha - 1.0))); double temp_plus, temp_minus; bool fplus = true, fminus = true; | ^~~~~~~~~ mvtimes.cpp: In function 'void belege_bridge(int, int, int, double*, double*, double*, double*, double*, double*, double*, double*, double*, double)': mvtimes.cpp:848:73: warning: pointer 'temp' may be used after 'void free(void*)' [-Wuse-after-free] 848 | for (int i = 0; i != restparsno; i++) bridge_sample[offset + i] = temp[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ mvtimes.cpp:846:45: note: call to 'void free(void*)' here 846 | gsl_matrix_free(cy); free(tau); free(temp); | ~~~~^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c onetimes.cpp -o onetimes.o onetimes.cpp:424: warning: ignoring '#pragma optimize ' [-Wunknown-pragmas] 424 | #pragma optimize("", off) | onetimes.cpp:437: warning: ignoring '#pragma optimize ' [-Wunknown-pragmas] 437 | #pragma optimize("", on) | g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/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++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/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:/rtools43/x86_64-w64-mingw32.static.posix/include" -I/include -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rtmpt_init.c -o rtmpt_init.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/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++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/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 'int make_path_for_one_trial(int, double*, double, gsl_rng*)': times.cpp:137:13: warning: variable 'exit_status' set but not used [-Wunused-but-set-variable] 137 | int exit_status = 0; | ^~~~~~~~~~~ times.cpp: In function 'double double_truncnorm(double, double, gsl_rng*)': times.cpp:201:33: warning: 'rho' may be used uninitialized [-Wmaybe-uninitialized] 201 | if (u > rho) goto WEITER; | ^~ times.cpp:191:40: note: 'rho' was declared here 191 | double rho; | ^~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools43/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++17 -shared -s -static-libgcc -o rtmpt.dll tmp.def adaptive_rejection_sampling.o additions.o diagnosis.o invtri.o lnnorm.o main.o mvtimes.o onetimes.o r_wrapper.o rtimes.o rtmpt_init.o specifics.o times.o trait.o -L/lib -lgsl -lgslcblas -lR -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/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 * DONE (rtmpt)