* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘maotai’ ...
** package ‘maotai’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/tmp/RtmpqpPEi7/R.INSTALL3255081e6098e7/maotai/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -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/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -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  -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/RcppDist/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c cpp_bmds.cpp -o cpp_bmds.o
cpp_bmds.cpp: In function ‘arma::rowvec update_xvec(arma::mat, arma::mat, int, double, double, arma::mat)’:
cpp_bmds.cpp:129:70: error: ‘pnorm5’ is not a member of ‘R’; did you mean ‘rnorm’?
  129 |         t3tgt += static_cast<double>(std::sqrt(static_cast<float>(R::pnorm5(Deltgt(i,j)/sigma,0.0,1.0,1,0))));
      |                                                                      ^~~~~~
      |                                                                      rnorm
cpp_bmds.cpp:149:70: error: ‘pnorm5’ is not a member of ‘R’; did you mean ‘rnorm’?
  149 |         t3old += static_cast<double>(std::sqrt(static_cast<float>(R::pnorm5(Delold(i,j)/sigma,0.0,1.0,1,0))));
      |                                                                      ^~~~~~
      |                                                                      rnorm
make[1]: *** [/home/hornik/tmp/R.check/r-devel-gcc/Work/build/etc/Makeconf:204: cpp_bmds.o] Error 1
make[1]: Leaving directory '/tmp/RtmpqpPEi7/R.INSTALL3255081e6098e7/maotai/src'
ERROR: compilation failed for package ‘maotai’
* removing ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/maotai’