Running ‘doRUnit.R’ [17s/22s]
Running the tests in ‘tests/doRUnit.R’ failed.
Complete output:
  > ## doRUnit.R --- Run RUnit tests
  > ##
  > ## with credits to package fUtilities in RMetrics
  > ## which credits Gregor Gojanc's example in CRAN package  'gdata'
  > ## as per the (now deceased) R Wiki http://wiki.r-project.org/rwiki/doku.php?id=developers:runit
  > ## and changed further by Martin Maechler
  > ## and usage across several Rcpp* package
  > ## and more changes by Murray Stokely in HistogramTools
  > ##
  > ## Dirk Eddelbuettel, 2010 - 2017
  > 
  > if (requireNamespace("RUnit", quietly=TRUE) &&
  +     requireNamespace("RcppGSL", quietly=TRUE)) {
  + 
  +     library(RUnit)
  +     library(RcppGSL)
  + 
  +     ## Set a seed to make the test deterministic
  +     set.seed(42)
  + 
  +     ## Define tests
  +     testSuite <- defineTestSuite(name="RcppGSL Unit Tests",
  +                                  dirs=system.file("unitTests", package = "RcppGSL"),
  +                                  testFuncRegexp = "^[Tt]est.+")
  + 
  +     Sys.setenv("R_TESTS"="")	    	# without this, we get (or used to get) unit test failures
  + 
  +     tests <- runTestSuite(testSuite)    # run tests
  +     printTextProtocol(tests)		# print results
  + 
  +     ## 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!")
  +     if (getErrors(tests)$nTestFunc < 1) stop("NO TEST FUNCTIONS RUN!")
  + 
  + }
  
  
  Executing test function test.client.package  ... * checking for file ‘RcppGSLExample/DESCRIPTION’ ... OK
  * preparing ‘RcppGSLExample’:
  * checking DESCRIPTION meta-information ... OK
  * cleaning src
  * checking for LF line-endings in source and make files and shell scripts
  * checking for empty or unneeded directories
  * building ‘RcppGSLExample_0.0.3.tar.gz’
  
  * installing *source* package ‘RcppGSLExample’ ...
  checking for gsl-config... /usr/bin/gsl-config
  configure: creating ./config.status
  config.status: creating src/Makevars
  ** libs
  make[1]: Entering directory '/tmp/RtmpsXE84S/R.INSTALL2aa57dfcb271/RcppGSLExample/src'
  g++-7 -std=c++98 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include -I"/tmp/Rtmp5Q9F4N/RLIBS_4b3f793ff8f7/Rcpp/include" -I"/tmp/Rtmp5Q9F4N/RLIBS_4b3f793ff8f7/RcppGSL/include" -I/usr/local/include   -fpic  -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o
  g++-7 -std=c++98 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include -I"/tmp/Rtmp5Q9F4N/RLIBS_4b3f793ff8f7/Rcpp/include" -I"/tmp/Rtmp5Q9F4N/RLIBS_4b3f793ff8f7/RcppGSL/include" -I/usr/local/include   -fpic  -g -O2 -Wall -pedantic -mtune=native -c colNorm.cpp -o colNorm.o
  g++-7 -std=c++98 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o RcppGSLExample.so RcppExports.o colNorm.o -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
  make[1]: Leaving directory '/tmp/RtmpsXE84S/R.INSTALL2aa57dfcb271/RcppGSLExample/src'
  make[1]: Entering directory '/tmp/RtmpsXE84S/R.INSTALL2aa57dfcb271/RcppGSLExample/src'
  make[1]: Leaving directory '/tmp/RtmpsXE84S/R.INSTALL2aa57dfcb271/RcppGSLExample/src'
  installing to /tmp/RtmpbSFkB4/file25b0753e2cba/templib/RcppGSLExample/libs
  ** R
  ** preparing package for lazy loading
  ** help
  *** installing help indices
  ** building package indices
  ** testing if installed package can be loaded
  * DONE (RcppGSLExample)
  Loading required package: Rcpp
  
  Attaching package: 'Rcpp'
  
  The following object is masked from 'package:RcppGSL':
  
      LdFlags
  
  Loading required package: RcppGSLExample
   done successfully.
  
  
  
  Executing test function test.fastLm  ...  done successfully.
  
  
  
  Executing test function test.fastLm.default  ...  done successfully.
  
  
  
  Executing test function test.fastLm.formula  ...  done successfully.
  
  
  
  Executing test function test.summary.fastLm  ...  done successfully.
  
  
  
  Executing test function test.gsl.RcppGSL.matrix.indexing  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b0141e78e5/gsl.cpp'
  
  
  Executing test function test.gsl.RcppGSL.matrix.view.indexing  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b046d87a69/gsl.cpp'
  
  
  Executing test function test.gsl.RcppGSL.vector  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b0792498df/gsl.cpp'
  
  
  Executing test function test.gsl.RcppGSL.vector.indexing  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b01b4d4aa0/gsl.cpp'
  
  
  Executing test function test.gsl.RcppGSL.vector.iterating  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b07a841d9c/gsl.cpp'
  
  
  Executing test function test.gsl.RcppGSL.vector.iterator.transform  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b049b48c49/gsl.cpp'
  
  
  Executing test function test.gsl.RcppGSL.vector.view.iterating  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b060fe957/gsl.cpp'
  
  
  Executing test function test.gsl.matrix  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b03973aafe/gsl.cpp'
  
  
  Executing test function test.gsl.matrix.input.SEXP  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b01fb8da13/gsl.cpp'
  
  
  Executing test function test.gsl.matrix.view  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b046b74091/gsl.cpp'
  
  
  Executing test function test.gsl.vector  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b024e9cbc9/gsl.cpp'
  
  
  Executing test function test.gsl.vector.input.SEXP  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b053200529/gsl.cpp'
  
  
  Executing test function test.gsl.vector.view  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b027bbae9a/gsl.cpp'
  
  
  Executing test function test.gsl.vector.wrappers  ... Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b072d3e97b/gsl.cpp'
  RUNIT TEST PROTOCOL -- Mon Dec 25 17:03:01 2017 
  *********************************************** 
  Number of test functions: 19 
  Number of errors: 14 
  Number of failures: 0 
  
   
  1 Test Suite : 
  RcppGSL Unit Tests - 19 test functions, 14 errors, 0 failures
  ERROR in .setUp (before test.gsl.RcppGSL.matrix.indexing): Error executing .setUp before test.gsl.RcppGSL.matrix.indexing : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b0141e78e5/gsl.cpp'
  ERROR in .setUp (before test.gsl.RcppGSL.matrix.view.indexing): Error executing .setUp before test.gsl.RcppGSL.matrix.view.indexing : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b046d87a69/gsl.cpp'
  ERROR in .setUp (before test.gsl.RcppGSL.vector): Error executing .setUp before test.gsl.RcppGSL.vector : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b0792498df/gsl.cpp'
  ERROR in .setUp (before test.gsl.RcppGSL.vector.indexing): Error executing .setUp before test.gsl.RcppGSL.vector.indexing : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b01b4d4aa0/gsl.cpp'
  ERROR in .setUp (before test.gsl.RcppGSL.vector.iterating): Error executing .setUp before test.gsl.RcppGSL.vector.iterating : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b07a841d9c/gsl.cpp'
  ERROR in .setUp (before test.gsl.RcppGSL.vector.iterator.transform): Error executing .setUp before test.gsl.RcppGSL.vector.iterator.transform : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b049b48c49/gsl.cpp'
  ERROR in .setUp (before test.gsl.RcppGSL.vector.view.iterating): Error executing .setUp before test.gsl.RcppGSL.vector.view.iterating : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b060fe957/gsl.cpp'
  ERROR in .setUp (before test.gsl.matrix): Error executing .setUp before test.gsl.matrix : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b03973aafe/gsl.cpp'
  ERROR in .setUp (before test.gsl.matrix.input.SEXP): Error executing .setUp before test.gsl.matrix.input.SEXP : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b01fb8da13/gsl.cpp'
  ERROR in .setUp (before test.gsl.matrix.view): Error executing .setUp before test.gsl.matrix.view : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b046b74091/gsl.cpp'
  ERROR in .setUp (before test.gsl.vector): Error executing .setUp before test.gsl.vector : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b024e9cbc9/gsl.cpp'
  ERROR in .setUp (before test.gsl.vector.input.SEXP): Error executing .setUp before test.gsl.vector.input.SEXP : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b053200529/gsl.cpp'
  ERROR in .setUp (before test.gsl.vector.view): Error executing .setUp before test.gsl.vector.view : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b027bbae9a/gsl.cpp'
  ERROR in .setUp (before test.gsl.vector.wrappers): Error executing .setUp before test.gsl.vector.wrappers : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b072d3e97b/gsl.cpp'
  
  
  
  Details 
  *************************** 
  Test Suite: RcppGSL Unit Tests 
  Test function regexp: ^[Tt]est.+ 
  Test file regexp: ^runit.+\.[rR]$ 
  Involved directory: 
  /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppGSL/unitTests 
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppGSL/unitTests/runit.client.package.R 
  test.client.package: (1 checks) ... OK (18.89 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppGSL/unitTests/runit.fastLm.R 
  test.fastLm: (3 checks) ... OK (0.03 seconds)
  test.fastLm.default: (5 checks) ... OK (0 seconds)
  test.fastLm.formula: (5 checks) ... OK (0.02 seconds)
  test.summary.fastLm: (12 checks) ... OK (0.05 seconds)
  --------------------------- 
  Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppGSL/unitTests/runit.gsl.R 
  .setUp (before test.gsl.RcppGSL.matrix.indexing): ERROR !! 
  Error executing .setUp before test.gsl.RcppGSL.matrix.indexing : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b0141e78e5/gsl.cpp'
  .setUp (before test.gsl.RcppGSL.matrix.view.indexing): ERROR !! 
  Error executing .setUp before test.gsl.RcppGSL.matrix.view.indexing : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b046d87a69/gsl.cpp'
  .setUp (before test.gsl.RcppGSL.vector): ERROR !! 
  Error executing .setUp before test.gsl.RcppGSL.vector : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b0792498df/gsl.cpp'
  .setUp (before test.gsl.RcppGSL.vector.indexing): ERROR !! 
  Error executing .setUp before test.gsl.RcppGSL.vector.indexing : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b01b4d4aa0/gsl.cpp'
  .setUp (before test.gsl.RcppGSL.vector.iterating): ERROR !! 
  Error executing .setUp before test.gsl.RcppGSL.vector.iterating : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b07a841d9c/gsl.cpp'
  .setUp (before test.gsl.RcppGSL.vector.iterator.transform): ERROR !! 
  Error executing .setUp before test.gsl.RcppGSL.vector.iterator.transform : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b049b48c49/gsl.cpp'
  .setUp (before test.gsl.RcppGSL.vector.view.iterating): ERROR !! 
  Error executing .setUp before test.gsl.RcppGSL.vector.view.iterating : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b060fe957/gsl.cpp'
  .setUp (before test.gsl.matrix): ERROR !! 
  Error executing .setUp before test.gsl.matrix : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b03973aafe/gsl.cpp'
  .setUp (before test.gsl.matrix.input.SEXP): ERROR !! 
  Error executing .setUp before test.gsl.matrix.input.SEXP : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b01fb8da13/gsl.cpp'
  .setUp (before test.gsl.matrix.view): ERROR !! 
  Error executing .setUp before test.gsl.matrix.view : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b046b74091/gsl.cpp'
  .setUp (before test.gsl.vector): ERROR !! 
  Error executing .setUp before test.gsl.vector : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b024e9cbc9/gsl.cpp'
  .setUp (before test.gsl.vector.input.SEXP): ERROR !! 
  Error executing .setUp before test.gsl.vector.input.SEXP : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b053200529/gsl.cpp'
  .setUp (before test.gsl.vector.view): ERROR !! 
  Error executing .setUp before test.gsl.vector.view : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b027bbae9a/gsl.cpp'
  .setUp (before test.gsl.vector.wrappers): ERROR !! 
  Error executing .setUp before test.gsl.vector.wrappers : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    file io error: '/tmp/RtmpbSFkB4/sourceCpp-x86_64-pc-linux-gnu-0.12.14/sourcecpp_25b072d3e97b/gsl.cpp'
  Error: TEST HAD ERRORS!
  Execution halted
  rm: cannot remove '/tmp/RtmpbSFkB4/file25b0753e2cba/RcppGSLExample/src/Makevars.win': Permission denied
  rm: cannot remove '/tmp/RtmpbSFkB4/file25b0753e2cba/RcppGSLExample/src/RcppExports.cpp': Permission denied
  rm: cannot remove '/tmp/RtmpbSFkB4/file25b0753e2cba/RcppGSLExample/src/colNorm.cpp': Permission denied
  rm: cannot remove '/tmp/RtmpbSFkB4/file25b0753e2cba/RcppGSLExample/src/Makevars.in': Permission denied
  rm: cannot remove '/tmp/RtmpbSFkB4/file25b0753e2cba/RcppGSLExample/R/RcppExports.R': Permission denied
  rm: cannot remove '/tmp/RtmpbSFkB4/file25b0753e2cba/RcppGSLExample/R/colNorm.R': Permission denied
  rm: cannot remove '/tmp/RtmpbSFkB4/file25b0753e2cba/RcppGSLExample/man/colNorm.Rd': Permission denied
  rm: cannot remove '/tmp/RtmpbSFkB4/file25b0753e2cba/RcppGSLExample/DESCRIPTION': Permission denied
  rm: cannot remove '/tmp/RtmpbSFkB4/file25b0753e2cba/RcppGSLExample/NAMESPACE': Permission denied
  rm: cannot remove '/tmp/RtmpbSFkB4/file25b0753e2cba/RcppGSLExample/configure.ac': Permission denied
  rm: cannot remove '/tmp/RtmpbSFkB4/file25b0753e2cba/RcppGSLExample/configure': Permission denied