* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘rstpm2’ ...
** package ‘rstpm2’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-8) 14.2.0’
using Fortran compiler: ‘GNU Fortran (Debian 14.2.0-8) 14.2.0’
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/tmp/Rtmpe6LXJL/R.INSTALL289bcf3ad09714/rstpm2/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c aft.cpp -o aft.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c c_optim.cpp -o c_optim.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c cox_ph.cpp -o cox_ph.o
gfortran-14  -fpic  -g -O2 -Wall -pedantic -mtune=native  -c gaussq2.f -o gaussq2.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c gsm.cpp -o gsm.o
gfortran-14  -fpic  -g -O2 -Wall -pedantic -mtune=native  -c  laplace.f90 -o laplace.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c multistate.cpp -o multistate.o
gcc-14 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c package_init.c -o package_init.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c pluginEstimate2.cpp -o pluginEstimate2.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c splines.cpp -o splines.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I../inst/include -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c test-nmmin.cpp -o test-nmmin.o
test-nmmin.cpp: In function ‘arma::vec rstpm2::pnorm01(const arma::vec&)’:
test-nmmin.cpp:96:14: error: ‘pnorm5’ is not a member of ‘R’; did you mean ‘rnorm’?
   96 |       o = R::pnorm5(*xi++, 0, 1, true, false);
      |              ^~~~~~
      |              rnorm
test-nmmin.cpp: In function ‘arma::vec rstpm2::pnorm01_log(const arma::vec&)’:
test-nmmin.cpp:103:14: error: ‘pnorm5’ is not a member of ‘R’; did you mean ‘rnorm’?
  103 |       o = R::pnorm5(*xi++, 0, 1, true, true);
      |              ^~~~~~
      |              rnorm
test-nmmin.cpp: In function ‘arma::vec rstpm2::dpnorm01_log(const arma::vec&)’:
test-nmmin.cpp:113:34: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’?
  113 |         double const dv     = R::dnorm4(xv, 0, 1    , 0L),
      |                                  ^~~~~~
      |                                  rnorm
test-nmmin.cpp:115:18: error: ‘pv’ was not declared in this scope; did you mean ‘dv’?
  115 |         o = dv / pv;
      |                  ^~
      |                  dv
test-nmmin.cpp:117:34: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’?
  117 |         double const log_dv = R::dnorm4(xv, 0, 1    , 1L),
      |                                  ^~~~~~
      |                                  rnorm
test-nmmin.cpp:119:31: error: ‘log_pv’ was not declared in this scope; did you mean ‘log_dv’?
  119 |         o = std::exp(log_dv - log_pv);
      |                               ^~~~~~
      |                               log_dv
test-nmmin.cpp: In function ‘arma::vec rstpm2::qnorm01(const arma::vec&)’:
test-nmmin.cpp:128:14: error: ‘qnorm5’ is not a member of ‘R’; did you mean ‘rnorm’?
  128 |       o = R::qnorm5(*xi++, 0, 1, true, false);
      |              ^~~~~~
      |              rnorm
test-nmmin.cpp: In function ‘arma::vec rstpm2::dnorm01(const arma::vec&)’:
test-nmmin.cpp:135:14: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’?
  135 |       o = R::dnorm4(*xi++, 0, 1, false);
      |              ^~~~~~
      |              rnorm
make[1]: *** [/home/hornik/tmp/R.check/r-devel-gcc/Work/build/etc/Makeconf:204: test-nmmin.o] Error 1
make[1]: Leaving directory '/tmp/Rtmpe6LXJL/R.INSTALL289bcf3ad09714/rstpm2/src'
ERROR: compilation failed for package ‘rstpm2’
* removing ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rstpm2’