* using log directory 'd:/Rcompile/CRANpkg/local/4.6/cld3.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:17:58 UTC * checking for file 'cld3/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'cld3' version '1.6.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 'cld3' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/cld3.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'cld3' ... ** this is package 'cld3' version '1.6.1' ** package 'cld3' successfully unpacked and MD5 sums checked ** using staged installation ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs using C++ compiler: 'g++.exe (GCC) 14.3.0' make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpcXvbJc/R.INSTALL1595c188a26fb/cld3/src' rm -f RcppExports.o wrapper.o cld3.dll libcld3/base.o libcld3/embedding_feature_extractor.o libcld3/embedding_network.o libcld3/feature_extractor.o libcld3/feature_types.o libcld3/fml_parser.o libcld3/language_identifier_features.o libcld3/lang_id_nn_params.o libcld3/nnet_language_identifier.o libcld3/registry.o libcld3/relevant_script_feature.o libcld3/sentence_features.o libcld3/script_span/fixunicodevalue.o libcld3/script_span/generated_entities.o libcld3/script_span/generated_ulscript.o libcld3/script_span/getonescriptspan.o libcld3/script_span/offsetmap.o libcld3/script_span/text_processing.o libcld3/script_span/utf8statetable.o libcld3/task_context.o libcld3/task_context_params.o libcld3/unicodetext.o libcld3/utils.o libcld3/workspace.o cld_3/protos/feature_extractor.pb.o cld_3/protos/sentence.pb.o cld_3/protos/task_spec.pb.o libcld3/libstatcld3.a cld_3/protos/*.pb.cc cld_3/protos/*.pb.h (cd ..; sh cleanup) "D:/RCompile/recent/R/bin/x64/Rscript.exe" "../tools/winlibs.R" [1] TRUE "../windows/protobuf/bin/protoc" cld_3/protos/*.proto --cpp_out=. g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I. -I../windows/protobuf/include -DUSENEWAPI -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 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/RtmpcXvbJc/R.INSTALL1595c188a26fb/cld3/src' ERROR: compilation failed for package 'cld3' * removing 'd:/Rcompile/CRANpkg/lib/4.6/cld3' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/cld3'