- using R version 3.5.0 beta (2018-04-15 r74603)
- using platform: i386-pc-solaris2.10 (32-bit)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘RcppGSL/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘RcppGSL’ version ‘0.3.3’
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘RcppGSL’ can be installed ... OK
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [7s/18s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking line endings in shell scripts ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [111s/239s] ERROR
Running ‘doRUnit.R’ [110s/238s]
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/local/bin/gsl-config
configure: creating ./config.status
config.status: creating src/Makevars
** libs
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/include" -DNDEBUG -I/usr/local/include -I"/tmp/Rtmppua4wr/RLIBS_22b726245bc2/Rcpp/include" -I"/tmp/Rtmppua4wr/RLIBS_22b726245bc2/RcppGSL/include" -I/opt/csw/include -I/usr/local/include -fPIC -O2 -c RcppExports.cpp -o RcppExports.o
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/include" -DNDEBUG -I/usr/local/include -I"/tmp/Rtmppua4wr/RLIBS_22b726245bc2/Rcpp/include" -I"/tmp/Rtmppua4wr/RLIBS_22b726245bc2/RcppGSL/include" -I/opt/csw/include -I/usr/local/include -fPIC -O2 -c colNorm.cpp -o colNorm.o
/opt/csw//bin/g++ -shared -L/usr/local/lib -L/opt/csw/lib -L/opt/developerstudio12.5/lib -o RcppGSLExample.so RcppExports.o colNorm.o -L/usr/local/lib -lgsl -lgslcblas -lm
installing to /tmp/RtmpAMaOZJ/file479d46cd52cc/templib/RcppGSLExample/libs
** R
** byte-compile and prepare 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: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
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: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
Executing test function test.gsl.RcppGSL.vector ... gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
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: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
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: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
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: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
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: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
Executing test function test.gsl.matrix ... gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
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: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
Executing test function test.gsl.matrix.view ... gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
Executing test function test.gsl.vector ... gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
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: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
Executing test function test.gsl.vector.view ... gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
Executing test function test.gsl.vector.wrappers ... gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/RtmpAMaOZJ/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_479d699129be
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/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/opt/csw/include -I/usr/local/include -fPIC -O2 -c gsl.cpp -o gsl.o
*** Error code 1
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
RUNIT TEST PROTOCOL -- Mon Apr 16 00:19:38 2018
***********************************************
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:
/home/ripley/R/Lib32/RcppGSL/unitTests
---------------------------
Test file: /home/ripley/R/Lib32/RcppGSL/unitTests/runit.client.package.R
test.client.package: (1 checks) ... OK (64.02 seconds)
---------------------------
Test file: /home/ripley/R/Lib32/RcppGSL/unitTests/runit.fastLm.R
test.fastLm: (3 checks) ... OK (0.03 seconds)
test.fastLm.default: (5 checks) ... OK (0.01 seconds)
test.fastLm.formula: (5 checks) ... OK (0.01 seconds)
test.summary.fastLm: (12 checks) ... OK (0.15 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.
Error: TEST HAD ERRORS!
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [127s/202s] WARNING
Error in re-building vignettes:
...
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Loading required package: RcppGSL
- 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/local/bin/gsl-config
configure: creating ./config.status
config.status: creating src/Makevars
** libs
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/include" -DNDEBUG -I/usr/local/include -I"/tmp/Rtmppua4wr/RLIBS_22b736753bfa/Rcpp/include" -I"/tmp/Rtmppua4wr/RLIBS_22b736753bfa/RcppGSL/include" -I/opt/csw/include -I/usr/local/include -fPIC -O2 -c RcppExports.cpp -o RcppExports.o
/opt/csw//bin/g++ -I"/home/ripley/R/gcc/include" -DNDEBUG -I/usr/local/include -I"/tmp/Rtmppua4wr/RLIBS_22b736753bfa/Rcpp/include" -I"/tmp/Rtmppua4wr/RLIBS_22b736753bfa/RcppGSL/include" -I/opt/csw/include -I/usr/local/include -fPIC -O2 -c colNorm.cpp -o colNorm.o
/opt/csw//bin/g++ -shared -L/usr/local/lib -L/opt/csw/lib -L/opt/developerstudio12.5/lib -o RcppGSLExample.so RcppExports.o colNorm.o -L/usr/local/lib -lgsl -lgslcblas -lm
installing to /tmp/Rtmphcaq7s/file25da2e0efef/templib/RcppGSLExample/libs
** R
** byte-compile and prepare 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
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
gsl.cpp: In function ‘Rcpp::NumericVector test_gsl_vector_iterator_transform(Rcpp::NumericVector)’:
gsl.cpp:293:63: error: no matching function for call to ‘transform(RcppGSL::vector<double>::iterator, RcppGSL::vector<double>::iterator, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, <unresolved overloaded function type>)’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: candidate: template<class _IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4164:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: couldn't deduce template parameter ‘_UnaryOperation’
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
In file included from /opt/csw/include/c++/5.2.0/algorithm:62:0,
from /home/ripley/R/Lib32/Rcpp/include/RcppCommon.h:72,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSLForward.h:25,
from /home/ripley/R/Lib32/RcppGSL/include/RcppGSL.h:25,
from gsl.cpp:22:
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: candidate: template<class _IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^
/opt/csw/include/c++/5.2.0/bits/stl_algo.h:4201:5: note: template argument deduction/substitution failed:
gsl.cpp:293:63: note: candidate expects 5 arguments, 4 provided
std::transform(vec.begin(), vec.end(), res.begin(), ::sqrt);
^
make: Fatal error: Command failed for target `gsl.o'
Current working directory /tmp/Rtmphcaq7s/sourceCpp-i386-pc-solaris2.10-0.12.16/sourcecpp_25da76c8505f
Error in sourceCpp(file.path(pathRcppTests, "cpp/gsl.cpp")) :
Error 1 occurred building shared library.
Error: processing vignette 'RcppGSL-unitTests.Rnw' failed with diagnostics:
chunk 2 (label = unitTesting)
Error in eval(expr, .GlobalEnv) : unit test problems: 14 errors
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR, 1 WARNING