* installing *source* package 'geocmeans' ...
** this is package 'geocmeans' version '0.3.4'
** package 'geocmeans' successfully unpacked and MD5 sums checked
** using staged installation
** libs
specified C++17
using C++ compiler: 'g++.exe (GCC) 14.3.0'
using C++17
make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpAHAhyM/R.INSTALL164c835a97012/geocmeans/src'
g++  -std=gnu++17 -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:/rtools45/x86_64-w64-mingw32.static.posix/include"   -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c FCM_functions.cpp -o FCM_functions.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 geocmeans.h:2,
                 from shared_functions.h:1,
                 from FCM_functions.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));
      |                                                                 ^~~~~~~~~~~~~~~~~~~
FCM_functions.cpp: In function 'Rcpp::NumericMatrix calcBelongMatrixNoisy(Rcpp::NumericMatrix, Rcpp::NumericMatrix, double, double, Rcpp::NumericVector)':
FCM_functions.cpp:211:9: warning: unused variable 'k' [-Wunused-variable]
  211 |   int i,k,j;
      |         ^
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: FCM_functions.o] Error 1
make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpAHAhyM/R.INSTALL164c835a97012/geocmeans/src'
ERROR: compilation failed for package 'geocmeans'
* removing 'd:/Rcompile/CRANpkg/lib/4.6/geocmeans'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/geocmeans'