* installing *source* package 'coneproj' ...
** this is package 'coneproj' version '1.23'
** package 'coneproj' 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/RtmpQtSXXw/R.INSTALL180fc49a376b2/coneproj/src'
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c coneproj.cpp -o coneproj.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 coneproj.cpp:3:
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));
| ^~~~~~~~~~~~~~~~~~~
coneproj.cpp: In function 'SEXPREC* coneACpp(SEXP, SEXP, SEXP)':
coneproj.cpp:98:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
98 | for(int k = 0; k < indice.n_elem; k ++){
| ~~^~~~~~~~~~~~~~~
coneproj.cpp: In function 'SEXPREC* coneBCpp(SEXP, SEXP, SEXP, SEXP)':
coneproj.cpp:248:26: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
248 | for(int k = 0; k < indice.n_elem; k ++){
| ~~^~~~~~~~~~~~~~~
coneproj.cpp:262:21: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
262 | if (a.n_elem > p) {
| ~~~~~~~~~^~~
coneproj.cpp:265:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
265 | for(int i = p; i <= a.n_elem - 1; i ++){
| ~~^~~~~~~~~~~~~~~
coneproj.cpp:306:30: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
306 | for(int k = 0; k < indiceEnd.n_elem; k ++){
| ~~^~~~~~~~~~~~~~~~~~
coneproj.cpp: In function 'SEXPREC* qprogCpp(SEXP, SEXP, SEXP, SEXP, SEXP)':
coneproj.cpp:449:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
449 | for(int k = 0; k < indice.n_elem; k ++){
| ~~^~~~~~~~~~~~~~~
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: coneproj.o] Error 1
make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpQtSXXw/R.INSTALL180fc49a376b2/coneproj/src'
ERROR: compilation failed for package 'coneproj'
* removing 'd:/Rcompile/CRANpkg/lib/4.6/coneproj'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/coneproj'