* using log directory 'd:/Rcompile/CRANpkg/local/4.6/RcppParallel.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 09:06:20 UTC * checking for file 'RcppParallel/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RcppParallel' version '5.1.11-2' * package encoding: UTF-8 * 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 'RcppParallel' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.3.0' * 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 ... [0s] OK * checking loading without being on the library search path ... [0s] OK * checking whether startup messages can be suppressed ... [0s] 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 ... [2s] OK * checking Rd files ... [0s] 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 line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... INFO GNU make is a SystemRequirements. * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking include directives in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [168s] 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::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: 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::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: 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::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: 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::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: 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::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: 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 * checking PDF version of manual ... [26s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 1 ERROR