* installing *source* package 'ordinalClust' ... ** this is package 'ordinalClust' version '1.3.5.1' ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 14.3.0' g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -DBOOST_DISABLE_ASSERTS -DARMA_USE_CURRENT -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppProgress/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" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Bos.cpp -o Bos.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 TabProbsResults.h:3, from Distribution.h:3, from Bos.h:3, from Bos.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)); | ^~~~~~~~~~~~~~~~~~~ Bos.cpp: In member function 'virtual void Bos::missingValuesInit()': Bos.cpp:51:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 51 | for (int imiss = 0; imiss < _miss.size(); imiss++) { | ~~~~~~^~~~~~~~~~~~~~ Bos.cpp: In member function 'virtual TabProbsResults Bos::SEstep(arma::mat, arma::mat)': Bos.cpp:94:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 94 | for (size_t i = 0; i < _Nr; i++) | ~~^~~~~ Bos.cpp:97:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 97 | for (size_t k = 0; k < _kr; k++) | ~~^~~~~ Bos.cpp:100:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 100 | for (size_t d = 0; d < _Jc; d++) | ~~^~~~~ Bos.cpp:103:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t h = 0; h < _kc; h++) | ~~^~~~~ Bos.cpp: In member function 'virtual arma::mat Bos::SEstepRow(arma::mat, arma::mat)': Bos.cpp:129:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 129 | for (size_t d = 0; d < _Jc; d++) | ~~^~~~~ Bos.cpp:131:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 131 | for (size_t h = 0; h < _kc; h++) | ~~^~~~~ Bos.cpp:134:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 134 | for (size_t i = 0; i < _Nr; i++) | ~~^~~~~ Bos.cpp:137:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 137 | for (size_t k = 0; k < _kr; k++) | ~~^~~~~ Bos.cpp: In member function 'virtual arma::mat Bos::SEstepCol(arma::mat, arma::mat)': Bos.cpp:160:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 160 | for (size_t i = 0; i < _Nr; i++) | ~~^~~~~ Bos.cpp:163:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 163 | for (size_t k = 0; k < _kr; k++) | ~~^~~~~ Bos.cpp:166:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 166 | for (size_t d = 0; d < _Jc; d++) | ~~^~~~~ Bos.cpp:169:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 169 | for (size_t h = 0; h < _kc; h++) | ~~^~~~~ Bos.cpp: In member function 'virtual void Bos::imputeMissingData(arma::mat, arma::mat)': Bos.cpp:200:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 200 | for (int imiss = 0; imiss < _miss.size(); imiss++) { | ~~~~~~^~~~~~~~~~~~~~ Bos.cpp: In member function 'double Bos::logsum(arma::rowvec)': Bos.cpp:885:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 885 | for (int i = 1; i < logx.n_elem; i++) { | ~~^~~~~~~~~~~~~ Bos.cpp: In member function 'int Bos::unsigned_to_signed(unsigned int)': Bos.cpp:1043:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1043 | if (x >= INT_MIN) | ^ Bos.cpp: In member function 'int Bos::getModeFromVec(arma::uvec)': Bos.cpp:1391:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1391 | for (unsigned int mu = 0; mu < this->_m; mu++) { | ~~~^~~~~~~~~~ make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: Bos.o] Error 1 ERROR: compilation failed for package 'ordinalClust' * removing 'd:/RCompile/CRANincoming/R-devel/lib/ordinalClust'