* installing *source* package 'RProtoBuf' ...
** this is package 'RProtoBuf' version '0.4.26'
** package 'RProtoBuf' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.3.0'
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpCYCUjT/R.INSTALL197e859da1f0/RProtoBuf/src'
rm -f ConnectionCopyingInputStream.o ConnectionCopyingOutputStream.o ConnectionInputStream.o ConnectionOutputStream.o DescriptorPoolLookup.o RSourceTree.o RWarningErrorCollector.o RconnectionCopyingInputStream.o ZeroCopyInputStreamWrapper.o ZeroCopyOutputStreamWrapper.o extensions.o extractors.o init.o lookup.o mutators.o rprotobuf.o streams.o wrapper_ArrayInputStream.o wrapper_ArrayOutputStream.o wrapper_Descriptor.o wrapper_EnumDescriptor.o wrapper_EnumValueDescriptor.o wrapper_FieldDescriptor.o wrapper_FileDescriptor.o wrapper_Message.o wrapper_MethodDescriptor.o wrapper_ServiceDescriptor.o wrapper_ZeroCopyInputStream.o RProtoBuf.dll
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 ConnectionCopyingInputStream.cpp -o ConnectionCopyingInputStream.o
In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49,
from rprotobuf.h:68,
from ConnectionCopyingInputStream.cpp:2:
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: ConnectionCopyingInputStream.o] Error 1
make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpCYCUjT/R.INSTALL197e859da1f0/RProtoBuf/src'
ERROR: compilation failed for package 'RProtoBuf'
* removing 'd:/Rcompile/CRANpkg/lib/4.6/RProtoBuf'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/RProtoBuf'