* installing *source* package 'DCLEAR' ...
** this is package 'DCLEAR' version '1.0.13'
** package 'DCLEAR' 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/RtmpGQ6lmA/R.INSTALL101dcc9f4a57/DCLEAR/src'
g++ -std=gnu++20  -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"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c DCLEAR.cpp -o DCLEAR.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 DCLEAR.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));
      |                                                                 ^~~~~~~~~~~~~~~~~~~
DCLEAR.cpp: In function 'arma::mat dist_w_ham(arma::mat, arma::vec)':
DCLEAR.cpp:14:13: warning: unused variable 'n_InfoW' [-Wunused-variable]
   14 |   const int n_InfoW = InfoW.size();
      |             ^~~~~~~
DCLEAR.cpp: In function 'arma::mat dist_w_ham2(arma::mat, arma::vec)':
DCLEAR.cpp:50:11: warning: unused variable 'd_c' [-Wunused-variable]
   50 |       int d_c = 0;
      |           ^~~
DCLEAR.cpp:38:13: warning: unused variable 'n_InfoW' [-Wunused-variable]
   38 |   const int n_InfoW = InfoW.size();
      |             ^~~~~~~
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: DCLEAR.o] Error 1
make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpGQ6lmA/R.INSTALL101dcc9f4a57/DCLEAR/src'
ERROR: compilation failed for package 'DCLEAR'
* removing 'd:/Rcompile/CRANpkg/lib/4.6/DCLEAR'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/DCLEAR'