* installing *source* package 'mvnfast' ...
** this is package 'mvnfast' version '0.2.8'
** package 'mvnfast' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.3.0'
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpCMdZ3T/R.INSTALL110546eb451a8/mvnfast/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 dmixtCpp.cpp -o dmixtCpp.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 mvnfast.h:6,
from dmixtCpp.cpp:20:
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));
| ^~~~~~~~~~~~~~~~~~~
In file included from mvnfast.h:9:
sitmo/sitmo.hpp: In member function 'void sitmo::prng_engine::discard(uint64_t)':
sitmo/sitmo.hpp:224:9: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
224 | if (z < 8 - _o_counter) {
| ~~^~~~~~~~~~~~~~~~
dmixtCpp.cpp: In function 'SEXPREC* dmixtCpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
dmixtCpp.cpp:65:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
65 | if( A.nrow() != n ) Rcpp::stop("A.nrow() != n");
| ~~~~~~~~~^~~~
dmixtCpp.cpp:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
66 | if( A.ncol() != m ) Rcpp::stop("A.ncol() != m");
| ~~~~~~~~~^~~~
dmixtCpp.cpp:83:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
83 | for(int ii = 0; ii < m; ii++)
| ~~~^~~
dmixtCpp.cpp:100:27: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
100 | for(int imix = 0; imix<m; imix++)
| ~~~~^~
dmixtCpp.cpp:108:23: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
108 | for(int ii = 0; ii<n; ii++)
| ~~^~
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: dmixtCpp.o] Error 1
make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpCMdZ3T/R.INSTALL110546eb451a8/mvnfast/src'
ERROR: compilation failed for package 'mvnfast'
* removing 'd:/Rcompile/CRANpkg/lib/4.6/mvnfast'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/mvnfast'