CRAN Package Check Results for Package RcppThread

Last updated on 2026-04-19 09:50:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.3.0 8.69 69.32 78.01 OK
r-devel-linux-x86_64-debian-gcc 2.3.0 6.62 72.53 79.15 OK
r-devel-linux-x86_64-fedora-clang 2.3.0 14.00 87.34 101.34 OK
r-devel-linux-x86_64-fedora-gcc 2.3.0 16.00 118.90 134.90 OK
r-devel-macos-arm64 2.3.0 3.00 33.00 36.00 OK
r-devel-windows-x86_64 2.3.0 17.00 117.00 134.00 ERROR
r-patched-linux-x86_64 2.3.0 7.40 62.77 70.17 OK
r-release-linux-x86_64 2.3.0 6.25 58.51 64.76 OK
r-release-macos-arm64 2.3.0 2.00 66.00 68.00 OK
r-release-macos-x86_64 2.3.0 7.00 182.00 189.00 OK
r-release-windows-x86_64 2.3.0 14.00 105.00 119.00 OK
r-oldrel-macos-arm64 2.3.0 3.00 84.00 87.00 OK
r-oldrel-macos-x86_64 2.3.0 7.00 160.00 167.00 OK
r-oldrel-windows-x86_64 2.3.0 14.00 117.00 131.00 OK

Check Details

Version: 2.3.0
Check: tests
Result: ERROR Running 'testthat.R' [58s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(RcppThread) > > test_check("RcppThread") -latomicspecified C++11 using C++ compiler: 'g++.exe (GCC) 14.3.0' make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpuAsbgD/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_13a202528313b' 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/RcppThread/include" -I"D:/RCompile/CRANpkg/local/4.6/RcppThread.Rcheck/tests" -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tests.cpp -o tests.o In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from tests.cpp:8: 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: tests.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpuAsbgD/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_13a202528313b' [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('tests.R:6:5'): (code run outside of `test_that()`) ────────────────── Error in `Rcpp::sourceCpp(file = normalizePath("../tests.cpp"))`: Error 1 occurred building shared library. Backtrace: ▆ 1. └─Rcpp::sourceCpp(file = normalizePath("../tests.cpp")) at tests.R:6:5 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64