Running ‘doRUnit.R’ [132s/165s]
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 - 2016
  > 
  > stopifnot(require("RUnit", quietly=TRUE))
  > stopifnot(require("RcppGSL", quietly=TRUE))
  > 
  > ## 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.+")
  > 
  > ## without this, we get (or used to get) unit test failures
  > Sys.setenv("R_TESTS"="")
  > 
  > ## Run tests
  > tests <- runTestSuite(testSuite)
  
  
  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
  * 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/RtmpWONQte/R.INSTALL1c02d076400/RcppGSLExample/src'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include -I"/tmp/Rtmp5EALbz/RLIBS_981b5b85bcd5/Rcpp/include" -I"/tmp/Rtmp5EALbz/RLIBS_981b5b85bcd5/RcppGSL/include" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c RcppExports.cpp -o RcppExports.o
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include -I"/tmp/Rtmp5EALbz/RLIBS_981b5b85bcd5/Rcpp/include" -I"/tmp/Rtmp5EALbz/RLIBS_981b5b85bcd5/RcppGSL/include" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c colNorm.cpp -o colNorm.o
  clang++ -stdlib=libc++ -shared -L/usr/local/clang/lib64 -L/usr/local/lib64 -o RcppGSLExample.so RcppExports.o colNorm.o -lgsl -lgslcblas -lm
  make[1]: Leaving directory '/tmp/RtmpWONQte/R.INSTALL1c02d076400/RcppGSLExample/src'
  make[1]: Entering directory '/tmp/RtmpWONQte/R.INSTALL1c02d076400/RcppGSLExample/src'
  make[1]: Leaving directory '/tmp/RtmpWONQte/R.INSTALL1c02d076400/RcppGSLExample/src'
  installing to /tmp/RtmpW1gUrR/filebeff4b6907cc/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  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.RcppGSL.matrix.view.indexing  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.RcppGSL.vector  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.RcppGSL.vector.indexing  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.RcppGSL.vector.iterating  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.RcppGSL.vector.iterator.transform  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.RcppGSL.vector.view.iterating  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.matrix  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.matrix.input.SEXP  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.matrix.view  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.vector  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.vector.input.SEXP  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.vector.view  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.vector.wrappers  ... gsl.cpp:293:5: error: no matching function for call to 'transform'
      std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
      ^~~~~~~~~~~~~~
  /usr/local/bin/../include/c++/v1/algorithm:1922:1: note: candidate template ignored: couldn't infer template argument '_UnaryOperation'
  transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation __op)
  ^
  /usr/local/bin/../include/c++/v1/algorithm:1932:1: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  transform(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
  ^
  1 error generated.
  make[1]: *** [gsl.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Entering directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  clang++ -stdlib=libc++  -I/data/gannet/ripley/R/R-clang/include -DNDEBUG -I/usr/include  -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/include" -I"/data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/cpp" -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -mtune=native -frtti  -c gsl.cpp -o gsl.o
  /data/gannet/ripley/R/R-clang/etc/Makeconf:151: recipe for target 'gsl.o' failed
  make[1]: Leaving directory '/tmp/RtmpW1gUrR/sourceCpp-x86_64-pc-linux-gnu-0.12.9/sourcecpp_beff11b431a2'
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  > 
  > ## Print results
  > printTextProtocol(tests)
  RUNIT TEST PROTOCOL -- Sat Mar  4 18:23:22 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")) : 
    Error 1 occurred building shared library.
  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")) : 
    Error 1 occurred building shared library.
  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")) : 
    Error 1 occurred building shared library.
  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")) : 
    Error 1 occurred building shared library.
  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")) : 
    Error 1 occurred building shared library.
  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")) : 
    Error 1 occurred building shared library.
  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")) : 
    Error 1 occurred building shared library.
  ERROR in .setUp (before test.gsl.matrix): Error executing .setUp before test.gsl.matrix : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  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")) : 
    Error 1 occurred building shared library.
  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")) : 
    Error 1 occurred building shared library.
  ERROR in .setUp (before test.gsl.vector): Error executing .setUp before test.gsl.vector : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  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")) : 
    Error 1 occurred building shared library.
  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")) : 
    Error 1 occurred building shared library.
  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")) : 
    Error 1 occurred building shared library.
  
  
  
  Details 
  *************************** 
  Test Suite: RcppGSL Unit Tests 
  Test function regexp: ^[Tt]est.+ 
  Test file regexp: ^runit.+\.[rR]$ 
  Involved directory: 
  /data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests 
  --------------------------- 
  Test file: /data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/runit.client.package.R 
  test.client.package: (1 checks) ... OK (19.58 seconds)
  --------------------------- 
  Test file: /data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/RcppGSL/unitTests/runit.fastLm.R 
  test.fastLm: (3 checks) ... OK (0.04 seconds)
  test.fastLm.default: (5 checks) ... OK (0.02 seconds)
  test.fastLm.formula: (5 checks) ... OK (0.05 seconds)
  test.summary.fastLm: (12 checks) ... OK (0.15 seconds)
  --------------------------- 
  Test file: /data/gannet/ripley/R/packages/tests-clang/RcppGSL.Rcheck/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")) : 
    Error 1 occurred building shared library.
  .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")) : 
    Error 1 occurred building shared library.
  .setUp (before test.gsl.RcppGSL.vector): ERROR !! 
  Error executing .setUp before test.gsl.RcppGSL.vector : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  .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")) : 
    Error 1 occurred building shared library.
  .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")) : 
    Error 1 occurred building shared library.
  .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")) : 
    Error 1 occurred building shared library.
  .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")) : 
    Error 1 occurred building shared library.
  .setUp (before test.gsl.matrix): ERROR !! 
  Error executing .setUp before test.gsl.matrix : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  .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")) : 
    Error 1 occurred building shared library.
  .setUp (before test.gsl.matrix.view): ERROR !! 
  Error executing .setUp before test.gsl.matrix.view : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  .setUp (before test.gsl.vector): ERROR !! 
  Error executing .setUp before test.gsl.vector : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  .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")) : 
    Error 1 occurred building shared library.
  .setUp (before test.gsl.vector.view): ERROR !! 
  Error executing .setUp before test.gsl.vector.view : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  .setUp (before test.gsl.vector.wrappers): ERROR !! 
  Error executing .setUp before test.gsl.vector.wrappers : Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 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