* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘updog’ ...
** package ‘updog’ 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/Rtmp4s71f3/R.INSTALL2edfd5629ef09e/updog/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/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/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c betabinom.cpp -o betabinom.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/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c em.cpp -o em.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/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c flexdog.cpp -o flexdog.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/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native  -DR_NO_REMAP -c gradients.cpp -o gradients.o
gradients.cpp: In function ‘Rcpp::NumericVector grad_for_mu_sigma2(arma::Col<double>, arma::Col<double>, Rcpp::NumericMatrix, arma::Mat<double>, Rcpp::NumericMatrix)’:
gradients.cpp:57:17: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’?
   57 |         d1 = R::dnorm4(q1, 0.0, 1.0, false);
      |                 ^~~~~~
      |                 rnorm
gradients.cpp:58:17: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’?
   58 |         d2 = R::dnorm4(q2, 0.0, 1.0, false);
      |                 ^~~~~~
      |                 rnorm
make[1]: *** [/home/hornik/tmp/R.check/r-devel-gcc/Work/build/etc/Makeconf:204: gradients.o] Error 1
make[1]: Leaving directory '/tmp/Rtmp4s71f3/R.INSTALL2edfd5629ef09e/updog/src'
ERROR: compilation failed for package ‘updog’
* removing ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/updog’