* using log directory 'd:/Rcompile/CRANpkg/local/4.6/SELF.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 09:10:29 UTC * checking for file 'SELF/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'SELF' version '0.1.1' * 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 'SELF' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/SELF.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'SELF' ... ** this is package 'SELF' version '0.1.1' ** package 'SELF' 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/Rtmp0kxh5M/R.INSTALL173d43e09ef7/SELF/src' g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -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 AddDelReverse.cpp -o AddDelReverse.o In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from AddDelReverse.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)); | ^~~~~~~~~~~~~~~~~~~ AddDelReverse.cpp: In function 'std::vector > AddDelReverseLine(Rcpp::IntegerMatrix, int, int)': AddDelReverse.cpp:85:7: warning: unused variable 'nrow' [-Wunused-variable] 85 | int nrow=G.nrow(); | ^~~~ AddDelReverse.cpp:86:7: warning: unused variable 'ncol' [-Wunused-variable] 86 | int ncol=G.ncol(); | ^~~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: AddDelReverse.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/Rtmp0kxh5M/R.INSTALL173d43e09ef7/SELF/src' ERROR: compilation failed for package 'SELF' * removing 'd:/Rcompile/CRANpkg/lib/4.6/SELF' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/SELF'