* installing *source* package 'BoltzMM' ...
** this is package 'BoltzMM' version '0.1.5'
** package 'BoltzMM' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpEHGDv7/R.INSTALL1656438fb952/BoltzMM/src'
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c BoltzMM.cpp -o BoltzMM.o
BoltzMM.cpp:10:9: warning: "NDEBUG" redefined
10 | #define NDEBUG
| ^~~~~~
<command-line>: note: this is the location of the previous definition
In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:35,
from BoltzMM.cpp:8:
D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h: In constructor 'Rcpp::Function_Impl<StoragePolicy>::Function_Impl(const std::string&, const std::string&)':
D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h:75:65: error: 'R_NamespaceRegistry' was not declared in this scope
75 | Shield<SEXP> env(R_getVarEx(Rf_install(ns.c_str()), R_NamespaceRegistry, FALSE, R_UnboundValue));
| ^~~~~~~~~~~~~~~~~~~
BoltzMM.cpp: In function 'double log_pl_calc(arma::mat, Rcpp::List)':
BoltzMM.cpp:68:10: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
68 | if(p+q != data.n_cols){
| ~~~~^~~~~~~~~~~~~~
BoltzMM.cpp: In function 'double pfvbm(arma::vec, arma::vec, arma::mat)':
BoltzMM.cpp:159:19: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
159 | if(xval.n_elem!= n || Mmat.n_rows!=n || Mmat.n_cols!=n || Mmat.n_rows!=Mmat.n_cols ){
| ~~~~~~~~~~~^~~~
BoltzMM.cpp:159:38: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
159 | if(xval.n_elem!= n || Mmat.n_rows!=n || Mmat.n_cols!=n || Mmat.n_rows!=Mmat.n_cols ){
| ~~~~~~~~~~~^~~
BoltzMM.cpp:159:56: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
159 | if(xval.n_elem!= n || Mmat.n_rows!=n || Mmat.n_cols!=n || Mmat.n_rows!=Mmat.n_cols ){
| ~~~~~~~~~~~^~~
BoltzMM.cpp: In function 'arma::rowvec allpfvbm(arma::vec, arma::mat)':
BoltzMM.cpp:193:19: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
193 | if(Mmat.n_rows!=n || Mmat.n_cols!=n || Mmat.n_rows!=Mmat.n_cols ){
| ~~~~~~~~~~~^~~
BoltzMM.cpp:193:37: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
193 | if(Mmat.n_rows!=n || Mmat.n_cols!=n || Mmat.n_rows!=Mmat.n_cols ){
| ~~~~~~~~~~~^~~
BoltzMM.cpp: In function 'arma::mat rfvbm(int, arma::vec, arma::mat)':
BoltzMM.cpp:228:17: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
228 | if(Mmat.n_rows!=n || Mmat.n_cols!=n || Mmat.n_rows!=Mmat.n_cols ){
| ~~~~~~~~~~~^~~
BoltzMM.cpp:228:35: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
228 | if(Mmat.n_rows!=n || Mmat.n_cols!=n || Mmat.n_rows!=Mmat.n_cols ){
| ~~~~~~~~~~~^~~
BoltzMM.cpp: In function 'Rcpp::List fitfvbm(arma::mat, arma::vec, arma::mat, double, int)':
BoltzMM.cpp:270:19: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
270 | if(Mmat.n_rows!=D || Mmat.n_cols!=D || data.n_cols !=D || data.n_cols!=Mmat.n_cols || data.n_cols!=Mmat.n_rows || Mmat.n_rows!=Mmat.n_cols){
| ~~~~~~~~~~~^~~
BoltzMM.cpp:270:37: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
270 | if(Mmat.n_rows!=D || Mmat.n_cols!=D || data.n_cols !=D || data.n_cols!=Mmat.n_cols || data.n_cols!=Mmat.n_rows || Mmat.n_rows!=Mmat.n_cols){
| ~~~~~~~~~~~^~~
BoltzMM.cpp:270:56: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
270 | if(Mmat.n_rows!=D || Mmat.n_cols!=D || data.n_cols !=D || data.n_cols!=Mmat.n_cols || data.n_cols!=Mmat.n_rows || Mmat.n_rows!=Mmat.n_cols){
| ~~~~~~~~~~~~^~~
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: BoltzMM.o] Error 1
make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpEHGDv7/R.INSTALL1656438fb952/BoltzMM/src'
ERROR: compilation failed for package 'BoltzMM'
* removing 'd:/Rcompile/CRANpkg/lib/4.6/BoltzMM'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/BoltzMM'