* using log directory 'd:/Rcompile/CRANpkg/local/4.6/intmap.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 14:34:50 UTC * checking for file 'intmap/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'intmap' version '1.0.0' * 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 'intmap' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/intmap.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'intmap' ... ** this is package 'intmap' version '1.0.0' ** package 'intmap' 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/RtmpesPFX6/R.INSTALLc91c647b3c4c/intmap/src' g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/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 INTMAP.cpp -o INTMAP.o In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from intmap_types.h:4, from INTMAP.cpp:2: 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)); | ^~~~~~~~~~~~~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Module.h:510, from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:70: D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/module/class.h: In instantiation of 'void Rcpp::class_::SetFinalizer(finalizer_class*) [with Class = INTMAP; finalizer_class = Rcpp::CppFinalizer]': D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/module/class.h:497:13: required from 'Rcpp::class_::self& Rcpp::class_::finalizer(void (*)(Class*)) [with Class = INTMAP; self = Rcpp::class_]' 497 | SetFinalizer( new FunctionFinalizer( f ) ) ; | ^~~~~~~~~~~~ INTMAP.cpp:39:17: required from here 14 | class_("INTMAP") | ~~~~~~~~~~~~~~~~~~~~~~~~ 15 | | 16 | .constructor() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17 | .constructor>() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | | 19 | .field("ptr", &INTMAP::ptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20 | | 21 | .method("size", &INTMAP::size) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | .method("at", &INTMAP::at) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | .method("has_key", &INTMAP::has_key) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | .method("index", &INTMAP::index) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | .method("nth", &INTMAP::nth) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | .method("insert", &INTMAP::insert) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 | .method("assign", &INTMAP::assign) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | .method("erase", &INTMAP::erase) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | .method("merase", &INTMAP::merase) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | .method("merge", &INTMAP::merge) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | .method("keys", &INTMAP::keys) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | .method("values", &INTMAP::values) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | .method("toList", &INTMAP::toList) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 | .method("extract", &INTMAP::extract) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 | .method("extract_inplace", &INTMAP::extract_inplace) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 | .method("extract_by_erasing", &INTMAP::extract_by_erasing) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | .method("extract_by_erasing_inplace", &INTMAP::extract_by_erasing_inplace) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | | 39 | .finalizer(&finalizer_of_intmap); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/module/class.h:507:42: warning: deleting object of polymorphic class type 'Rcpp::CppFinalizer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 507 | if( ptr->finalizer_pointer ) delete ptr->finalizer_pointer ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: INTMAP.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpesPFX6/R.INSTALLc91c647b3c4c/intmap/src' ERROR: compilation failed for package 'intmap' * removing 'd:/Rcompile/CRANpkg/lib/4.6/intmap' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/intmap'