* using log directory 'd:/Rcompile/CRANpkg/local/4.6/sd2R.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 04:10:56 UTC * checking for file 'sd2R/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'sd2R' version '0.1.9' * 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 'sd2R' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/sd2R.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'sd2R' ... ** this is package 'sd2R' version '0.1.9' ** package 'sd2R' successfully unpacked and MD5 sums checked ** using staged installation * Downloading vocab.hpp... * vocab.hpp: downloaded successfully * Downloading vocab_mistral.hpp... * vocab_mistral.hpp: downloaded successfully * Downloading vocab_qwen.hpp... * vocab_qwen.hpp: downloaded successfully * Downloading vocab_umt5.hpp... * vocab_umt5.hpp: downloaded successfully * ggmlR lib: D:/RCompile/CRANpkg/lib/4.6/ggmlR/lib * ggmlR include: D:/RCompile/CRANpkg/lib/4.6/ggmlR/include * OpenMP: not available * Vulkan: not found (building without GPU support) Generating src/Makevars.win... * Wrote src/Makevars.win Configuration complete. ** 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/RtmpcHmfeZ/R.INSTALLe02810681b09/sd2R/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -Isd -Isd/thirdparty -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_MAX_NAME=128 -DGGML_R_PACKAGE -D__USE_MINGW_ANSI_STDIO=1 -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/ggmlR/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from RcppExports.cpp:4: 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)); | ^~~~~~~~~~~~~~~~~~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: RcppExports.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpcHmfeZ/R.INSTALLe02810681b09/sd2R/src' ERROR: compilation failed for package 'sd2R' * removing 'd:/Rcompile/CRANpkg/lib/4.6/sd2R' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/sd2R'