Running ‘doRUnit.R’ [151s/209s]
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/local/bin/gsl-config
  configure: creating ./config.status
  config.status: creating src/Makevars
  ** libs
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include -I"/tmp/RtmplFaqzq/RLIBS_20ca1c143ff1/Rcpp/include" -I"/tmp/RtmplFaqzq/RLIBS_20ca1c143ff1/RcppGSL/include" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c RcppExports.cpp -o RcppExports.o
  "/tmp/RtmplFaqzq/RLIBS_20ca1c143ff1/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/tmp/RtmplFaqzq/RLIBS_20ca1c143ff1/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/tmp/RtmplFaqzq/RLIBS_20ca1c143ff1/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/tmp/RtmplFaqzq/RLIBS_20ca1c143ff1/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/tmp/RtmplFaqzq/RLIBS_20ca1c143ff1/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  5 Error(s) detected.
  *** Error code 2
  make: Fatal error: Command failed for target `RcppExports.o'
  Current working directory /tmp/Rtmp70aGNF/R.INSTALL3f3c9426567/RcppGSLExample/src
  ERROR: compilation failed for package ‘RcppGSLExample’
  * removing ‘/tmp/RtmpV9aGdF/file3e1c514d2088/templib/RcppGSLExample’
  Loading required package: Rcpp
  
  Attaching package: 'Rcpp'
  
  The following object is masked from 'package:RcppGSL':
  
      LdFlags
  
  Loading required package: RcppGSLExample
  Timing stopped at: 8.556 3.863 28.86
  Error in colNorm(m) : could not find function "colNorm"
  In addition: Warning messages:
  1: In install.packages(paste(pkg, "_0.0.3.tar.gz", sep = ""), "templib",  :
    installation of package 'RcppGSLExample_0.0.3.tar.gz' had non-zero exit status
  2: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
    there is no package called '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  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.RcppGSL.matrix.view.indexing  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.RcppGSL.vector  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.RcppGSL.vector.indexing  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.RcppGSL.vector.iterating  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.RcppGSL.vector.iterator.transform  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.RcppGSL.vector.view.iterating  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.matrix  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.matrix.input.SEXP  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.matrix.view  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.vector  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.vector.input.SEXP  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.vector.view  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  
  
  Executing test function test.gsl.vector.wrappers  ... "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 219: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 220: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 221: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 241: Error: The function "snprintf" must have a prototype.
  "/home/ripley/R/Lib32/Rcpp/include/Rcpp/internal/r_coerce.h", line 249: Error: The function "snprintf" must have a prototype.
  "gsl.cpp", line 293: Error: Could not find a match for std::transform<_InputIter, _OutputIter, _UnaryOperation>(Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, Rcpp::internal::Proxy_Iterator<RcppGSL::vector<double>::Proxy>, double*, ?) needed in test_gsl_vector_iterator_transform(Rcpp::Vector<14, PreserveStorage>).
  6 Error(s) detected.
  make: Fatal error: Command failed for target `gsl.o'
  Current working directory /tmp/RtmpV9aGdF/sourceCpp-i386-pc-solaris2.10-0.12.9/sourcecpp_3e1c1a2377e6
  CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include  -I"/home/ripley/R/Lib32/Rcpp/include" -I"/home/ripley/R/Lib32/RcppGSL/include" -I"/home/ripley/R/Lib32/RcppGSL/unitTests/cpp" -I/usr/local/include   -KPIC  -O -xlibmil -xtarget=native -nofstore  -c gsl.cpp -o gsl.o
  *** Error code 2
  Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) : 
    Error 1 occurred building shared library.
  > 
  > ## Print results
  > printTextProtocol(tests)
  RUNIT TEST PROTOCOL -- Tue Mar 14 18:01:03 2017 
  *********************************************** 
  Number of test functions: 19 
  Number of errors: 15 
  Number of failures: 0 
  
   
  1 Test Suite : 
  RcppGSL Unit Tests - 19 test functions, 15 errors, 0 failures
  ERROR in test.client.package: Error in colNorm(m) : could not find function "colNorm"
  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: 
  /home/ripley/R/Lib32/RcppGSL/unitTests 
  --------------------------- 
  Test file: /home/ripley/R/Lib32/RcppGSL/unitTests/runit.client.package.R 
  test.client.package: ERROR !! 
  Error in colNorm(m) : could not find function "colNorm"
  --------------------------- 
  Test file: /home/ripley/R/Lib32/RcppGSL/unitTests/runit.fastLm.R 
  test.fastLm: (3 checks) ... OK (0.06 seconds)
  test.fastLm.default: (5 checks) ... OK (0.01 seconds)
  test.fastLm.formula: (5 checks) ... OK (0.03 seconds)
  test.summary.fastLm: (12 checks) ... OK (0.07 seconds)
  --------------------------- 
  Test file: /home/ripley/R/Lib32/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