* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck’ * using R Under development (unstable) (2023-08-12 r84939) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1) GNU Fortran (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1) * running under: Fedora Linux 38 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘RcppEigenAD/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘RcppEigenAD’ version ‘1.0.0’ * 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 ‘RcppEigenAD’ can be installed ... [31s/31s] OK * used C++ compiler: ‘g++ (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)’ * checking C++ specification ... NOTE Specified C++11: please drop specification unless essential * checking package 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 startup messages can be suppressed ... OK * checking dependencies in R code ... NOTE Namespace in Imports field not imported from: ‘RcppEigen’ All declared Imports should be used. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 C/C++/Fortran sources/headers ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... OK * checking examples with --run-donttest ... [51s/52s] ERROR Running examples in ‘RcppEigenAD-Ex.R’ failed The error most likely occurred in: > ### Name: H > ### Title: Construct a function to calculate the Hessian of a function. > ### Aliases: H > > ### ** Examples > > ## No test: > library(RcppEigenAD) > # define f as the eigen vectors of its argument x > # calculated using the Eigen library > f<-sourceCppAD(' + ADmat f(const ADmat& X) + { + Eigen::EigenSolver es(X); + return es.pseudoEigenvectors(); + } + ') using C++ compiler: ‘g++ (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)’ make[1]: Entering directory '/tmp/RtmplHWOtW/working_dir/RtmpQPaEf3/sourceCpp-x86_64-pc-linux-gnu-1.0.11/sourcecpp_2f32602ec94cff' g++ -std=gnu++17 -I"/data/blackswan/ripley/R/R-devel/include" -DNDEBUG -I"/data/blackswan/ripley/R/R-devel/site-library/Rcpp/include" -I"/data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include" -I"/data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include" -I"/data/blackswan/ripley/R/R-devel/site-library/BH/include" -I"/tmp/RtmplHWOtW/working_dir/RtmpQPaEf3/sourceCpp-x86_64-pc-linux-gnu-1.0.11" -I/data/blackswan/ripley/extras/include -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c file2f326055461aa9.cpp -o file2f326055461aa9.o In file included from /data/blackswan/ripley/R/R-devel/site-library/BH/include/boost/bind/mem_fn.hpp:25, from /data/blackswan/ripley/R/R-devel/site-library/BH/include/boost/mem_fn.hpp:22, from /data/blackswan/ripley/R/R-devel/site-library/BH/include/boost/function/detail/prologue.hpp:18, from /data/blackswan/ripley/R/R-devel/site-library/BH/include/boost/function.hpp:30, from /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/cppad.eigen.h:8, from /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h:6, from file2f326055461aa9.cpp:9: /data/blackswan/ripley/R/R-devel/site-library/BH/include/boost/get_pointer.hpp:48:40: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | template T * get_pointer(std::auto_ptr const& p) | ^~~~~~~~ In file included from /usr/include/c++/13/memory:78, from /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/cppad/utility/thread_alloc.hpp:17, from /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/cppad/core/base_complex.hpp:18, from /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/cppad/base_require.hpp:180, from /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/cppad/cppad.hpp:22, from /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/cppad/example/cppad_eigen.hpp:74, from /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/cppad.eigen.h:6: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ In file included from /data/blackswan/ripley/R/R-devel/site-library/BH/include/boost/bind.hpp:30, from /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/cppad.eigen.h:9: /data/blackswan/ripley/R/R-devel/site-library/BH/include/boost/config/pragma_message.hpp:24:34: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x))) | ^~~~~~~ /data/blackswan/ripley/R/R-devel/site-library/BH/include/boost/bind.hpp:36:1: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h: In instantiation of ‘boost::tuples::tuple >, Eigen::Matrix, Eigen::Array, -1, -1> > adfunc(const boost::function >(const std::vector >&)>&, const std::vector >&) [with T1 = double; T2 = CppAD::AD]’: file2f326055461aa9.cpp:38:30: required from here /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h:44:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 44 | for(int row = 0; row < x_nrows; row++) | ~~~~^~~~~~~~~ /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h:46:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 46 | for(int col = 0; col < x_ncols; col++) | ~~~~^~~~~~~~~ /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h:67:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 67 | for(int row = 0; row < x_nrows; row++) | ~~~~^~~~~~~~~ /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h:69:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 69 | for(int col = 0; col < x_ncols; col++) | ~~~~^~~~~~~~~ /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h:102:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 102 | for(int row = 0; row < y_nrows; row++) | ~~~~^~~~~~~~~ /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h:104:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 104 | for(int col = 0; col < y_ncols; col++) | ~~~~^~~~~~~~~ /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h:123:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 123 | for(int row = 0; row < a_ys_AD_vec_size; row++) | ~~~~^~~~~~~~~~~~~~~~~~ /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h:125:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 125 | for(int col = 0; col < xs_AD_vec_size; col++) | ~~~~^~~~~~~~~~~~~~~~ /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h:133:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 133 | for(int d = 0; d < a_ys_AD_vec_size; d++) | ~~^~~~~~~~~~~~~~~~~~ /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h:138:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 138 | for(int row = 0; row < xs_AD_vec_size; row++) | ~~~~^~~~~~~~~~~~~~~~ /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h:140:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 140 | for(int col = 0; col < xs_AD_vec_size; col++) | ~~~~^~~~~~~~~~~~~~~~ /data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/RcppEigenAD/include/adfunc.h:82:16: warning: unused variable ‘num_a_ys’ [-Wunused-variable] 82 | unsigned int num_a_ys = a_ys.size(); | ^~~~~~~~ In file included from /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/Core:374, from /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/Dense:1, from /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/RcppEigenForward.h:30, from /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/RcppEigen.h:25, from file2f326055461aa9.cpp:7: /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Core/MathFunctions.h: In instantiation of ‘typename Eigen::internal::enable_if<((! std::is_integral<_Tp>::value) && (! Eigen::NumTraits::IsComplex)), bool>::type Eigen::internal::isfinite_impl(const T&) [with T = CppAD::AD; typename enable_if<((! std::is_integral<_Tp>::value) && (! Eigen::NumTraits::IsComplex)), bool>::type = bool]’: /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Core/MathFunctions.h:963:100: required from ‘bool Eigen::numext::isfinite(const T&) [with T = CppAD::AD]’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Core/MathFunctions.h:1274:28: required from ‘bool Eigen::internal::isfinite_impl(const std::complex<_Tp>&) [with T = CppAD::AD]’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Core/MathFunctions.h:963:100: required from ‘bool Eigen::numext::isfinite(const T&) [with T = std::complex >]’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Eigenvalues/EigenSolver.h:407:23: required from ‘Eigen::EigenSolver& Eigen::EigenSolver<_MatrixType>::compute(const Eigen::EigenBase&, bool) [with InputType = Eigen::Matrix, -1, -1>; _MatrixType = Eigen::Matrix, -1, -1>]’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Eigenvalues/EigenSolver.h:156:14: required from ‘Eigen::EigenSolver<_MatrixType>::EigenSolver(const Eigen::EigenBase&, bool) [with InputType = Eigen::Matrix, -1, -1>; _MatrixType = Eigen::Matrix, -1, -1>]’ file2f326055461aa9.cpp:18:34: required from here /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Core/MathFunctions.h:723:39: error: no matching function for call to ‘isfinite(const CppAD::AD&)’ 723 | return isfinite EIGEN_NOT_A_MACRO (x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /data/blackswan/ripley/R/R-devel/site-library/Rcpp/include/Rcpp/platform/compiler.h:100, from /data/blackswan/ripley/R/R-devel/site-library/Rcpp/include/Rcpp/r/headers.h:62, from /data/blackswan/ripley/R/R-devel/site-library/Rcpp/include/RcppCommon.h:30, from /data/blackswan/ripley/R/R-devel/site-library/Rcpp/include/Rcpp.h:27, from file2f326055461aa9.cpp:6: /usr/include/c++/13/cmath:1138:5: note: candidate: ‘template constexpr typename __gnu_cxx::__enable_if::__value, bool>::__type std::isfinite(_Tp)’ 1138 | isfinite(_Tp __x) | ^~~~~~~~ /usr/include/c++/13/cmath:1138:5: note: template argument deduction/substitution failed: /usr/include/c++/13/cmath: In substitution of ‘template constexpr typename __gnu_cxx::__enable_if::__value, bool>::__type std::isfinite(_Tp) [with _Tp = CppAD::AD]’: /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Core/MathFunctions.h:723:39: required from ‘typename Eigen::internal::enable_if<((! std::is_integral<_Tp>::value) && (! Eigen::NumTraits::IsComplex)), bool>::type Eigen::internal::isfinite_impl(const T&) [with T = CppAD::AD; typename enable_if<((! std::is_integral<_Tp>::value) && (! Eigen::NumTraits::IsComplex)), bool>::type = bool]’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Core/MathFunctions.h:963:100: required from ‘bool Eigen::numext::isfinite(const T&) [with T = CppAD::AD]’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Core/MathFunctions.h:1274:28: required from ‘bool Eigen::internal::isfinite_impl(const std::complex<_Tp>&) [with T = CppAD::AD]’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Core/MathFunctions.h:963:100: required from ‘bool Eigen::numext::isfinite(const T&) [with T = std::complex >]’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Eigenvalues/EigenSolver.h:407:23: required from ‘Eigen::EigenSolver& Eigen::EigenSolver<_MatrixType>::compute(const Eigen::EigenBase&, bool) [with InputType = Eigen::Matrix, -1, -1>; _MatrixType = Eigen::Matrix, -1, -1>]’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Eigenvalues/EigenSolver.h:156:14: required from ‘Eigen::EigenSolver<_MatrixType>::EigenSolver(const Eigen::EigenBase&, bool) [with InputType = Eigen::Matrix, -1, -1>; _MatrixType = Eigen::Matrix, -1, -1>]’ file2f326055461aa9.cpp:18:34: required from here /usr/include/c++/13/cmath:1138:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__enable_if’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Core/MathFunctions.h: In instantiation of ‘typename Eigen::internal::enable_if<((! std::is_integral<_Tp>::value) && (! Eigen::NumTraits::IsComplex)), bool>::type Eigen::internal::isfinite_impl(const T&) [with T = CppAD::AD; typename enable_if<((! std::is_integral<_Tp>::value) && (! Eigen::NumTraits::IsComplex)), bool>::type = bool]’: /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Core/MathFunctions.h:963:100: required from ‘bool Eigen::numext::isfinite(const T&) [with T = CppAD::AD]’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Core/MathFunctions.h:1274:28: required from ‘bool Eigen::internal::isfinite_impl(const std::complex<_Tp>&) [with T = CppAD::AD]’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Core/MathFunctions.h:963:100: required from ‘bool Eigen::numext::isfinite(const T&) [with T = std::complex >]’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Eigenvalues/EigenSolver.h:407:23: required from ‘Eigen::EigenSolver& Eigen::EigenSolver<_MatrixType>::compute(const Eigen::EigenBase&, bool) [with InputType = Eigen::Matrix, -1, -1>; _MatrixType = Eigen::Matrix, -1, -1>]’ /data/blackswan/ripley/R/R-devel/site-library/RcppEigen/include/Eigen/src/Eigenvalues/EigenSolver.h:156:14: required from ‘Eigen::EigenSolver<_MatrixType>::EigenSolver(const Eigen::EigenBase&, bool) [with InputType = Eigen::Matrix, -1, -1>; _MatrixType = Eigen::Matrix, -1, -1>]’ file2f326055461aa9.cpp:18:34: required from here /usr/include/c++/13/cmath:1130:3: note: candidate: ‘constexpr bool std::isfinite(long double)’ 1130 | isfinite(long double __x) | ^~~~~~~~ /usr/include/c++/13/cmath:1130:24: note: no known conversion for argument 1 from ‘const CppAD::AD’ to ‘long double’ 1130 | isfinite(long double __x) | ~~~~~~~~~~~~^~~ /usr/include/c++/13/cmath:1126:3: note: candidate: ‘constexpr bool std::isfinite(double)’ 1126 | isfinite(double __x) | ^~~~~~~~ /usr/include/c++/13/cmath:1126:19: note: no known conversion for argument 1 from ‘const CppAD::AD’ to ‘double’ 1126 | isfinite(double __x) | ~~~~~~~^~~ /usr/include/c++/13/cmath:1122:3: note: candidate: ‘constexpr bool std::isfinite(float)’ 1122 | isfinite(float __x) | ^~~~~~~~ /usr/include/c++/13/cmath:1122:18: note: no known conversion for argument 1 from ‘const CppAD::AD’ to ‘float’ 1122 | isfinite(float __x) | ~~~~~~^~~ make[1]: *** [/data/blackswan/ripley/R/R-devel/etc/Makeconf:198: file2f326055461aa9.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/tmp/RtmplHWOtW/working_dir/RtmpQPaEf3/sourceCpp-x86_64-pc-linux-gnu-1.0.11/sourcecpp_2f32602ec94cff' Error in sourceCpp(code = adlacode) : Error 1 occurred building shared library. Calls: sourceCppAD -> sourceCpp Execution halted * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR, 2 NOTEs See ‘/data/blackswan/ripley/R/packages/tests-devel/RcppEigenAD.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:07.84, 113.89 + 12.93