* installing *source* package 'rotations' ...
** this is package 'rotations' version '1.6.6'
** package 'rotations' 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/RtmpAzyrIV/R.INSTALL6d006bcb4b02/rotations/src'
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include -I. -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 CppBayesFunctions.cpp -o CppBayesFunctions.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 CppBayesFunctions.h:4,
from CppBayesFunctions.cpp:1:
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));
| ^~~~~~~~~~~~~~~~~~~
CppBayesFunctions.cpp: In function 'Rcpp::List both_MCMC_CPP(const arma::mat&, arma::mat, double, double, double, int, int, int)':
CppBayesFunctions.cpp:509:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
509 | for (unsigned int i = 0;i < burnin;++i)
| ~~^~~~~~~~
CppBayesFunctions.cpp:520:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
520 | for (unsigned int i = 1;i < B;++i)
| ~~^~~
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: CppBayesFunctions.o] Error 1
make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpAzyrIV/R.INSTALL6d006bcb4b02/rotations/src'
ERROR: compilation failed for package 'rotations'
* removing 'd:/Rcompile/CRANpkg/lib/4.6/rotations'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/rotations'