Running 'doRUnit.R' [54s]
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)
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: distance.o:distance.cpp:(.text+0x4db): undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: distance.o:distance.cpp:(.text+0x504): undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: distance.o:distance.cpp:(.text+0xae9): undefined reference to `tbb::task_group_context::is_group_execution_cancelled() const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: distance.o:distance.cpp:(.text+0xba0): undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: distance.o:distance.cpp:(.text+0xbc9): undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: distance.o:distance.cpp:(.text+0x1c4b): undefined reference to `tbb::task_group_context::init()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: distance.o:distance.cpp:(.text+0x1c69): undefined reference to `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: distance.o:distance.cpp:(.text+0x1c9d): undefined reference to `tbb::internal::get_initial_auto_partitioner_divisor()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: distance.o:distance.cpp:(.text+0x1cd0): undefined reference to `tbb::task_group_context::~task_group_context()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: distance.o:distance.cpp:(.text.unlikely+0x25d): undefined reference to `tbb::internal::allocate_root_with_context_proxy::free(tbb::task&) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: distance.o:distance.cpp:(.text.unlikely+0x269): undefined reference to `tbb::task_group_context::~task_group_context()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: distance.o:distance.cpp:(.rdata$_ZTVN3tbb10interface98internal9flag_taskE[__ZTVN3tbb10interface98internal9flag_taskE]+0x14): undefined reference to `tbb::task::note_affinity(unsigned short)'
  collect2.exe: error: ld returned 1 exit status
  make[1]: Entering directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc4276787c'
  d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11  -I"D:/RCompile/recent/R4/include" -DNDEBUG   -I"D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/Rcpp/include" -I"D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/include" -I"D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/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 distance.cpp -o distance.o
  d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o sourceCpp_2.dll tmp.def distance.o -Ld:/Compiler/gcc-4.9.3/local330/lib/i386 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R4/bin/i386 -lR
  make[1]: Leaving directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc4276787c'
  make[1]: Entering directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc4276787c'
  make[1]: Leaving directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc4276787c'
  Error in sourceCpp(system.file("tests/cpp/distance.cpp", package = "RcppParallel")) : 
    Error occurred building shared library.
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: innerproduct.o:innerproduct.cpp:(.text+0x258): undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: innerproduct.o:innerproduct.cpp:(.text+0x275): undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: innerproduct.o:innerproduct.cpp:(.text+0x5a5): undefined reference to `tbb::task_group_context::is_group_execution_cancelled() const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: innerproduct.o:innerproduct.cpp:(.text+0x6d6): undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: innerproduct.o:innerproduct.cpp:(.text+0x6f3): undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: innerproduct.o:innerproduct.cpp:(.text+0x15e3): undefined reference to `tbb::task_group_context::init()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: innerproduct.o:innerproduct.cpp:(.text+0x15fb): undefined reference to `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: innerproduct.o:innerproduct.cpp:(.text+0x162f): undefined reference to `tbb::internal::get_initial_auto_partitioner_divisor()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: innerproduct.o:innerproduct.cpp:(.text+0x1662): undefined reference to `tbb::task_group_context::~task_group_context()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: innerproduct.o:innerproduct.cpp:(.rdata+0x77c): undefined reference to `tbb::task::note_affinity(unsigned short)'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: innerproduct.o:innerproduct.cpp:(.text.unlikely+0x2e5): undefined reference to `tbb::internal::allocate_root_with_context_proxy::free(tbb::task&) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: innerproduct.o:innerproduct.cpp:(.text.unlikely+0x2f1): undefined reference to `tbb::task_group_context::~task_group_context()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: innerproduct.o:innerproduct.cpp:(.rdata$_ZTVN3tbb10interface98internal9flag_taskE[__ZTVN3tbb10interface98internal9flag_taskE]+0x14): undefined reference to `tbb::task::note_affinity(unsigned short)'
  collect2.exe: error: ld returned 1 exit status
  make[1]: Entering directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc28a83274'
  d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11  -I"D:/RCompile/recent/R4/include" -DNDEBUG   -I"D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/Rcpp/include" -I"D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/include" -I"D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/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
  d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o sourceCpp_4.dll tmp.def innerproduct.o -Ld:/Compiler/gcc-4.9.3/local330/lib/i386 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R4/bin/i386 -lR
  make[1]: Leaving directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc28a83274'
  make[1]: Entering directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc28a83274'
  make[1]: Leaving directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc28a83274'
  Error in sourceCpp(system.file("tests/cpp/innerproduct.cpp", package = "RcppParallel")) : 
    Error occurred building shared library.
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: sum.o:sum.cpp:(.text+0x258): undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: sum.o:sum.cpp:(.text+0x275): undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: sum.o:sum.cpp:(.text+0x540): undefined reference to `tbb::task_group_context::is_group_execution_cancelled() const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: sum.o:sum.cpp:(.text+0x646): undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: sum.o:sum.cpp:(.text+0x663): undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: sum.o:sum.cpp:(.text+0x1498): undefined reference to `tbb::task_group_context::init()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: sum.o:sum.cpp:(.text+0x14b0): undefined reference to `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: sum.o:sum.cpp:(.text+0x14e4): undefined reference to `tbb::internal::get_initial_auto_partitioner_divisor()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: sum.o:sum.cpp:(.text+0x1517): undefined reference to `tbb::task_group_context::~task_group_context()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: sum.o:sum.cpp:(.rdata+0x774): undefined reference to `tbb::task::note_affinity(unsigned short)'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: sum.o:sum.cpp:(.text.unlikely+0x2bb): undefined reference to `tbb::internal::allocate_root_with_context_proxy::free(tbb::task&) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: sum.o:sum.cpp:(.text.unlikely+0x2c7): undefined reference to `tbb::task_group_context::~task_group_context()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: sum.o:sum.cpp:(.rdata$_ZTVN3tbb10interface98internal9flag_taskE[__ZTVN3tbb10interface98internal9flag_taskE]+0x14): undefined reference to `tbb::task::note_affinity(unsigned short)'
  collect2.exe: error: ld returned 1 exit status
  make[1]: Entering directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc491423b2'
  d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11  -I"D:/RCompile/recent/R4/include" -DNDEBUG   -I"D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/Rcpp/include" -I"D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/include" -I"D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/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 sum.cpp -o sum.o
  d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o sourceCpp_6.dll tmp.def sum.o -Ld:/Compiler/gcc-4.9.3/local330/lib/i386 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R4/bin/i386 -lR
  make[1]: Leaving directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc491423b2'
  make[1]: Entering directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc491423b2'
  make[1]: Leaving directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc491423b2'
  Error in sourceCpp(system.file("tests/cpp/sum.cpp", package = "RcppParallel")) : 
    Error occurred building shared library.
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: transform.o:transform.cpp:(.text+0x18e): undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: transform.o:transform.cpp:(.text+0x1b7): undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: transform.o:transform.cpp:(.text+0x483): undefined reference to `tbb::task_group_context::is_group_execution_cancelled() const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: transform.o:transform.cpp:(.text+0x542): undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: transform.o:transform.cpp:(.text+0x56b): undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: transform.o:transform.cpp:(.text+0x1a4b): undefined reference to `tbb::task_group_context::init()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: transform.o:transform.cpp:(.text+0x1a69): undefined reference to `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned int) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: transform.o:transform.cpp:(.text+0x1a9d): undefined reference to `tbb::internal::get_initial_auto_partitioner_divisor()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: transform.o:transform.cpp:(.text+0x1ad0): undefined reference to `tbb::task_group_context::~task_group_context()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: transform.o:transform.cpp:(.text.unlikely+0x29a): undefined reference to `tbb::internal::allocate_root_with_context_proxy::free(tbb::task&) const'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: transform.o:transform.cpp:(.text.unlikely+0x2a6): undefined reference to `tbb::task_group_context::~task_group_context()'
  D:/Compiler/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: transform.o:transform.cpp:(.rdata$_ZTVN3tbb10interface98internal9flag_taskE[__ZTVN3tbb10interface98internal9flag_taskE]+0x14): undefined reference to `tbb::task::note_affinity(unsigned short)'
  collect2.exe: error: ld returned 1 exit status
  make[1]: Entering directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc2d66471e'
  d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11  -I"D:/RCompile/recent/R4/include" -DNDEBUG   -I"D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/Rcpp/include" -I"D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/include" -I"D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/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 transform.cpp -o transform.o
  d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o sourceCpp_8.dll tmp.def transform.o -Ld:/Compiler/gcc-4.9.3/local330/lib/i386 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R4/bin/i386 -lR
  make[1]: Leaving directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc2d66471e'
  make[1]: Entering directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc2d66471e'
  make[1]: Leaving directory '/d/temp/RtmpeIjhjN/sourceCpp-i386-w64-mingw32-1.0.4/sourcecpp_a7dc2d66471e'
  Error in sourceCpp(system.file("tests/cpp/transform.cpp", package = "RcppParallel")) : 
    Error occurred building shared library.
  > 
  > ## Print results
  > printTextProtocol(tests)
  RUNIT TEST PROTOCOL -- Sat Mar 28 20:40:09 2020 
  *********************************************** 
  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:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.distance.R: Error while sourcing  D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.distance.R : Error in sourceCpp(system.file("tests/cpp/distance.cpp", package = "RcppParallel")) : 
    Error occurred building shared library.
  ERROR in D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.innerproduct.R: Error while sourcing  D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.innerproduct.R : Error in sourceCpp(system.file("tests/cpp/innerproduct.cpp", package = "RcppParallel")) : 
    Error occurred building shared library.
  ERROR in D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.sum.R: Error while sourcing  D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.sum.R : Error in sourceCpp(system.file("tests/cpp/sum.cpp", package = "RcppParallel")) : 
    Error occurred building shared library.
  ERROR in D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.transform.R: Error while sourcing  D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/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:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests 
  --------------------------- 
  Test file: D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.distance.R 
  D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.distance.R: ERROR !! 
  Error while sourcing  D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.distance.R : Error in sourceCpp(system.file("tests/cpp/distance.cpp", package = "RcppParallel")) : 
    Error occurred building shared library.
  --------------------------- 
  Test file: D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.innerproduct.R 
  D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.innerproduct.R: ERROR !! 
  Error while sourcing  D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.innerproduct.R : Error in sourceCpp(system.file("tests/cpp/innerproduct.cpp", package = "RcppParallel")) : 
    Error occurred building shared library.
  --------------------------- 
  Test file: D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.sum.R 
  D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.sum.R: ERROR !! 
  Error while sourcing  D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.sum.R : Error in sourceCpp(system.file("tests/cpp/sum.cpp", package = "RcppParallel")) : 
    Error occurred building shared library.
  --------------------------- 
  Test file: D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.transform.R 
  D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/RcppParallel/tests/runit.transform.R: ERROR !! 
  Error while sourcing  D:/temp/Rtmp0YLw1b/RLIBS_20fe428d2780f/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