Running 'spelling.R' [0s]
  Running 'testthat.R' [22s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(promises)
  > 
  > test_check("promises")
  using C++ compiler: 'g++.exe (GCC) 14.3.0'
  make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpGSDlXI/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_dbb4f524efc'
  g++ -std=gnu++20  -I"D:/RCompile/recent/R/include" -DNDEBUG   -I"D:/RCompile/CRANpkg/lib/4.6/Rcpp/include" -I"D:/RCompile/CRANpkg/lib/4.6/later/include" -I"D:/RCompile/CRANpkg/lib/4.6/promises"   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c promise_task.cpp -o promise_task.o
  In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49,
                   from promise_task.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: promise_task.o] Error 1
  make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpGSDlXI/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_dbb4f524efc'
  [ FAIL 1 | WARN 0 | SKIP 15 | PASS 630 ]
  
  ══ Skipped tests (15) ══════════════════════════════════════════════════════════
  • On CRAN (5): 'test-hybrid-then.R:252:1', 'test-hybrid-then.R:264:1',
    'test-otel.R:1:1', 'test-then.R:60:1', 'test-zzz-future_promise.R:1:1'
  • empty test (10): 'test-aplus-2-2.R:11:5', 'test-aplus-2-2.R:16:5',
    'test-aplus-2-2.R:38:5', 'test-aplus-2-2.R:39:5', 'test-aplus-2-2.R:70:3',
    'test-legacy-aplus-2-2.R:11:5', 'test-legacy-aplus-2-2.R:16:5',
    'test-legacy-aplus-2-2.R:38:5', 'test-legacy-aplus-2-2.R:39:5',
    'test-legacy-aplus-2-2.R:71:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-cpp.R:3:3'): C++ interface ─────────────────────────────────────
  Error in `Rcpp::sourceCpp(system.file("promise_task.cpp", package = "promises"), env = env)`: Error 1 occurred building shared library.
  Backtrace:
      ▆
   1. └─Rcpp::sourceCpp(...) at test-cpp.R:3:3
  
  [ FAIL 1 | WARN 0 | SKIP 15 | PASS 630 ]
  Error:
  ! Test failures.
  Execution halted