* installing *source* package 'word2vec' ...
** this is package 'word2vec' version '0.4.1'
** package 'word2vec' 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/Rtmp0Wumbe/R.INSTALLd1d476d61c80/word2vec/src'
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -I./word2vec/include -I./word2vec/lib -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppProgress/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c word2vec/lib/huffmanTree.cpp -o word2vec/lib/huffmanTree.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -I./word2vec/include -I./word2vec/lib -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppProgress/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c word2vec/lib/mapper.cpp -o word2vec/lib/mapper.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -I./word2vec/include -I./word2vec/lib -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppProgress/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c word2vec/lib/nsDistribution.cpp -o word2vec/lib/nsDistribution.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -I./word2vec/include -I./word2vec/lib -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppProgress/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c word2vec/lib/trainer.cpp -o word2vec/lib/trainer.o
In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49,
from word2vec/lib/trainer.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));
| ^~~~~~~~~~~~~~~~~~~
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: word2vec/lib/trainer.o] Error 1
make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/Rtmp0Wumbe/R.INSTALLd1d476d61c80/word2vec/src'
ERROR: compilation failed for package 'word2vec'
* removing 'd:/Rcompile/CRANpkg/lib/4.6/word2vec'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/word2vec'