* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’ * installing *source* package ‘lsirm12pl’ ... ** package ‘lsirm12pl’ 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/RtmpStTbA7/R.INSTALL38dce5160c588e/lsirm12pl/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 lsirm1pl.cpp -o lsirm1pl.o lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:91:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 91 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:92:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 92 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:121:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 121 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:122:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 122 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:195:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 195 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:196:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 196 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:248:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 248 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:249:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 249 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:307:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 307 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:308:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 308 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:311:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 311 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:313:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 313 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_mcar_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:443:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 443 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:444:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 444 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:475:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 475 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:476:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 476 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:553:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 553 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:554:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 554 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:608:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 608 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:609:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 609 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:667:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 667 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:668:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 668 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:671:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 671 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:673:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 673 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_mcar_ss_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:812:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 812 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:813:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 813 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:844:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 844 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:845:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 845 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:941:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 941 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:942:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 942 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:993:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 993 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:994:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 994 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1054:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1054 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1055:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1055 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1059:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1059 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1061:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1061 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_normal_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:1195:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1195 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1196:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1196 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1223:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1223 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1224:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1224 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1294:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1294 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1295:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1295 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1345:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1345 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1346:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1346 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1415:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1415 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1416:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1416 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1418:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1418 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1420:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1420 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_normal_fixed_gamma_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:1550:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1550 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1551:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1551 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1578:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1578 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1579:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1579 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1621:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1621 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1622:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1622 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1672:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1672 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1673:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1673 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1741:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1741 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1742:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1742 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1744:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1744 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1746:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1746 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_fixed_gamma_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:1866:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1866 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1867:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1867 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1896:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1896 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1897:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1897 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:1940:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1940 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1941:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1941 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1993:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1993 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:1994:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 1994 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:2050:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2050 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2051:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2051 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2053:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2053 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:2055:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2055 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_fixed_gamma_mar_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:2216:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2216 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2217:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2217 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2248:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2248 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2249:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2249 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2295:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2295 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:2296:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2296 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:2347:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2347 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:2348:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2348 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:2405:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2405 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2406:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2406 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2408:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2408 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:2410:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2410 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_fixed_gamma_mcar_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:2535:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2535 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2536:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2536 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2567:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2567 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2568:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2568 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2614:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2614 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:2615:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2615 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:2666:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2666 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:2667:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2667 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:2725:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2725 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2726:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2726 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2728:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2728 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:2730:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2730 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_mar_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:2895:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2895 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2896:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2896 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2927:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2927 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:2928:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 2928 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3005:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3005 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3006:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3006 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3060:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3060 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3061:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3061 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3120:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3120 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3121:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3121 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3124:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3124 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3126:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3126 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_mar_ss_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:3299:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3299 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3300:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3300 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3331:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3331 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3332:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3332 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3425:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3425 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3426:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3426 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3480:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3480 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3481:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3481 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3542:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3542 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3543:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3543 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3547:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3547 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3549:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3549 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_normal_mar_ss_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:3726:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3726 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3727:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3727 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3756:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3756 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3757:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3757 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3847:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3847 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3848:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3848 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3900:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3900 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3901:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3901 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3976:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3976 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3977:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3977 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:3979:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3979 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:3981:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 3981 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_normal_mcar_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:4128:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4128 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4129:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4129 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4158:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4158 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4159:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4159 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4232:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4232 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:4233:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4233 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:4285:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4285 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:4286:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4286 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:4367:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4367 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4368:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4368 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4370:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4370 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:4372:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4372 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_normal_mcar_ss_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:4519:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4519 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4520:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4520 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4549:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4549 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4550:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4550 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4640:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4640 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:4641:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4641 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:4693:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4693 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:4694:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4694 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:4777:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4777 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4778:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4778 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4780:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4780 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:4782:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4782 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_normal_ss_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:4929:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4929 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4930:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4930 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4957:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4957 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:4958:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 4958 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5044:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5044 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:5045:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5045 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:5095:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5095 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:5096:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5096 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:5168:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5168 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5169:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5169 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5171:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5171 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:5173:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5173 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_ss_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:5314:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5314 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5315:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5315 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5343:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5343 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5344:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5344 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5433:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5433 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:5434:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5434 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:5483:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5483 | num += R::dnorm4(neww(i,j), pr_mean_w, pr_sd_w, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5484:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5484 | den += R::dnorm4(oldw(i,j), pr_mean_w, pr_sd_w, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5545:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5545 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5546:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5546 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5550:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5550 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j), pr_mean_w, pr_sd_w, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5552:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5552 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j), pr_mean_z, pr_sd_z, 1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_normal_fixed_gamma_mar_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:5718:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5718 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5719:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5719 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5748:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5748 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5749:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5749 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5793:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5793 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:5794:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5794 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:5846:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5846 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:5847:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5847 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:5920:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5920 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5921:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5921 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:5923:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5923 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:5925:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 5925 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_normal_fixed_gamma_mcar_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:6055:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6055 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:6056:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6056 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:6085:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6085 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:6086:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6086 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:6130:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6130 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:6131:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6131 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:6180:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6180 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:6181:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6181 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:6267:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6267 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:6268:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6268 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:6270:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6270 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:6272:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6272 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp: In function ‘Rcpp::List lsirm1pl_normal_mar_cpp(arma::mat, int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, bool)’: lsirm1pl.cpp:6437:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6437 | num = new_like_beta + R::dnorm4(newbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:6438:32: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6438 | den = old_like_beta + R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:6465:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6465 | num = new_like_theta + R::dnorm4(newtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:6466:33: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6466 | den = old_like_theta + R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:6536:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6536 | num += R::dnorm4(newz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:6537:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6537 | den += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm lsirm1pl.cpp:6587:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6587 | num += R::dnorm4(neww(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:6588:19: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6588 | den += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:6658:44: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6658 | for(i = 0; i < nitem; i++) mle += R::dnorm4(oldbeta(i), pr_mean_beta, pr_sd_beta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:6659:46: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6659 | for(k = 0; k < nsample; k++) mle += R::dnorm4(oldtheta(k), pr_mean_theta, pr_sd_theta, 1); | ^~~~~~ | rnorm lsirm1pl.cpp:6661:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6661 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldw(i,j),pr_mean_w,pr_sd_w,1); | ^~~~~~ | rnorm lsirm1pl.cpp:6663:45: error: ‘dnorm4’ is not a member of ‘R’; did you mean ‘rnorm’? 6663 | for(j = 0; j < ndim; j++) mle += R::dnorm4(oldz(k,j),pr_mean_z,pr_sd_z,1); | ^~~~~~ | rnorm make[1]: *** [/home/hornik/tmp/R.check/r-devel-gcc/Work/build/etc/Makeconf:204: lsirm1pl.o] Error 1 make[1]: Leaving directory '/tmp/RtmpStTbA7/R.INSTALL38dce5160c588e/lsirm12pl/src' ERROR: compilation failed for package ‘lsirm12pl’ * removing ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/lsirm12pl’