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 <Rcpp.h>
    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<int>(x) * as<double>(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<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: filec370335d3416.o] Error 1
  Calls: <Anonymous> ... lapply -> FUN -> eval -> eval -> cxxfunction -> compileCode
  Execution halted