* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘em’ ...
** package ‘em’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
using C++11
make[1]: Entering directory '/tmp/RtmpC0pr5V/R.INSTALL2e25d415fc6b2a/em/src'
g++-14 -std=gnu++11 -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++11 -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 gen_theta.cpp -o gen_theta.o
g++-14 -std=gnu++11 -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 mix_ll.cpp -o mix_ll.o
In file included from mix_ll.cpp:9:
Family.h: In member function ‘arma::mat FamilyNormal::logLik(const arma::vec&, const arma::mat&, const arma::mat&, const bool&)’:
Family.h:44:26: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’?
   44 |           l.at(i,j) = R::dnorm4(Y.at(i,j), mean_mat.at(i,j), sd, lg);
      |                          ^~~~~~
      |                          rnorm
make[1]: *** [/home/hornik/tmp/R.check/r-devel-gcc/Work/build/etc/Makeconf:204: mix_ll.o] Error 1
make[1]: Leaving directory '/tmp/RtmpC0pr5V/R.INSTALL2e25d415fc6b2a/em/src'
ERROR: compilation failed for package ‘em’
* removing ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/em’