Running ‘doRUnit.R’ [1s/2s]
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)
  > 
  > ## 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)
  Error in sourceCpp(system.file("tests/cpp/distance.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_5210a72570d/distance.cpp'
  Error in sourceCpp(system.file("tests/cpp/innerproduct.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_52102d3125b5/innerproduct.cpp'
  Error in sourceCpp(system.file("tests/cpp/malloc.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_5210254e5711/malloc.cpp'
  Error in sourceCpp(system.file("tests/cpp/sum.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_521012d23717/sum.cpp'
  Error in sourceCpp(system.file("tests/cpp/transform.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_52105c4eb805/transform.cpp'
  > 
  > ## Print results
  > printTextProtocol(tests)
  RUNIT TEST PROTOCOL -- Fri Dec 22 17:50:31 2017 
  *********************************************** 
  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 /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.distance.R: Error while sourcing  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.distance.R : Error in sourceCpp(system.file("tests/cpp/distance.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_5210a72570d/distance.cpp'
  ERROR in /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.innerproduct.R: Error while sourcing  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.innerproduct.R : Error in sourceCpp(system.file("tests/cpp/innerproduct.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_52102d3125b5/innerproduct.cpp'
  ERROR in /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.malloc.R: Error while sourcing  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.malloc.R : Error in sourceCpp(system.file("tests/cpp/malloc.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_5210254e5711/malloc.cpp'
  ERROR in /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.sum.R: Error while sourcing  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.sum.R : Error in sourceCpp(system.file("tests/cpp/sum.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_521012d23717/sum.cpp'
  ERROR in /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.transform.R: Error while sourcing  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.transform.R : Error in sourceCpp(system.file("tests/cpp/transform.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_52105c4eb805/transform.cpp'
  
  
  
  Details 
  *************************** 
  Test Suite: RcppParallel Unit Tests 
  Test function regexp: ^test.+ 
  Test file regexp: ^runit.+\.[rR]$ 
  Involved directory: 
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests 
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.distance.R 
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.distance.R: ERROR !! 
  Error while sourcing  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.distance.R : Error in sourceCpp(system.file("tests/cpp/distance.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_5210a72570d/distance.cpp'
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.innerproduct.R 
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.innerproduct.R: ERROR !! 
  Error while sourcing  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.innerproduct.R : Error in sourceCpp(system.file("tests/cpp/innerproduct.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_52102d3125b5/innerproduct.cpp'
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.malloc.R 
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.malloc.R: ERROR !! 
  Error while sourcing  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.malloc.R : Error in sourceCpp(system.file("tests/cpp/malloc.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_5210254e5711/malloc.cpp'
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.sum.R 
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.sum.R: ERROR !! 
  Error while sourcing  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.sum.R : Error in sourceCpp(system.file("tests/cpp/sum.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_521012d23717/sum.cpp'
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.transform.R 
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.transform.R: ERROR !! 
  Error while sourcing  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/tests/runit.transform.R : Error in sourceCpp(system.file("tests/cpp/transform.cpp", package = "RcppParallel")) : 
    file io error: '/tmp/RtmpxqRQXG/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_52105c4eb805/transform.cpp'
  > 
  > ## 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