* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘stpm’ ...
** package ‘stpm’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Debian clang version 18.1.6 (1)’
using C++ compiler: ‘Debian clang version 18.1.6 (1)’
make[1]: Entering directory '/tmp/RtmpocWZ3G/R.INSTALLb812d227489cb/stpm/src'
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c devlik.cpp -o devlik.o
devlik.cpp:459:6: warning: unused variable 't_n' [-Wunused-variable]
  459 |         int t_n = m0_v.n_elem;
      |             ^~~
1 warning generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c devlik_g.cpp -o devlik_g.o
devlik_g.cpp:407:6: warning: unused variable 't_n' [-Wunused-variable]
  407 |         int t_n = m0_v.n_elem;
      |             ^~~
1 warning generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c devlik_g_2.cpp -o devlik_g_2.o
devlik_g_2.cpp:362:6: warning: unused variable 't_n' [-Wunused-variable]
  362 |         int t_n = m0_v.n_elem;
      |             ^~~
1 warning generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c hes_spm_g.cpp -o hes_spm_g.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c loglik.cpp -o loglik.o
loglik.cpp:26:9: warning: unused variable 'c1' [-Wunused-variable]
   26 |         double c1 = (u / (r0 - rs) + 2 * q)*exp(-1 * u*t0);
      |                ^~
loglik.cpp:42:9: warning: unused variable 'c1' [-Wunused-variable]
   42 |         double c1 = (u / (r0 - rs) + 2 * q)*exp((-1) * u*t0);
      |                ^~
loglik.cpp:43:9: warning: unused variable 'w_u' [-Wunused-variable]
   43 |         double w_u = (-1)*q*f + q*a*(f - f1) / sqrt(pow(a, 2) + 2 * q*pow(b, 2));
      |                ^~~
loglik.cpp:59:9: warning: unused variable 'w_u' [-Wunused-variable]
   59 |         double w_u = (-1)*q*f + q*a*(f - f1) / sqrt(pow(a, 2) + 2 * q*pow(b, 2));
      |                ^~~
loglik.cpp:114:6: warning: unused variable 't_n' [-Wunused-variable]
  114 |         int t_n = m0_v.n_elem;
      |             ^~~
5 warnings generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c loglik_g.cpp -o loglik_g.o
loglik_g.cpp:34:9: warning: unused variable 'c1' [-Wunused-variable]
   34 |         double c1 = (u / (r0 - rs) + 2 * q)*exp(-1 * u*t0);
      |                ^~
loglik_g.cpp:55:9: warning: unused variable 'c1' [-Wunused-variable]
   55 |         double c1 = (u / (r0 - rs) + 2 * q)*exp((-1) * u*t0);
      |                ^~
loglik_g.cpp:56:9: warning: unused variable 'w_u' [-Wunused-variable]
   56 |         double w_u = (-1)*q*f + q*a*(f - f1) / sqrt(pow(a, 2) + 2 * q*pow(b, 2));
      |                ^~~
loglik_g.cpp:77:9: warning: unused variable 'w_u' [-Wunused-variable]
   77 |         double w_u = (-1)*q*f + q*a*(f - f1) / sqrt(pow(a, 2) + 2 * q*pow(b, 2));
      |                ^~~
loglik_g.cpp:140:6: warning: unused variable 't_n' [-Wunused-variable]
  140 |         int t_n = m0_v.n_elem;
      |             ^~~
5 warnings generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c loglik_g_2.cpp -o loglik_g_2.o
loglik_g_2.cpp:35:9: warning: unused variable 'c1' [-Wunused-variable]
   35 |         double c1 = (u / (r0 - rs) + 2 * q)*exp(-1 * u*t0);
      |                ^~
loglik_g_2.cpp:58:9: warning: unused variable 'c1' [-Wunused-variable]
   58 |         double c1 = (u / (r0 - rs) + 2 * q)*exp((-1) * u*t0);
      |                ^~
loglik_g_2.cpp:59:9: warning: unused variable 'w_u' [-Wunused-variable]
   59 |         double w_u = (-1)*q*f + q*a*(f - f1) / sqrt(pow(a, 2) + 2 * q*pow(b, 2));
      |                ^~~
loglik_g_2.cpp:82:9: warning: unused variable 'w_u' [-Wunused-variable]
   82 |         double w_u = (-1)*q*f + q*a*(f - f1) / sqrt(pow(a, 2) + 2 * q*pow(b, 2));
      |                ^~~
loglik_g_2.cpp:147:6: warning: unused variable 't_n' [-Wunused-variable]
  147 |         int t_n = m0_v.n_elem;
      |             ^~~
5 warnings generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c simdataND.cpp -o simdataND.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c spm_1D.cpp -o spm_1D.o
spm_1D.cpp:23:15: warning: variable 'hf1H' set but not used [-Wunused-but-set-variable]
   23 |   double hfH, hf1H, mu0Ht,  mu;
      |               ^
spm_1D.cpp:78:9: warning: variable 'res' set but not used [-Wunused-but-set-variable]
   78 |     int res = func1(k1ar, t,out, fH, f1H, aH, bH, QH, thetaH);
      |         ^
2 warnings generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c spm_discrete.cpp -o spm_discrete.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c spm_integral_MD.cpp -o spm_integral_MD.o
spm_integral_MD.cpp:1050:17: warning: variable 'L1Y' set but not used [-Wunused-but-set-variable]
 1050 |     long double L1Y, L1Q, L0Y, L0Q;
      |                 ^
1 warning generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c spm_integral_md_linear.cpp -o spm_integral_md_linear.o
clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c stpm_init.c -o stpm_init.o
clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o stpm.so devlik.o devlik_g.o devlik_g_2.o hes_spm_g.o loglik.o loglik_g.o loglik_g_2.o simdataND.o spm_1D.o spm_discrete.o spm_integral_MD.o spm_integral_md_linear.o stpm_init.o -llapack -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lRblas -L/usr/lib/llvm-18/lib -lFortran_main -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpocWZ3G/R.INSTALLb812d227489cb/stpm/src'
make[1]: Entering directory '/tmp/RtmpocWZ3G/R.INSTALLb812d227489cb/stpm/src'
make[1]: Leaving directory '/tmp/RtmpocWZ3G/R.INSTALLb812d227489cb/stpm/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-stpm/00new/stpm/libs
** R
** data
** 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
* creating tarball
packaged installation of ‘stpm’ as ‘stpm_1.7.12_R_x86_64-pc-linux-gnu.tar.gz’
* DONE (stpm)