* using log directory 'd:/Rcompile/CRANpkg/local/4.6/FIRM.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 08:21:55 UTC * checking for file 'FIRM/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'FIRM' version '0.1.2' * 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 'FIRM' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/FIRM.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'FIRM' ... ** this is package 'FIRM' version '0.1.2' ** package 'FIRM' 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/Rtmpk5g64u/R.INSTALL129e0336e6a60/FIRM/src' g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -isystem/Eigen -I../inst/include -DARMA_64BIT_WORD=1 -DEIGEN_MAX_ALIGN_BYTES=32 -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/RcppEigen/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c FIRM_res.cpp -o FIRM_res.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 FIRM_res_aux.h:5, from FIRM_res.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)); | ^~~~~~~~~~~~~~~~~~~ FIRM_res.cpp: In member function 'void FIRM_res::loop_by_thread(int, int, int)': FIRM_res.cpp:23:21: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare] 23 | for (int i = 0; i < nSS2_cluster; i++){ | ~~^~~~~~~~~~~~~~ FIRM_res.cpp:34:21: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare] 34 | for (int i = 0; i < nSS2_cluster; i++){ | ~~^~~~~~~~~~~~~~ FIRM_res.cpp:38:21: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare] 38 | for (int i = 0; i < ntenx_cluster; i++){ | ~~^~~~~~~~~~~~~~~ FIRM_res.cpp:43:21: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare] 43 | for (int i = 0; i < nSS2_cluster; i++){ | ~~^~~~~~~~~~~~~~ FIRM_res.cpp:47:13: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 47 | if (ind >= i){ | ~~~~^~~~ FIRM_res.cpp:77:21: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare] 77 | for (int i = 0; i < nSS2_cluster; i++){ | ~~^~~~~~~~~~~~~~ FIRM_res.cpp:89:21: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare] 89 | for (int j = 0; j < ntenx_cluster; j++){ | ~~^~~~~~~~~~~~~~~ FIRM_res.cpp:94:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare] 94 | for (int i = 0; i < n_NN_min; i++){ | ~~^~~~~~~~~~ FIRM_res.cpp:99:25: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare] 99 | for (int i = 0; i < n_NN_min; i++){ | ~~^~~~~~~~~~ FIRM_res.cpp:113:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare] 113 | for (int j = 0; j < tenx_unpaired_ind.n_elem; j++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ FIRM_res.cpp:118:25: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare] 118 | for (int i = 0; i < NNC_tenx.n_cols; i++){ | ~~^~~~~~~~~~~~~~~~~ FIRM_res.cpp:192:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare] 192 | for (int i = 0; i < n_paired; i++){ | ~~^~~~~~~~~~ FIRM_res.cpp:198:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare] 198 | for (int j = 1; j < check_tenx_ind.n_elem; j++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~ FIRM_res.cpp:220:25: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < n_paired; i++){ | ~~^~~~~~~~~~ FIRM_res.cpp:260:29: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare] 260 | for (int i = 0; i < n_paired_new; i++){ | ~~^~~~~~~~~~~~~~ FIRM_res.cpp: In member function 'void FIRM_res::fit_by_thread(int)': FIRM_res.cpp:304:9: warning: unused variable 'total' [-Wunused-variable] 304 | int total = SS2_FindClusters.n_cols*tenx_FindClusters.n_cols; | ^~~~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: FIRM_res.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/Rtmpk5g64u/R.INSTALL129e0336e6a60/FIRM/src' ERROR: compilation failed for package 'FIRM' * removing 'd:/Rcompile/CRANpkg/lib/4.6/FIRM' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/FIRM'