* using log directory 'd:/Rcompile/CRANpkg/local/4.6/matrixdist.Rcheck' * using R version 4.6.0 beta (2026-04-16 r89899 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-04-17 14:39:30 UTC * checking for file 'matrixdist/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'matrixdist' version '1.1.9' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'matrixdist' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/matrixdist.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'matrixdist' ... ** this is package 'matrixdist' version '1.1.9' ** package 'matrixdist' 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/RtmpiimsvB/R.INSTALL158c82416ad6/matrixdist/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:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c EM_LL.cpp -o EM_LL.o 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 EM_LL.cpp:1: D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h: In constructor 'Rcpp::Function_Impl::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 env(R_getVarEx(Rf_install(ns.c_str()), R_NamespaceRegistry, FALSE, R_UnboundValue)); | ^~~~~~~~~~~~~~~~~~~ EM_LL.cpp: In function 'void runge_kutta(arma::vec&, arma::mat&, arma::mat&, double, double, const arma::mat&, const arma::mat&)': EM_LL.cpp:42:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 42 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:44:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 44 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:49:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 49 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:51:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 51 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:56:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 56 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:58:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 58 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:63:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 63 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:65:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 65 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:71:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 71 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:73:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 73 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:78:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 78 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:80:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 80 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:85:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 85 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:87:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 87 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:92:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 92 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:94:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 94 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:100:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | for (m = 0; m < p; ++m) { | ~~^~~ EM_LL.cpp:101:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 101 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 103 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:109:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 109 | for (m = 0; m < p; ++m) { | ~~^~~ EM_LL.cpp:110:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 110 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:112:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 112 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:118:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 118 | for (m = 0; m < p; ++m) { | ~~^~~ EM_LL.cpp:119:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 119 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:121:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 121 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:127:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 127 | for (m = 0; m < p; ++m) { | ~~^~~ EM_LL.cpp:128:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 128 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:130:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 130 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:137:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 137 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:140:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 140 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp: In function 'void EMstep_RK(double, arma::vec&, arma::mat&, const Rcpp::NumericVector&, const Rcpp::NumericVector&, const Rcpp::NumericVector&, const Rcpp::NumericVector&)': EM_LL.cpp:201:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 201 | for (int i{0}; i < p; ++i) { | ~~^~~ EM_LL.cpp:205:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 205 | for (int j{0}; j < p; ++j) { | ~~^~~ EM_LL.cpp:230:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 230 | for (int i{0}; i < p; ++i) { | ~~^~~ EM_LL.cpp:233:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for (int j{0}; j < p; ++j) { | ~~^~~ EM_LL.cpp:243:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | for (int i{0}; i < p; ++i) { | ~~^~~ EM_LL.cpp:253:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 253 | for (int j{0}; j < p; ++j) { | ~~^~~ EM_LL.cpp: In function 'void a_rungekutta(arma::vec&, double, double, const arma::mat&)': EM_LL.cpp:289:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 289 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:291:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 291 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:296:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 296 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:298:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 298 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:303:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 303 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:305:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 305 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:310:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 310 | for (i = 0; i < p; ++i) { | ~~^~~ EM_LL.cpp:312:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 312 | for (j = 0; j < p; ++j) { | ~~^~~ EM_LL.cpp:318:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 318 | for (i = 0; i < p; ++i) { | ~~^~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: EM_LL.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpiimsvB/R.INSTALL158c82416ad6/matrixdist/src' ERROR: compilation failed for package 'matrixdist' * removing 'd:/Rcompile/CRANpkg/lib/4.6/matrixdist' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/matrixdist'