Running 'doRUnit.R' [55s]
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)
  > 
  > # Don't use TBB
  > Sys.setenv(RCPP_PARALLEL_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)
  
  
  Executing test function test.distance  ...  done successfully.
  
  
  cc1plus.exe: out of memory allocating 65536 bytes
  make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:229: innerproduct.o] Error 1
  make[1]: Entering directory '/d/temp/RtmpMZLWsm/sourceCpp-x86_64-w64-mingw32-1.0.4.6/sourcecpp_2f6342032685a'
  d:/Compiler/rtools40/mingw64/bin/g++ -std=gnu++11  -I"D:/RCompile/recent/R/include" -DNDEBUG   -I"D:/temp/RtmpaQICSE/RLIBS_2c21461a176/Rcpp/include" -I"D:/temp/RtmpaQICSE/RLIBS_2c21461a176/RcppParallel/include" -I"D:/temp/RtmpaQICSE/RLIBS_2c21461a176/RcppParallel/tests/cpp"   -I"d:/Compiler/gcc-4.9.3/local330/include"   -DRCPP_PARALLEL_USE_TBB=1   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c innerproduct.cpp -o innerproduct.o
  make[1]: Leaving directory '/d/temp/RtmpMZLWsm/sourceCpp-x86_64-w64-mingw32-1.0.4.6/sourcecpp_2f6342032685a'
  Error in sourceCpp(system.file("tests/cpp/innerproduct.cpp", package = "RcppParallel")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.sum  ...  done successfully.
  
  
  
  Executing test function test.transform  ...  done successfully.
  
  > 
  > ## Print results
  > printTextProtocol(tests)
  RUNIT TEST PROTOCOL -- Fri Jun 05 07:07:18 2020 
  *********************************************** 
  Number of test functions: 4 
  Number of errors: 1 
  Number of failures: 0 
  
   
  1 Test Suite : 
  RcppParallel Unit Tests - 4 test functions, 1 error, 0 failures
  ERROR in D:/temp/RtmpaQICSE/RLIBS_2c21461a176/RcppParallel/tests/runit.innerproduct.R: Error while sourcing  D:/temp/RtmpaQICSE/RLIBS_2c21461a176/RcppParallel/tests/runit.innerproduct.R : Error in sourceCpp(system.file("tests/cpp/innerproduct.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:/temp/RtmpaQICSE/RLIBS_2c21461a176/RcppParallel/tests 
  --------------------------- 
  Test file: D:/temp/RtmpaQICSE/RLIBS_2c21461a176/RcppParallel/tests/runit.distance.R 
  test.distance: (1 checks) ... OK (0.83 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpaQICSE/RLIBS_2c21461a176/RcppParallel/tests/runit.innerproduct.R 
  D:/temp/RtmpaQICSE/RLIBS_2c21461a176/RcppParallel/tests/runit.innerproduct.R: ERROR !! 
  Error while sourcing  D:/temp/RtmpaQICSE/RLIBS_2c21461a176/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:/temp/RtmpaQICSE/RLIBS_2c21461a176/RcppParallel/tests/runit.sum.R 
  test.sum: (1 checks) ... OK (0.44 seconds)
  --------------------------- 
  Test file: D:/temp/RtmpaQICSE/RLIBS_2c21461a176/RcppParallel/tests/runit.transform.R 
  test.transform: (1 checks) ... OK (0.13 seconds)
  > 
  > ## 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