* using log directory 'd:/Rcompile/CRANpkg/local/4.6/inline.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 15:20:38 UTC * checking for file 'inline/DESCRIPTION' ... OK * this is package 'inline' version '0.3.21' * 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 'inline' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [3s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... [16s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [26s] ERROR Running 'tinytest.R' [26s] Running the tests in 'tests/tinytest.R' failed. Complete output: > > if (requireNamespace("tinytest", quietly=TRUE) && + utils::packageVersion("tinytest") >= "1.1.0") { + + ## Set a seed to make the tests deterministic + set.seed(42) + + tinytest::test_package("inline") + } test_cfunction.R.............. 0 tests test_cfunction.R.............. 0 tests test_cfunction.R.............. 0 tests test_cfunction.R.............. 0 tests test_cfunction.R.............. 0 tests test_cfunction.R.............. 0 tests test_cfunction.R.............. 0 tests test_cfunction.R.............. 0 tests test_cfunction.R.............. 1 tests OK test_cfunction.R.............. 1 tests OK test_cfunction.R.............. 2 tests OK test_cfunction.R.............. 3 tests OK test_cfunction.R.............. 3 tests OK test_cfunction.R.............. 3 tests OK test_cfunction.R.............. 3 tests OK test_cfunction.R.............. 4 tests OK test_cfunction.R.............. 4 tests OK test_cfunction.R.............. 4 tests OK test_cfunction.R.............. 4 tests OK test_cfunction.R.............. 5 tests OK test_cfunction.R.............. 5 tests OK test_cfunction.R.............. 5 tests OK test_cfunction.R.............. 5 tests OK test_cfunction.R.............. 6 tests OK test_cfunction.R.............. 6 tests OK test_cfunction.R.............. 6 tests OK test_cfunction.R.............. 6 tests OK test_cfunction.R.............. 6 tests OK test_cfunction.R.............. 6 tests OK test_cfunction.R.............. 7 tests OK test_cfunction.R.............. 7 tests OK test_cfunction.R.............. 7 tests OK test_cfunction.R.............. 7 tests OK test_cfunction.R.............. 7 tests OK test_cfunction.R.............. 7 tests OK test_cfunction.R.............. 7 tests OK test_cfunction.R.............. 7 tests OK test_cfunction.R.............. 7 tests OK test_cfunction.R.............. 7 tests OK test_cfunction.R.............. 8 tests OK test_cfunction.R.............. 9 tests OK test_cfunction.R.............. 9 tests OK test_cfunction.R.............. 9 tests OK test_cfunction.R.............. 9 tests OK test_cfunction.R.............. 10 tests OK test_cfunction.R.............. 11 tests OK 17.8s test_cxxfunction.R............ 0 tests test_cxxfunction.R............ 0 tests test_cxxfunction.R............ 1 tests OK test_cxxfunction.R............ 2 tests OK test_cxxfunction.R............ 2 tests OK ERROR(s) during compilation: source code errors or compiler configuration errors! make cmd is make -f "D:/RCompile/recent/R/etc/x64/Makeconf" -f "D:/RCompile/recent/R/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="filec370335d3416.dll" WIN=64 TCLBIN= OBJECTS="filec370335d3416.o" make would use make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpCmXx8H' g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -DR_NO_REMAP -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 filec370335d3416.cpp -o filec370335d3416.o if test "zfilec370335d3416.o" != "z"; then \ if test -e "filec370335d3416-win.def"; then \ echo g++ -std=gnu++20 -shared -s -static-libgcc -o filec370335d3416.dll filec370335d3416-win.def filec370335d3416.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ g++ -std=gnu++20 -shared -s -static-libgcc -o filec370335d3416.dll filec370335d3416-win.def filec370335d3416.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm filec370335d3416.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo g++ -std=gnu++20 -shared -s -static-libgcc -o filec370335d3416.dll tmp.def filec370335d3416.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ g++ -std=gnu++20 -shared -s -static-libgcc -o filec370335d3416.dll tmp.def filec370335d3416.o -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpCmXx8H' Program source: 1: 2: // includes from the plugin 3: 4: #include 5: 6: 7: #ifndef BEGIN_RCPP 8: #define BEGIN_RCPP 9: #endif 10: 11: #ifndef END_RCPP 12: #define END_RCPP 13: #endif 14: 15: using namespace Rcpp; 16: 17: // user includes 18: 19: 20: // declarations 21: extern "C" { 22: SEXP filec370335d3416( SEXP x, SEXP y) ; 23: } 24: 25: // definition 26: SEXP filec370335d3416(SEXP x, SEXP y) { 27: BEGIN_RCPP 28: return wrap(as(x) * as(y)); 29: END_RCPP 30: } Compilation ERROR, function(s)/method(s) not created! Error in compileCode(f, code, language = language, verbose = verbose) : using C++ compiler: 'g++.exe (GCC) 14.3.0' In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from filec370335d3416.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: filec370335d3416.o] Error 1 Calls: ... lapply -> FUN -> eval -> eval -> cxxfunction -> compileCode Execution halted * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 1 ERROR