* using log directory 'd:/RCompile/CRANincoming/R-devel/RcppParallel.Rcheck' * using R Under development (unstable) (2025-01-22 r87618 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'RcppParallel/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RcppParallel' version '5.1.10' * package encoding: UTF-8 * checking CRAN incoming feasibility ... OK * 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 serialization versions ... OK * checking whether package 'RcppParallel' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 13.3.0' * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... 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 ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking include directives in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [30s] ERROR Running 'doRUnit.R' [30s] 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) 13.3.0' make[1]: Entering directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b45cda7f5d' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.5/Rcpp/include" -I"D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include" -I"D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/cpp" -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c distance.cpp -o distance.o g++ -std=gnu++17 -shared -s -static-libgcc -o sourceCpp_2.dll tmp.def distance.o -LD:/RCompile/CRANincoming/R-devel/lib/RcppParallel/lib/x64 -ltbb -ltbbmalloc -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: distance.o:distance.cpp:(.text+0x1847): undefined reference to `RcppParallel::tbbParallelFor(unsigned long long, unsigned long long, RcppParallel::Worker&, unsigned long long, int)' collect2.exe: error: ld returned 1 exit status make[1]: Leaving directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b45cda7f5d' make[1]: Entering directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b45cda7f5d' make[1]: Leaving directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b45cda7f5d' Error in sourceCpp(system.file("tests/cpp/distance.cpp", package = "RcppParallel")) : Error 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) 13.3.0' make[1]: Entering directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b4677397f' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.5/Rcpp/include" -I"D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include" -I"D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/cpp" -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c innerproduct.cpp -o innerproduct.o In file included from D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include/RcppParallel/TinyThread.h:7, from D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include/RcppParallel.h:6, from innerproduct.cpp:18: D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include/RcppParallel/Common.h: In instantiation of 'int RcppParallel::resolveValue(const char*, T, U) [with T = long long unsigned int; U = int]': D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include/RcppParallel.h:60:28: required from 'void RcppParallel::parallelReduce(std::size_t, std::size_t, Reducer&, std::size_t, int) [with Reducer = InnerProduct; std::size_t = long long unsigned int]' innerproduct.cpp:57:18: required from here D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include/RcppParallel/Common.h:16:23: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 16 | if (requestedValue != defaultValue && requestedValue > 0) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o sourceCpp_4.dll tmp.def innerproduct.o -LD:/RCompile/CRANincoming/R-devel/lib/RcppParallel/lib/x64 -ltbb -ltbbmalloc -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: innerproduct.o:innerproduct.c:(.text$_ZN12RcppParallel17tbbParallelReduceI12InnerProductEEvyyRT_yi[_ZN12RcppParallel17tbbParallelReduceI12InnerProductEEvyyRT_yi]+0x108): undefined reference to `RcppParallel::tbbParallelReduceImpl(unsigned long long, unsigned long long, RcppParallel::ReducerWrapper&, unsigned long long, int)' collect2.exe: error: ld returned 1 exit status make[1]: Leaving directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b4677397f' make[1]: Entering directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b4677397f' make[1]: Leaving directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b4677397f' Error in sourceCpp(system.file("tests/cpp/innerproduct.cpp", package = "RcppParallel")) : Error 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) 13.3.0' make[1]: Entering directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b478e03cde' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.5/Rcpp/include" -I"D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include" -I"D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/cpp" -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c sum.cpp -o sum.o In file included from D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include/RcppParallel/TinyThread.h:7, from D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include/RcppParallel.h:6, from sum.cpp:8: D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include/RcppParallel/Common.h: In instantiation of 'int RcppParallel::resolveValue(const char*, T, U) [with T = long long unsigned int; U = int]': D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include/RcppParallel.h:60:28: required from 'void RcppParallel::parallelReduce(std::size_t, std::size_t, Reducer&, std::size_t, int) [with Reducer = Sum; std::size_t = long long unsigned int]' sum.cpp:44:18: required from here D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include/RcppParallel/Common.h:16:23: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 16 | if (requestedValue != defaultValue && requestedValue > 0) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o sourceCpp_6.dll tmp.def sum.o -LD:/RCompile/CRANincoming/R-devel/lib/RcppParallel/lib/x64 -ltbb -ltbbmalloc -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: sum.o:sum.cpp:(.text$_ZN12RcppParallel17tbbParallelReduceI3SumEEvyyRT_yi[_ZN12RcppParallel17tbbParallelReduceI3SumEEvyyRT_yi]+0x108): undefined reference to `RcppParallel::tbbParallelReduceImpl(unsigned long long, unsigned long long, RcppParallel::ReducerWrapper&, unsigned long long, int)' collect2.exe: error: ld returned 1 exit status make[1]: Leaving directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b478e03cde' make[1]: Entering directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b478e03cde' make[1]: Leaving directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b478e03cde' Error in sourceCpp(system.file("tests/cpp/sum.cpp", package = "RcppParallel")) : Error 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) 13.3.0' make[1]: Entering directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b442726541' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.5/Rcpp/include" -I"D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/include" -I"D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/cpp" -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c transform.cpp -o transform.o g++ -std=gnu++17 -shared -s -static-libgcc -o sourceCpp_8.dll tmp.def transform.o -LD:/RCompile/CRANincoming/R-devel/lib/RcppParallel/lib/x64 -ltbb -ltbbmalloc -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: transform.o:transform.cpp:(.text+0x1096): undefined reference to `RcppParallel::tbbParallelFor(unsigned long long, unsigned long long, RcppParallel::Worker&, unsigned long long, int)' collect2.exe: error: ld returned 1 exit status make[1]: Leaving directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b442726541' make[1]: Entering directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b442726541' make[1]: Leaving directory '/d/temp/2025_01_23_18_55_16_15270/RtmpSOylzg/sourceCpp-x86_64-w64-mingw32-1.0.14/sourcecpp_165b442726541' Error in sourceCpp(system.file("tests/cpp/transform.cpp", package = "RcppParallel")) : Error 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 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 -- Thu Jan 23 18:57:53 2025 *********************************************** Number of test functions: 4 Number of errors: 4 Number of failures: 0 1 Test Suite : RcppParallel Unit Tests - 4 test functions, 4 errors, 0 failures ERROR in D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.distance.R: Error while sourcing D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.distance.R : Error in sourceCpp(system.file("tests/cpp/distance.cpp", package = "RcppParallel")) : Error occurred building shared library. ERROR in D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.innerproduct.R: Error while sourcing D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.innerproduct.R : Error in sourceCpp(system.file("tests/cpp/innerproduct.cpp", package = "RcppParallel")) : Error occurred building shared library. ERROR in D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.sum.R: Error while sourcing D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.sum.R : Error in sourceCpp(system.file("tests/cpp/sum.cpp", package = "RcppParallel")) : Error occurred building shared library. ERROR in D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.transform.R: Error while sourcing D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.transform.R : Error in sourceCpp(system.file("tests/cpp/transform.cpp", package = "RcppParallel")) : Error occurred building shared library. Details *************************** Test Suite: RcppParallel Unit Tests Test function regexp: ^test.+ Test file regexp: ^runit.+\.[rR]$ Involved directory: D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.distance.R D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.distance.R: ERROR !! Error while sourcing D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.distance.R : Error in sourceCpp(system.file("tests/cpp/distance.cpp", package = "RcppParallel")) : Error occurred building shared library. --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.innerproduct.R D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.innerproduct.R: ERROR !! Error while sourcing D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.innerproduct.R : Error in sourceCpp(system.file("tests/cpp/innerproduct.cpp", package = "RcppParallel")) : Error occurred building shared library. --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.sum.R D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.sum.R: ERROR !! Error while sourcing D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.sum.R : Error in sourceCpp(system.file("tests/cpp/sum.cpp", package = "RcppParallel")) : Error occurred building shared library. --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.transform.R D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.transform.R: ERROR !! Error while sourcing D:/RCompile/CRANincoming/R-devel/lib/RcppParallel/tests/runit.transform.R : Error in sourceCpp(system.file("tests/cpp/transform.cpp", package = "RcppParallel")) : Error 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 ... [17s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR