CRAN Package Check Results for Package RcppParallel

Last updated on 2026-04-18 12:50:59 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 5.1.11-2 60.12 54.47 114.59 OK
r-devel-linux-x86_64-debian-gcc 5.1.11-2 37.75 39.51 77.26 OK
r-devel-linux-x86_64-fedora-clang 5.1.11-2 102.00 80.93 182.93 OK
r-devel-linux-x86_64-fedora-gcc 5.1.11-2 111.00 89.81 200.81 OK
r-devel-macos-arm64 5.1.11-2 14.00 13.00 27.00 OK
r-devel-windows-x86_64 5.1.11-2 192.00 221.00 413.00 ERROR
r-patched-linux-x86_64 5.1.11-2 51.76 51.42 103.18 OK
r-release-linux-x86_64 5.1.11-2 35.74 45.66 81.40 OK
r-release-macos-arm64 5.1.11-2 10.00 38.00 48.00 OK
r-release-macos-x86_64 5.1.11-2 36.00 142.00 178.00 OK
r-release-windows-x86_64 5.1.11-2 158.00 98.00 256.00 OK
r-oldrel-macos-arm64 5.1.11-2 11.00 48.00 59.00 NOTE
r-oldrel-macos-x86_64 5.1.11-2 33.00 189.00 222.00 NOTE
r-oldrel-windows-x86_64 5.1.11-2 182.00 117.00 299.00 NOTE

Check Details

Version: 5.1.11-2
Check: tests
Result: ERROR Running 'doRUnit.R' [167s] Running the tests in 'tests/doRUnit.R' failed. Complete output: > stopifnot(require(RUnit, quietly = TRUE)) > stopifnot(require(Rcpp, quietly = TRUE)) > stopifnot(require(RcppParallel, quietly = TRUE)) Attaching package: 'RcppParallel' The following object is masked from 'package:Rcpp': LdFlags > > ## Set a seed to make the test deterministic > set.seed(42) > > ## Set a default backend > backend <- Sys.getenv("RCPP_PARALLEL_BACKEND", unset = NA) > if (is.na(backend)) + Sys.setenv(RCPP_PARALLEL_BACKEND = "tinythread") > > writeLines(paste("Using backend:", Sys.getenv("RCPP_PARALLEL_BACKEND"))) Using backend: tinythread > > ## Define tests > suite <- defineTestSuite( + name = "RcppParallel Unit Tests", + dirs = system.file("tests", package = "RcppParallel") + ) > > ## Based on practice in Rcpp to avoid some test failures > Sys.setenv("R_TESTS" = "") > > ## Run tests > tests <- runTestSuite(suite) using C++ compiler: 'g++.exe (GCC) 14.3.0' make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/Rtmpw10Zm5/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_b7847b2c154b' 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/RcppParallel/include" -I"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/cpp" -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c distance.cpp -o distance.o In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from distance.cpp:7: 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: distance.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/Rtmpw10Zm5/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_b7847b2c154b' Error in sourceCpp(system.file("tests/cpp/distance.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry using C++ compiler: 'g++.exe (GCC) 14.3.0' make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/Rtmpw10Zm5/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_b7845de71c99' 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/RcppParallel/include" -I"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/cpp" -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c innerproduct.cpp -o innerproduct.o In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from innerproduct.cpp:7: 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: innerproduct.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/Rtmpw10Zm5/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_b7845de71c99' Error in sourceCpp(system.file("tests/cpp/innerproduct.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry using C++ compiler: 'g++.exe (GCC) 14.3.0' make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/Rtmpw10Zm5/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_b7843ea271f' 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/RcppParallel/include" -I"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/cpp" -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c sum.cpp -o sum.o In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from sum.cpp:7: 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: sum.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/Rtmpw10Zm5/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_b7843ea271f' Error in sourceCpp(system.file("tests/cpp/sum.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry using C++ compiler: 'g++.exe (GCC) 14.3.0' make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/Rtmpw10Zm5/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_b784711b6f' 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/RcppParallel/include" -I"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/cpp" -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c transform.cpp -o transform.o In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from transform.cpp:7: 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: transform.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/Rtmpw10Zm5/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_b784711b6f' Error in sourceCpp(system.file("tests/cpp/transform.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry using C++ compiler: 'g++.exe (GCC) 14.3.0' make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/Rtmpw10Zm5/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_b784682f32' 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/RcppParallel/include" -I"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/cpp" -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c truefalse_macros.cpp -o truefalse_macros.o In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from truefalse_macros.cpp:11: 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: truefalse_macros.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/Rtmpw10Zm5/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_b784682f32' Error in sourceCpp(system.file("tests/cpp/truefalse_macros.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry > > ## Print results > printTextProtocol(tests) RUNIT TEST PROTOCOL -- Fri Apr 17 11:09:33 2026 *********************************************** Number of test functions: 5 Number of errors: 5 Number of failures: 0 1 Test Suite : RcppParallel Unit Tests - 5 test functions, 5 errors, 0 failures ERROR in D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.distance.R: Error while sourcing D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.distance.R : Error in sourceCpp(system.file("tests/cpp/distance.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. ERROR in D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.innerproduct.R: Error while sourcing D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.innerproduct.R : Error in sourceCpp(system.file("tests/cpp/innerproduct.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. ERROR in D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.sum.R: Error while sourcing D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.sum.R : Error in sourceCpp(system.file("tests/cpp/sum.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. ERROR in D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.transform.R: Error while sourcing D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.transform.R : Error in sourceCpp(system.file("tests/cpp/transform.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. ERROR in D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.truefalse_macros.R: Error while sourcing D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.truefalse_macros.R : Error in sourceCpp(system.file("tests/cpp/truefalse_macros.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. Details *************************** Test Suite: RcppParallel Unit Tests Test function regexp: ^test.+ Test file regexp: ^runit.+\.[rR]$ Involved directory: D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests --------------------------- Test file: D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.distance.R D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.distance.R: ERROR !! Error while sourcing D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.distance.R : Error in sourceCpp(system.file("tests/cpp/distance.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. --------------------------- Test file: D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.innerproduct.R D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.innerproduct.R: ERROR !! Error while sourcing D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.innerproduct.R : Error in sourceCpp(system.file("tests/cpp/innerproduct.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. --------------------------- Test file: D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.sum.R D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.sum.R: ERROR !! Error while sourcing D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.sum.R : Error in sourceCpp(system.file("tests/cpp/sum.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. --------------------------- Test file: D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.transform.R D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.transform.R: ERROR !! Error while sourcing D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.transform.R : Error in sourceCpp(system.file("tests/cpp/transform.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. --------------------------- Test file: D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.truefalse_macros.R D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.truefalse_macros.R: ERROR !! Error while sourcing D:/RCompile/CRANpkg/lib/4.6/RcppParallel/tests/runit.truefalse_macros.R : Error in sourceCpp(system.file("tests/cpp/truefalse_macros.cpp", package = "RcppParallel")) : Error 1 occurred building shared library. > > ## Return success or failure to R CMD CHECK > if (getErrors(tests)$nFail > 0) { + stop("TEST FAILED!") + } > > if (getErrors(tests)$nErr > 0) { + stop("TEST HAD ERRORS!") + } Error: TEST HAD ERRORS! Execution halted Flavor: r-devel-windows-x86_64

Version: 5.1.11-2
Check: for GNU extensions in Makefiles
Result: NOTE GNU make is a SystemRequirements. Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64