* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘ream’ ...
** package ‘ream’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-3) 14.2.0’
using C++ compiler: ‘g++-14 (Debian 14.2.0-3) 14.2.0’
make[1]: Entering directory '/tmp/RtmpkQKzvi/R.INSTALL3c569458647351/ream/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Model.cpp -o Model.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Model_T.cpp -o Model_T.o
Model_T.cpp: In member function ‘virtual int Model_T::rand(double*, double*) const’:
Model_T.cpp:881:23: warning: unused variable ‘kk’ [-Wunused-variable]
  881 |   int ii = 0, jj = 0, kk = 0;
      |                       ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Model_TW.cpp -o Model_TW.o
Model_TW.cpp: In member function ‘virtual int Model_TW::pdf(double*, double*, double*, double*, double*, std::vector<double>, std::vector<double>, double*) const’:
Model_TW.cpp:151:10: warning: unused variable ‘x_n’ [-Wunused-variable]
  151 |   double x_n = 0.0, x_np1 = 0.0;
      |          ^~~
Model_TW.cpp:151:21: warning: unused variable ‘x_np1’ [-Wunused-variable]
  151 |   double x_n = 0.0, x_np1 = 0.0;
      |                     ^~~~~
Model_TW.cpp: In member function ‘virtual int Model_TW::cdf(double*, double*, double*, double*, double*, std::vector<double>, std::vector<double>, double*) const’:
Model_TW.cpp:534:10: warning: unused variable ‘x_n’ [-Wunused-variable]
  534 |   double x_n = 0.0, x_np1 = 0.0;
      |          ^~~
Model_TW.cpp:534:21: warning: unused variable ‘x_np1’ [-Wunused-variable]
  534 |   double x_n = 0.0, x_np1 = 0.0;
      |                     ^~~~~
Model_TW.cpp: In member function ‘virtual int Model_TW::rand(double*, double*) const’:
Model_TW.cpp:871:23: warning: unused variable ‘kk’ [-Wunused-variable]
  871 |   int ii = 0, jj = 0, kk = 0;
      |                       ^~
Model_TW.cpp: In member function ‘virtual int Model_TW::grid_pdf(double*, double*, double*, double*) const’:
Model_TW.cpp:1014:10: warning: unused variable ‘x_n’ [-Wunused-variable]
 1014 |   double x_n = 0.0, x_np1 = 0.0;
      |          ^~~
Model_TW.cpp:1014:21: warning: unused variable ‘x_np1’ [-Wunused-variable]
 1014 |   double x_n = 0.0, x_np1 = 0.0;
      |                     ^~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Model_TX.cpp -o Model_TX.o
Model_TX.cpp: In member function ‘virtual int Model_TX::rand(double*, double*) const’:
Model_TX.cpp:880:23: warning: unused variable ‘kk’ [-Wunused-variable]
  880 |   int ii = 0, jj = 0, kk = 0;
      |                       ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c R_wrapper.cpp -o R_wrapper.o
In file included from R_wrapper.cpp:16:
models_tw.h: In member function ‘virtual double CDSTP::diffusion(const double*, double, double) const’:
models_tw.h:50:12: warning: unused variable ‘mu1’ [-Wunused-variable]
   50 |     double mu1 = phi[3] + phi[4]*phi[5];
      |            ^~~
models_tw.h:51:12: warning: unused variable ‘mu2’ [-Wunused-variable]
   51 |     double mu2 = phi[6];
      |            ^~~
models_tw.h: In member function ‘virtual double CDSTP::ts_cdf(const double*, double) const’:
models_tw.h:111:12: warning: unused variable ‘v’ [-Wunused-variable]
  111 |     double v = 0.0; /* total summed drift rate for process 1 */
      |            ^
models_tw.h: In member function ‘virtual double SDPM::ts_cdf(const double*, double) const’:
models_tw.h:239:12: warning: unused variable ‘v’ [-Wunused-variable]
  239 |     double v = 0.0; /* total summed drift rate for process 1 */
      |            ^
models_tw.h: In member function ‘virtual double WDSTP::diffusion(const double*, double, double) const’:
models_tw.h:309:12: warning: unused variable ‘mu1’ [-Wunused-variable]
  309 |     double mu1 = phi[3] + phi[4]*phi[5];
      |            ^~~
models_tw.h:310:12: warning: unused variable ‘mu2’ [-Wunused-variable]
  310 |     double mu2 = phi[6];
      |            ^~~
models_tw.h: In member function ‘virtual double WDSTP::ts_cdf(const double*, double) const’:
models_tw.h:365:12: warning: unused variable ‘mu1’ [-Wunused-variable]
  365 |     double mu1 = phi[3] + phi[4]*phi[5];
      |            ^~~
models_tw.h:366:12: warning: unused variable ‘mu2’ [-Wunused-variable]
  366 |     double mu2 = phi[6];
      |            ^~~
gcc-14 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c ream_init.c -o ream_init.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tools.cpp -o tools.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o ream.so Model.o Model_T.o Model_TW.o Model_TX.o R_wrapper.o ream_init.o tools.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpkQKzvi/R.INSTALL3c569458647351/ream/src'
make[1]: Entering directory '/tmp/RtmpkQKzvi/R.INSTALL3c569458647351/ream/src'
make[1]: Leaving directory '/tmp/RtmpkQKzvi/R.INSTALL3c569458647351/ream/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-ream/00new/ream/libs
** R
** 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 (ream)