* installing *source* package ‘multinma’ ... ** package ‘multinma’ successfully unpacked and MD5 sums checked ** using staged installation Info: Found int division at 'string', line 164, column 28 to column 32: nint / int_thin Values will be rounded towards zero. If rounding is not desired you can write the division as nint * 1.0 / int_thin If rounding is intended please use the integer division operator %/%. Info: Found int division at 'string', line 164, column 28 to column 32: nint / int_thin Values will be rounded towards zero. If rounding is not desired you can write the division as nint * 1.0 / int_thin If rounding is intended please use the integer division operator %/%. Info: Found int division at 'string', line 169, column 28 to column 32: nint / int_thin Values will be rounded towards zero. If rounding is not desired you can write the division as nint * 1.0 / int_thin If rounding is intended please use the integer division operator %/%. Info: Found int division at 'string', line 177, column 28 to column 32: nint / int_thin Values will be rounded towards zero. If rounding is not desired you can write the division as nint * 1.0 / int_thin If rounding is intended please use the integer division operator %/%. Info: Found int division at 'string', line 165, column 28 to column 32: nint / int_thin Values will be rounded towards zero. If rounding is not desired you can write the division as nint * 1.0 / int_thin ** libs using C++ compiler: ‘clang version 17.0.5’ using C++17 make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/multinma/src' /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:26: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:26: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:540: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/LU:47: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Householder:27: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:48: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SVD:48: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Geometry:58: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:28: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:66: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:27: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/OrderingMethods:71: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCholesky:43: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:33: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:32: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseQR:34: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:33: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/IterativeLinearSolvers:46: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:32: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:36: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/Polynomials:135: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:44: /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 239 | int count = 0; | ^ In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:51: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ 24 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c stanExports_binomial_1par.cc -o stanExports_binomial_1par.o In file included from stanExports_binomial_1par.cc:3: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from stanExports_binomial_1par.cc:3: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:540: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/LU:47: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Householder:27: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:48: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SVD:48: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Geometry:58: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:66: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:27: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/OrderingMethods:71: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCholesky:43: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:33: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:32: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseQR:34: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:33: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/IterativeLinearSolvers:46: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21: /data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:48:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 48 | Rprintf("%.*s", n, s); | ~~^~ ~ /data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:71:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 71 | REprintf("%.*s", n, s); | ~~^~ ~ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:32: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:36: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/Polynomials:135: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:44: /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 239 | int count = 0; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:51: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:12: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err.hpp:8: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/check_cholesky_factor_corr.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/check_unit_vector.hpp:9: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/abs.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/hypot.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:9: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/check_matching_dims.hpp:33:8: warning: unused variable 'error' [-Wunused-variable] 33 | bool error = false; | ^~~~~ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const ArrayWrapper<Diagonal<const Matrix<double, -1, -1, 0, -1, -1>, 0>>, const CwiseNullaryOp<scalar_constant_op<double>, Array<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:47:38: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>' requested here 47 | || (cholesky.vectorD().array() <= 0.0).any()) { | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const ArrayWrapper<Diagonal<const Matrix<double, -1, -1, 0, -1, -1>, 0>>, const CwiseNullaryOp<scalar_constant_op<double>, Array<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/check_pos_semidefinite.hpp:46:38: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>' requested here 46 | || (cholesky.vectorD().array() < 0.0).any()) { | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:12: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err.hpp:50: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/hmm_check.hpp:33:7: warning: unused variable 'n_transitions' [-Wunused-variable] 33 | int n_transitions = log_omegas.cols() - 1; | ^~~~~~~~~~~~~ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:118: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/gp_matern52_cov.hpp:275:10: warning: unused variable 'neg_root_5' [-Wunused-variable] 275 | double neg_root_5 = -root_5; | ^~~~~~~~~~ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_difference_op<int, double> (const int &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_difference_op<int, double> (const int &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_difference_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Array<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:37: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>' requested here 58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2)); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_difference_op<int, double> (const int &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_quotient_op<double, int> (const double &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_quotient_op<double, int> (const double &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_quotient_op<double, int>, const CwiseBinaryOp<scalar_difference_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Array<double, -1, 1, 0, -1, 1>>>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:75: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>' requested here 58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2)); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_quotient_op<double, int> (const double &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:183: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log_mix.hpp:86:13: warning: unused variable 'N' [-Wunused-variable] 86 | const int N = stan::math::size(theta); | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_product_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_product_op<double> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>, const Eigen::Matrix<double, -1, -1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_product_op<double, double>, const CwiseNullaryOp<scalar_constant_op<double>, const Matrix<double, -1, -1, 0, -1, -1>>, const Matrix<double, -1, -1, 0, -1, -1>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:71:19: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>, const Eigen::Matrix<double, -1, -1>>' requested here 71 | B = t * A * B / (s * j); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_product_op<double> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_difference_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_difference_op<double> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_difference_op<double, double>, const Matrix<double, -1, 1, 0, -1, 1>, const Matrix<double, -1, 1, 0, -1, 1>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:26:29: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>>' requested here 26 | Eigen::VectorXd delta(q - m_); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_difference_op<double> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_quotient_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_quotient_op<double> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_quotient_op<double, double>, const Matrix<double, -1, 1, 0, -1, 1>, const CwiseNullaryOp<scalar_constant_op<double>, const Matrix<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:27:17: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1>>>' requested here 27 | m_ += delta / num_samples_; | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_quotient_op<double> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:34: /data/gannet/ripley/R/test-clang/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21: /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:131: /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/linear_algebra.hpp:20: /data/gannet/ripley/R/test-clang/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/unscale.hpp:28: /data/gannet/ripley/R/test-clang/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20: /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:21: /data/gannet/ripley/R/test-clang/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_exp_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_exp_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_exp_op<double>, const CwiseBinaryOp<scalar_difference_op<double, double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:90:49: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>' requested here 90 | return max + std::log((v_ref.array() - max).exp().sum()); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:103:12: note: in instantiation of function template specialization 'stan::math::log_sum_exp(const Eigen::Matrix<double, -1, 1> &)::(anonymous class)::operator()<Eigen::Matrix<double, -1, 1>>' requested here 103 | return f(x); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:81:33: note: in instantiation of function template specialization 'stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>>::reduce<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:81:43)>' requested here 81 | return apply_vector_unary<T>::reduce(x, [&](const auto& v) { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/dirichlet_rng.hpp:59:24: note: in instantiation of function template specialization 'stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>, nullptr>' requested here 59 | double log_sum_y = log_sum_exp(log_y); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_exp_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:87: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/double_exponential_cdf.hpp:82:10: warning: unused variable 'N' [-Wunused-variable] 82 | size_t N = max_size(y, mu, sigma); | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_sqrt_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_sqrt_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_sqrt_op<double>, const ArrayWrapper<Diagonal<const Matrix<double, -1, -1, 0, -1, -1>, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:38:53: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>>' requested here 38 | Eigen::VectorXd stddev = S_ldlt.vectorD().array().sqrt().matrix(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sqrt_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_sum_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_sum_op<double> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1>>>, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>>, 2>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_sum_op<double, double>, const Matrix<double, -1, 1, 0, -1, 1>, const Product<Transpose<TranspositionsBase<Transpositions<-1, -1, int>>>, Product<TriangularView<const Matrix<double, -1, -1, 0, -1, -1>, 5>, Matrix<double, -1, 1, 0, -1, 1>, 0>, 2>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1>>>, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>>, 2>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:46:12: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1>>>, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>>, 2>>' requested here 46 | = mu + (S_ldlt.transpositionsP().transpose() * (S_ldlt.matrixL() * z)); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sum_op<double> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:128: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:7: warning: unused variable 'n' [-Wunused-variable] 98 | int n = G.rows(); // number of states | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:139: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/hmm_marginal.hpp:26:13: warning: unused variable 'n_states' [-Wunused-variable] 26 | const int n_states = omegas.rows(); | ^~~~~~~~ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_inverse_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_inverse_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_inverse_op<double>, const ArrayWrapper<Diagonal<const Matrix<double, -1, -1, 0, -1, -1>, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:89:38: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>>' requested here 89 | = Sigma_ldlt.vectorD().array().inverse().sqrt().matrix(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_inverse_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_sum_op<int> (const int &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_sum_op<int> (const int &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_sum_op<int, int>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const Map<const Array<int, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/multinomial_logit_lpmf.hpp:39:47: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>' requested here 39 | lp += lgamma(1 + ns_map.sum()) - lgamma(1 + ns_map).sum(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sum_op<int> (const int &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const int &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_sum_op<int, int>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const Map<const Array<int, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:120:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>>' requested here 120 | return apply_scalar_unary<lgamma_fun, T>::apply(x); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/multinomial_logit_lpmf.hpp:39:38: note: in instantiation of function template specialization 'stan::math::lgamma<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>, nullptr>' requested here 39 | lp += lgamma(1 + ns_map.sum()) - lgamma(1 + ns_map).sum(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_opposite_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_opposite_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Array<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_opposite_op<double>, const Array<double, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::Array<double, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:130:29: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Array<double, -1, 1>>' requested here 130 | = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_opposite_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_abs_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_abs_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_abs_op<double>, const Array<double, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:130:48: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>>' requested here 130 | = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_abs_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_log1p_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_log1p_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log1p_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_log1p_op<double>, const CwiseUnaryOp<scalar_exp_op<double>, const CwiseUnaryOp<scalar_opposite_op<double>, const CwiseUnaryOp<scalar_abs_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log1p_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:130:61: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_log1p_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 130 | = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_log1p_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ> (const int &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ> (const int &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Map<const Eigen::Matrix<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Map<const Matrix<int, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>, const CwiseNullaryOp<scalar_constant_op<int>, Matrix<int, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Map<const Eigen::Matrix<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:138:18: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Map<const Eigen::Matrix<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1>>>' requested here 138 | logp = y_vec.cwiseEqual(1) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ> (const int &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_difference_op<double, double>, const Array<double, -1, 1, 0, -1, 1>, const Array<double, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::log1m_exp_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log1m_exp.hpp:83:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::log1m_exp_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>>>' requested here 83 | return apply_scalar_unary<log1m_exp_fun, T>::apply(x); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:142:50: note: in instantiation of function template specialization 'stan::math::log1m_exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>>, nullptr>' requested here 142 | m_log_1p_exp_m_cut2 + log1m_exp(cut1 - cut2).array() | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_sum_op<int, double> (const int &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_sum_op<int, double> (const int &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Array<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_sum_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const Array<double, -1, 1, 0, -1, 1>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Array<double, -1, 1>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:164:45: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Array<double, -1, 1>>' requested here 164 | = (cut2 > 0).select(exp_m_cut2 / (1 + exp_m_cut2), 1 / (1 + exp(cut2))) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sum_op<int, double> (const int &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_difference_op<double, int> (const double &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_difference_op<double, int> (const double &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_difference_op<double, int>, const Array<double, -1, 1, 0, -1, 1>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:165:44: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>' requested here 165 | - exp_cuts_diff / (exp_cuts_diff - 1); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_difference_op<double, int> (const double &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_quotient_op<int, double> (const int &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_quotient_op<int, double> (const int &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Array<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_quotient_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const CwiseBinaryOp<scalar_difference_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const Array<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:167:13: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Array<double, -1, 1>>>' requested here 167 | = 1 / (1 - exp_cuts_diff) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_quotient_op<int, double> (const int &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:315: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/std_normal_rng.hpp:23:22: warning: unused variable 'function' [-Wunused-variable] 23 | static const char* function = "std_normal_rng"; | ^~~~~~~~ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:335: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/von_mises_cdf.hpp:72:10: warning: unused variable 'ck' [-Wunused-variable] 72 | double ck = 50; | ^~ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::adj_Op (stan::math::vari_value<double> *const &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::adj_Op (stan::math::vari_value<double> *const &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<adj_Op, Map<Matrix<vari_value<double, void> *, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/divide.hpp:40:31: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>' requested here 40 | -= invc_ * (adjResult.adj().array() * adjResult.val().array()).sum(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::adj_Op (stan::math::vari_value<double> *const &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::val_Op (stan::math::vari_value<double> *const &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::val_Op (stan::math::vari_value<double> *const &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<val_Op, Map<Matrix<vari_value<double, void> *, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/divide.hpp:40:57: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>' requested here 40 | -= invc_ * (adjResult.adj().array() * adjResult.val().array()).sum(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::val_Op (stan::math::vari_value<double> *const &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::val_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::val_Op (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<val_Op, const Matrix<var_value<double, void>, -1, -1, 0, -1, -1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:45:12: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>' requested here 45 | Ad = A.val(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::val_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::vi_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::vi_Op (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::vi_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<vi_Op, const Matrix<var_value<double, void>, -1, -1, 0, -1, -1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::vi_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:50:45: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::vi_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>' requested here 50 | Map<matrix_vi>(vari_ref_A_, M_, M_) = A.vi(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::vi_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24), const Eigen::Map<Eigen::Matrix<double, -1, -1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24), const Map<Matrix<double, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24), const Eigen::Map<Eigen::Matrix<double, -1, -1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24), const Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here 52 | = wd.unaryExpr([](double x) { return new vari(x, false); }); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Matrix<var_value<double, void>, -1, -1, 0, -1, -1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Eigen::Matrix<stan::math::var_value<double>, -1, -1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>' requested here 110 | return m.unaryExpr([](auto x) { return value_of_rec(x); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: in instantiation of function template specialization 'stan::math::value_of_rec(const Eigen::Matrix<stan::math::var_value<double>, -1, -1> &)::(anonymous class)::operator()<const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>' requested here 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:365:6: note: while substituting prior template arguments into non-type template parameter [with F = (lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:109:7), Args = <const Eigen::Matrix<stan::math::var_value<double>, -1, -1> &>] 365 | auto make_holder(const F& func, Args&&... args) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 366 | return internal::make_holder_impl(func, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 367 | std::make_index_sequence<sizeof...(Args)>(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 368 | std::forward<Args>(args)...); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 369 | } | ~ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:108:10: note: while substituting deduced template arguments into function template 'make_holder' [with F = (lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:109:7), Args = <const Eigen::Matrix<stan::math::var_value<double>, -1, -1> &>, $2 = (no value)] 108 | return make_holder( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:83:19: note: in instantiation of function template specialization 'stan::math::value_of_rec<const Eigen::Matrix<stan::math::var_value<double>, -1, -1> &, void, void>' requested here 83 | matrix_d m_eval(value_of_rec(m)); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::vi_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::vi_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::vi_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<vi_Op, Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::vi_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:88:7: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::vi_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 88 | res.vi() | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::vi_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24), const Eigen::Map<Eigen::Matrix<double, -1, -1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24), const Map<Matrix<double, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24), const Eigen::Map<Eigen::Matrix<double, -1, -1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24), const Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here 52 | = vd.unaryExpr([](double x) { return new vari(x, false); }); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::adj_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::adj_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<adj_Op, Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/grad.hpp:27:9: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 27 | g = x.adj(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::adj_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_log_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_log_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_log_op<double>, const ArrayWrapper<const Diagonal<const Matrix<double, -1, -1, 0, -1, -1>, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log.hpp:66:47: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>>' requested here 66 | x, [](const auto& v) { return v.array().log(); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:24: note: in instantiation of function template specialization 'stan::math::log(const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>> &)::(anonymous class)::operator()<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>' requested here 48 | f(x)); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log.hpp:65:41: note: in instantiation of function template specialization 'stan::math::apply_vector_unary<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>::apply<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log.hpp:66:10), Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>, nullptr>' requested here 65 | return apply_vector_unary<Container>::apply( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/log_determinant_spd.hpp:49:20: note: in instantiation of function template specialization 'stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>, nullptr>' requested here 49 | double val = sum(log(ldlt.vectorD())); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_log_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::val_Op (stan::math::vari_value<double> *const &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::val_Op (stan::math::vari_value<double> *const &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<val_Op, Map<Matrix<vari_value<double, void> *, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:79:38: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>' requested here 79 | vector_d di = 2 * adj_ * (v1_map.val() - v2_map.val()); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::val_Op (stan::math::vari_value<double> *const &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::adj_Op (stan::math::vari_value<double> *const &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::adj_Op (stan::math::vari_value<double> *const &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<adj_Op, Map<Matrix<vari_value<double, void> *, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:80:12: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>' requested here 80 | v1_map.adj() += di; | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::adj_Op (stan::math::vari_value<double> *const &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::vi_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::vi_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::vi_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<vi_Op, Map<const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::vi_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/variance.hpp:22:49: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::vi_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 22 | Eigen::Map<vector_vi>(varis, size) = dtrs_map.vi(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::vi_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<val_Op, Map<const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/variance.hpp:23:33: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 23 | vector_d dtrs_vals = dtrs_map.val(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_product_op<int, double> (const int &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_product_op<int, double> (const int &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_product_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const ArrayWrapper<Matrix<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/variance.hpp:27:44: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1>>>' requested here 27 | Eigen::Map<vector_d>(partials, size) = 2 * diff.array() / size_m1; | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_product_op<int, double> (const int &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::val_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::val_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<val_Op, Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/functor/jacobian.hpp:26:15: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 26 | fx = fx_var.val(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::val_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 58 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: in instantiation of function template specialization 'stan::math::value_of(const Eigen::Matrix<stan::math::var_value<double>, -1, 1> &)::(anonymous class)::operator()<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:365:6: note: while substituting prior template arguments into non-type template parameter [with F = (lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:57:7), Args = <const Eigen::Matrix<stan::math::var_value<double>, -1, 1> &>] 365 | auto make_holder(const F& func, Args&&... args) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 366 | return internal::make_holder_impl(func, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 367 | std::make_index_sequence<sizeof...(Args)>(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 368 | std::forward<Args>(args)...); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 369 | } | ~ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:56:10: note: while substituting deduced template arguments into function template 'make_holder' [with F = (lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:57:7), Args = <const Eigen::Matrix<stan::math::var_value<double>, -1, 1> &>, $2 = (no value)] 56 | return make_holder( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/functor/algebra_solver_fp.hpp:96:29: note: in instantiation of function template specialization 'stan::math::value_of<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> &, nullptr, nullptr>' requested here 96 | y_dummy(stan::math::value_of(y)), | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_square_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_square_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_square_op<double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:182:56: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>>' requested here 182 | return normal_fullrank(Eigen::VectorXd(mu_.array().square()), | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_square_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:25: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_header.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/indexing.hpp:9: /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:610:13: warning: unused variable 'cols' [-Wunused-variable] 610 | const int cols = rvalue_index_size(idxs.tail_.head_, x_ref.cols()); | ^~~~ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:25: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_header.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/indexing.hpp:10: /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:241:22: warning: unused variable 'x_cols' [-Wunused-variable] 241 | const Eigen::Index x_cols = x.cols(); | ^~~~~~ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<double, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<double, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<double, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::Matrix<double, -1, 1>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_logit.hpp:88:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::Matrix<double, -1, 1>>' requested here 88 | return apply_scalar_unary<inv_logit_fun, T>::apply(x); | ^ ./stanExports_binomial_1par.h:2967:45: note: in instantiation of function template specialization 'stan::math::inv_logit<Eigen::Matrix<double, -1, 1>, nullptr, nullptr>' requested here 2967 | assign(theta_ipd, nil_index_list(), inv_logit(eta_ipd), | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<double, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<double, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<double, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::Matrix<double, -1, 1>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Phi.hpp:69:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::Matrix<double, -1, 1>>' requested here 69 | return apply_scalar_unary<Phi_fun, T>::apply(x); | ^ ./stanExports_binomial_1par.h:2973:47: note: in instantiation of function template specialization 'stan::math::Phi<Eigen::Matrix<double, -1, 1>, nullptr>' requested here 2973 | assign(theta_ipd, nil_index_list(), Phi(eta_ipd), | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const MatrixWrapper<const CwiseBinaryOp<scalar_sum_op<double, double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_logit.hpp:88:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 88 | return apply_scalar_unary<inv_logit_fun, T>::apply(x); | ^ ./stanExports_binomial_1par.h:3017:21: note: in instantiation of function template specialization 'stan::math::inv_logit<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, nullptr, nullptr>' requested here 3017 | inv_logit( | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const MatrixWrapper<const CwiseBinaryOp<scalar_sum_op<double, double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Phi.hpp:69:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 69 | return apply_scalar_unary<Phi_fun, T>::apply(x); | ^ ./stanExports_binomial_1par.h:3050:23: note: in instantiation of function template specialization 'stan::math::Phi<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, nullptr>' requested here 3050 | Phi( | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_sum_op<double, double>, const Product<Matrix<double, -1, -1, 0, -1, -1>, Matrix<double, -1, 1, 0, -1, 1>, 0>, const Matrix<double, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_logit.hpp:88:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>' requested here 88 | return apply_scalar_unary<inv_logit_fun, T>::apply(x); | ^ ./stanExports_binomial_1par.h:3127:37: note: in instantiation of function template specialization 'stan::math::inv_logit<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>, nullptr, nullptr>' requested here 3127 | stan::math::eval(inv_logit( | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Product<Matrix<double, -1, -1, 0, -1, -1>, Matrix<double, -1, 1, 0, -1, 1>, 0>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_logit.hpp:88:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>' requested here 88 | return apply_scalar_unary<inv_logit_fun, T>::apply(x); | ^ ./stanExports_binomial_1par.h:3130:37: note: in instantiation of function template specialization 'stan::math::inv_logit<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, nullptr, nullptr>' requested here 3130 | stan::math::eval(inv_logit( | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_sum_op<double, double>, const Product<Matrix<double, -1, -1, 0, -1, -1>, Matrix<double, -1, 1, 0, -1, 1>, 0>, const Matrix<double, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Phi.hpp:69:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>' requested here 69 | return apply_scalar_unary<Phi_fun, T>::apply(x); | ^ ./stanExports_binomial_1par.h:3139:39: note: in instantiation of function template specialization 'stan::math::Phi<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>, nullptr>' requested here 3139 | stan::math::eval(Phi( | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Product<Matrix<double, -1, -1, 0, -1, -1>, Matrix<double, -1, 1, 0, -1, 1>, 0>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Phi.hpp:69:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>' requested here 69 | return apply_scalar_unary<Phi_fun, T>::apply(x); | ^ ./stanExports_binomial_1par.h:3142:39: note: in instantiation of function template specialization 'stan::math::Phi<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, nullptr>' requested here 3142 | stan::math::eval(Phi(multiply(X_agd_arm, beta_tilde)))), | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:29: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_divide_equal.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_division.hpp:14: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_multiplication.hpp:7: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:88:43: warning: lambda capture 'b' is not used [-Wunused-lambda-capture] 88 | [avi = a.vi_, b](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:88:29: note: while substituting into a lambda expression here 88 | [avi = a.vi_, b](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_minus_equal.hpp:24:16: note: in instantiation of function template specialization 'stan::math::operator-<double, nullptr>' requested here 24 | vi_ = (*this - b).vi_; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core/complex_base.hpp:136:9: note: in instantiation of member function 'stan::math::var_value<double>::operator-=' requested here 136 | re_ -= x; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core/operator_subtraction.hpp:24:5: note: in instantiation of function template specialization 'stan::math::complex_base<stan::math::var_value<double>>::operator-=<int>' requested here 24 | y -= rhs; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core/operator_subtraction.hpp:55:20: note: in instantiation of function template specialization 'stan::math::internal::complex_subtract<std::complex<stan::math::var>, int>' requested here 55 | return internal::complex_subtract(x, y); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/acosh.hpp:105:31: note: in instantiation of function template specialization 'stan::math::operator-<stan::math::var_value<double>, int>' requested here 105 | auto y = log(z + sqrt(z * z - 1)); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/acosh.hpp:94:32: note: in instantiation of function template specialization 'stan::math::internal::complex_acosh<stan::math::var_value<double>>' requested here 94 | return stan::math::internal::complex_acosh(z); | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_abs2_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_abs2_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_abs2_op<double>, const Block<const Block<Block<Matrix<double, -1, -1, 0, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs2_op<double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/Dot.h:98:31: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>, -1, 1>>' requested here 98 | return numext::real((*this).cwiseAbs2().sum()); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Householder/Householder.h:76:60: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 76 | RealScalar tailSqNorm = size()==1 ? RealScalar(0) : tail.squaredNorm(); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:445:5: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>' requested here 445 | tridiagonalization_inplace(mat,hCoeffs); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:430:52: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace_selector<Eigen::Matrix<double, -1, -1>>::run<Eigen::Matrix<double, -1, 1>, Eigen::Matrix<double, -1, 1>>' requested here 430 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, extractQ); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:437:13: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<double, -1, 1>>' requested here 437 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, computeEigenvectors); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:168:7: note: in instantiation of function template specialization 'Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>::compute<Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here 168 | compute(matrix.derived(), options); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:46:45: note: in instantiation of function template specialization 'Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>::SelfAdjointEigenSolver<Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here 46 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(Ad); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_abs2_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_conj_product_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_conj_product_op<double> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_conj_product_op<double, double>, const Block<Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false>, const Block<Block<Matrix<double, -1, -1, 0, -1, -1>, -1, 1, true>, -1, 1, false>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_conj_product_op<double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/Dot.h:37:23: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>' requested here 37 | return a.template binaryExpr<conj_prod>(b).sum(); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/Dot.h:84:55: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:445:5: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>' requested here 445 | tridiagonalization_inplace(mat,hCoeffs); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:430:52: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace_selector<Eigen::Matrix<double, -1, -1>>::run<Eigen::Matrix<double, -1, 1>, Eigen::Matrix<double, -1, 1>>' requested here 430 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, extractQ); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:437:13: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<double, -1, 1>>' requested here 437 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, computeEigenvectors); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:168:7: note: in instantiation of function template specialization 'Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>::compute<Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here 168 | compute(matrix.derived(), options); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:46:45: note: in instantiation of function template specialization 'Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>::SelfAdjointEigenSolver<Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here 46 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(Ad); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_conj_product_op<double> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:28: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:84:43: warning: lambda capture 'b' is not used [-Wunused-lambda-capture] 84 | [avi = a.vi_, b](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:84:29: note: while substituting into a lambda expression here 84 | [avi = a.vi_, b](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:45:43: note: in instantiation of function template specialization 'stan::math::operator+<int, nullptr>' requested here 45 | grad_2F1(dF1, dF2, a + b, var(1.0), a + 1, z); | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_sum_op<double, double>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>, const CwiseBinaryOp<scalar_quotient_op<double, int>, const CwiseBinaryOp<scalar_difference_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Array<double, -1, 1, 0, -1, 1>>>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:120:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>>' requested here 120 | return apply_scalar_unary<lgamma_fun, T>::apply(x); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:23: note: in instantiation of function template specialization 'stan::math::lgamma<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>, nullptr>' requested here 58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2)); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/lmgamma.hpp:16:20: note: in instantiation of function template specialization 'stan::math::lmgamma<double, nullptr>' requested here 16 | : op_dv_vari(lmgamma(a, bvi->val_), a, bvi) {} | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:28: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:84:43: warning: lambda capture 'b' is not used [-Wunused-lambda-capture] 84 | [avi = a.vi_, b](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:84:29: note: while substituting into a lambda expression here 84 | [avi = a.vi_, b](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/trigamma.hpp:63:31: note: in instantiation of function template specialization 'stan::math::operator+<double, nullptr>' requested here 63 | value = -trigamma_impl(-x + 1.0) + square(pi() / sin(-pi() * x)); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/trigamma.hpp:23:44: note: in instantiation of function template specialization 'stan::math::trigamma_impl<stan::math::var_value<double>>' requested here 23 | inline var trigamma(const var& u) { return trigamma_impl(u); } | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const ArrayWrapper<Block<Block<Matrix<double, -1, -1, 0, -1, -1>, -1, 1, true>, -1, 1, false>>, const CwiseNullaryOp<scalar_constant_op<double>, Array<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:373:58: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>' requested here 373 | ret = ret && (mat.col(j).tail(size-j-1).array()==Scalar(0)).all(); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:520:42: note: in instantiation of function template specialization 'Eigen::internal::ldlt_inplace<1>::unblocked<Eigen::Matrix<double, -1, -1>, Eigen::Transpositions<-1, -1>, Eigen::Matrix<double, -1, 1>>' requested here 520 | m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:112:7: note: in instantiation of function template specialization 'Eigen::LDLT<Eigen::Matrix<double, -1, -1>>::compute<Eigen::Matrix<double, -1, -1>>' requested here 112 | compute(matrix.derived()); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:668:10: note: in instantiation of function template specialization 'Eigen::LDLT<Eigen::Matrix<double, -1, -1>>::LDLT<Eigen::Matrix<double, -1, -1>>' requested here 668 | return LDLT<PlainObject>(derived()); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:63: note: in instantiation of member function 'Eigen::MatrixBase<Eigen::Matrix<double, -1, -1>>::ldlt' requested here 45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt(); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite<Eigen::Matrix<double, -1, -1>, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseUnaryOp<scalar_square_op<double>, const CwiseBinaryOp<scalar_product_op<double, double>, const CwiseBinaryOp<scalar_difference_op<double, double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_1par_namespace::model_binomial_1par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_quotient_op<double, double>, const CwiseUnaryOp<scalar_square_op<double>, const CwiseBinaryOp<scalar_quotient_op<double, double>, const CwiseBinaryOp<scalar_difference_op<double, double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_1par_namespace::model_binomial_1par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_cast_op<bool, int> (const bool &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_cast_op<bool, int> (const bool &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<bool, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_cast_op<bool, int>, const CwiseBinaryOp<scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<double>, Array<double, -1, 1, 0, -1, 1>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<bool, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:510:20: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<bool, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>>' requested here 510 | typedef typename _CastType::Scalar NewScalarType; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:48:69: note: (skipping 8 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; }; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_1par_namespace::model_binomial_1par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cast_op<bool, int> (const bool &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_quotient_op<double, double>, const CwiseUnaryOp<scalar_square_op<double>, const CwiseBinaryOp<scalar_quotient_op<double, double>, const CwiseBinaryOp<scalar_difference_op<double, double>, const Array<double, -1, 1, 0, -1, 1>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_1par_namespace::model_binomial_1par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28) (const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28) (const int &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Eigen::Map<const Eigen::Matrix<int, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Map<const Matrix<int, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Eigen::Map<const Eigen::Matrix<int, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Eigen::Map<const Eigen::Matrix<int, -1, 1>>>' requested here 110 | return m.unaryExpr([](auto x) { return value_of_rec(x); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_1par_namespace::model_binomial_1par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28) (const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Array<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Array<double, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Array<double, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Array<double, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_1par_namespace::model_binomial_1par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_sum_op<double, int> (const double &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_sum_op<double, int> (const double &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_sum_op<double, int>, const Array<double, -1, 1, 0, -1, 1>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_lpmf.hpp:87:72: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>' requested here 87 | .select(signs * exp_m_ntheta / (exp_m_ntheta + 1), | ^ ./stanExports_binomial_1par.h:2633:26: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 2633 | lp_accum__.add(bernoulli_logit_lpmf<propto__>(ipd_r, eta_ipd)); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_1par_namespace::model_binomial_1par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sum_op<double, int> (const double &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<val_Op, Map<Matrix<var_value<double, void>, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/multiply.hpp:145:53: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 145 | arena_t<return_t> res = arena_A.val() * arena_B.val().array(); | ^ ./stanExports_binomial_1par.h:1998:49: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 1998 | stan::math::eval(multiply(tau[(1 - 1)], | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::adj_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::adj_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<adj_Op, Map<Matrix<var_value<double, void>, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/multiply.hpp:150:36: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 150 | const auto res_adj = res.adj().coeffRef(i, j); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/multiply.hpp:146:27: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 146 | reverse_pass_callback([arena_A, arena_B, res]() mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::adj_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::val_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::val_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<val_Op, Map<Matrix<var_value<double, void>, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/multiply.hpp:145:53: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 145 | arena_t<return_t> res = arena_A.val() * arena_B.val().array(); | ^ ./stanExports_binomial_1par.h:2004:51: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 2004 | multiply(tau[(1 - 1)], | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::val_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::adj_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::adj_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<adj_Op, Map<Matrix<var_value<double, void>, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/multiply.hpp:150:36: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 150 | const auto res_adj = res.adj().coeffRef(i, j); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/multiply.hpp:146:27: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 146 | reverse_pass_callback([arena_A, arena_B, res]() mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::adj_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Matrix<var_value<double, void>, -1, -1, 0, -1, -1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Matrix<stan::math::var_value<double>, -1, -1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>' requested here 58 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: (skipping 7 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Map<Matrix<var_value<double, void>, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 58 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: (skipping 7 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 58 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: (skipping 7 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_opposite_op<stan::math::var_value<double>> (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_opposite_op<stan::math::var_value<double>> (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double>>, const Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_opposite_op<var_value<double, void>>, const CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<stan::math::var_value<double>>, const Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/minus.hpp:18:10: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double>>, const Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 18 | return -x; | ^ ./stanExports_binomial_1par.h:551:34: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 551 | lp_accum__.add(minus(stan::math::log(y))); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_opposite_op<stan::math::var_value<double>> (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const ArrayWrapper<const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 58 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: (skipping 8 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:52: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/precomputed_gradients.hpp:83:59: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 83 | container_operands_(index_apply<N_containers>([&, this](auto... Is) { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/precomputed_gradients.hpp:83:55: note: while substituting into a lambda expression here 83 | container_operands_(index_apply<N_containers>([&, this](auto... Is) { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:167:16: note: in instantiation of function template specialization 'stan::math::precomputed_gradients_vari_template<>::precomputed_gradients_vari_template<>' requested here 167 | return new precomputed_gradients_vari_template< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:113:23: note: in instantiation of member function 'stan::math::operands_and_partials<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> &, const double &, const double &>::build' requested here 113 | return ops_partials.build(logp); | ^ ./stanExports_binomial_1par.h:522:24: note: in instantiation of function template specialization 'stan::math::normal_lpdf<false, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, double, double, nullptr>' requested here 522 | lp_accum__.add(normal_lpdf<propto__>(y, location, scale)); | ^ ./stanExports_binomial_1par.h:2570:9: note: in instantiation of function template specialization 'model_binomial_1par_namespace::prior_select_lp<false, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, double, double, double, stan::math::var_value<double>, stan::math::accumulator<stan::math::var_value<double>>>' requested here 2570 | prior_select_lp<false>(mu, prior_intercept_dist, | ^ ./stanExports_binomial_1par.h:4005:14: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 4005 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:52: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/precomputed_gradients.hpp:86:60: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 86 | container_gradients_(index_apply<N_containers>([&, this](auto... Is) { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/precomputed_gradients.hpp:86:56: note: while substituting into a lambda expression here 86 | container_gradients_(index_apply<N_containers>([&, this](auto... Is) { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:167:16: note: in instantiation of function template specialization 'stan::math::precomputed_gradients_vari_template<>::precomputed_gradients_vari_template<>' requested here 167 | return new precomputed_gradients_vari_template< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:113:23: note: in instantiation of member function 'stan::math::operands_and_partials<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> &, const double &, const double &>::build' requested here 113 | return ops_partials.build(logp); | ^ ./stanExports_binomial_1par.h:522:24: note: in instantiation of function template specialization 'stan::math::normal_lpdf<false, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, double, double, nullptr>' requested here 522 | lp_accum__.add(normal_lpdf<propto__>(y, location, scale)); | ^ ./stanExports_binomial_1par.h:2570:9: note: in instantiation of function template specialization 'model_binomial_1par_namespace::prior_select_lp<false, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, double, double, double, stan::math::var_value<double>, stan::math::accumulator<stan::math::var_value<double>>>' requested here 2570 | prior_select_lp<false>(mu, prior_intercept_dist, | ^ ./stanExports_binomial_1par.h:4005:14: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 4005 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseUnaryOp<scalar_square_op<double>, const CwiseBinaryOp<scalar_product_op<double, double>, const Array<double, -1, 1, 0, -1, 1>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 7 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>> (const double &, const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>> (const double &, const stan::math::var_value<double> &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_difference_op<double, var_value<double, void>>, const Matrix<double, -1, 1, 0, -1, 1>, const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/multi_normal_lpdf.hpp:98:64: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 98 | sum_lp_vec += trace_inv_quad_form_ldlt(ldlt_Sigma, y_col - mu_col); | ^ ./stanExports_binomial_1par.h:2627:13: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 2627 | multi_normal_lpdf<propto__>(agd_contrast_y, eta_agd_contrast_bar, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>> (const double &, const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:29: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_divide_equal.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_division.hpp:14: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_multiplication.hpp:7: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:113:43: warning: lambda capture 'a' is not used [-Wunused-lambda-capture] 113 | [bvi = b.vi_, a](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:113:29: note: while substituting into a lambda expression here 113 | [bvi = b.vi_, a](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/functors/BinaryFunctors.h:332:128: note: in instantiation of function template specialization 'stan::math::operator-<double, nullptr>' requested here 332 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type operator() (const LhsScalar& a, const RhsScalar& b) const { return a - b; } | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:719:12: note: in instantiation of member function 'Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>>::operator()' requested here 719 | return m_functor(m_lhsImpl.coeff(index), m_rhsImpl.coeff(index)); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:637:56: note: in instantiation of member function 'Eigen::internal::binary_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::coeff' requested here 637 | m_functor.assignCoeff(m_dst.coeffRef(index), m_src.coeff(index)); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:497:14: note: in instantiation of member function 'Eigen::internal::generic_dense_assignment_kernel<Eigen::internal::evaluator<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>, Eigen::internal::evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>, Eigen::internal::assign_op<stan::math::var_value<double>, stan::math::var_value<double>>>::assignCoeff' requested here 497 | kernel.assignCoeff(i); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:741:34: note: (skipping 14 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 741 | dense_assignment_loop<Kernel>::run(kernel); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_1par_namespace::model_binomial_1par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_1par_namespace::model_binomial_1par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_1par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_1par_namespace::model_binomial_1par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:59: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:13: warning: 'static' function 'set_zero_all_adjoints' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] 14 | static void set_zero_all_adjoints() { | ^~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:110: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/generalized_inverse.hpp:34:9: warning: unused type alias 'value_t' [-Wunused-local-typedef] 34 | using value_t = value_type_t<EigMat>; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:319: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/tail.hpp:46:9: warning: unused type alias 'idx_t' [-Wunused-local-typedef] 46 | using idx_t = index_type_t<std::vector<T>>; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_lpmf.hpp:59:9: warning: unused type alias 'T_y_val' [-Wunused-local-typedef] 59 | using T_y_val = | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:31: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/beta_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:50:9: warning: unused type alias 'T_partials_matrix' [-Wunused-local-typedef] 50 | using T_partials_matrix = Eigen::Matrix<T_partials_return, Eigen::Dynamic, 1>; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:37: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/beta_proportion_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/beta_proportion_lpdf.hpp:55:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef] 55 | using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:63: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/cauchy_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/cauchy_lpdf.hpp:45:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef] 45 | using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:74: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/dirichlet_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/dirichlet_lpdf.hpp:60:9: warning: unused type alias 'T_partials_vec' [-Wunused-local-typedef] 60 | using T_partials_vec = typename Eigen::Matrix<T_partials_return, -1, 1>; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:91: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/double_exponential_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/double_exponential_lpdf.hpp:44:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef] 44 | using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:111: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/frechet_cdf.hpp:30:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef] 30 | using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:245: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_lpmf.hpp:76:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef] 76 | using T_partials_array = Eigen::Array<T_partials_return, -1, 1>; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:277: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_lpmf.hpp:62:9: warning: unused type alias 'T_alpha_val' [-Wunused-local-typedef] 62 | using T_alpha_val = typename std::conditional_t< | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:49: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun.hpp:32: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:83:11: warning: unused type alias 'Block_' [-Wunused-local-typedef] 83 | using Block_ = Eigen::Block<Eigen::MatrixXd>; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:49: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun.hpp:34: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/cholesky_factor_constrain.hpp:32:9: warning: unused type alias 'T_scalar' [-Wunused-local-typedef] 32 | using T_scalar = value_type_t<T>; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:49: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun.hpp:71: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/generalized_inverse.hpp:64:9: warning: unused type alias 'value_t' [-Wunused-local-typedef] 64 | using value_t = value_type_t<VarMat>; | ^ In file included from stanExports_binomial_1par.cc:5: In file included from ./stanExports_binomial_1par.h:25: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_header.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/indexing.hpp:8: /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/indexing/lvalue_varmat.hpp:349:9: warning: unused type alias 'pair_type' [-Wunused-local-typedef] 349 | using pair_type = std::pair<int, arena_vec>; | ^ 141 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c stanExports_binomial_2par.cc -o stanExports_binomial_2par.o In file included from stanExports_binomial_2par.cc:3: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from stanExports_binomial_2par.cc:3: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:540: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/LU:47: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Householder:27: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:48: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SVD:48: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Geometry:58: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:66: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:27: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/OrderingMethods:71: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCholesky:43: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:33: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:32: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseQR:34: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:33: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/IterativeLinearSolvers:46: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21: /data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:48:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 48 | Rprintf("%.*s", n, s); | ~~^~ ~ /data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:71:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 71 | REprintf("%.*s", n, s); | ~~^~ ~ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:32: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:36: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/Polynomials:135: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:44: /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 239 | int count = 0; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:51: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:12: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err.hpp:8: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/check_cholesky_factor_corr.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/check_unit_vector.hpp:9: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/abs.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/hypot.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:9: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/check_matching_dims.hpp:33:8: warning: unused variable 'error' [-Wunused-variable] 33 | bool error = false; | ^~~~~ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const ArrayWrapper<Diagonal<const Matrix<double, -1, -1, 0, -1, -1>, 0>>, const CwiseNullaryOp<scalar_constant_op<double>, Array<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:47:38: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>' requested here 47 | || (cholesky.vectorD().array() <= 0.0).any()) { | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const ArrayWrapper<Diagonal<const Matrix<double, -1, -1, 0, -1, -1>, 0>>, const CwiseNullaryOp<scalar_constant_op<double>, Array<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/check_pos_semidefinite.hpp:46:38: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>' requested here 46 | || (cholesky.vectorD().array() < 0.0).any()) { | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:12: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err.hpp:50: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/hmm_check.hpp:33:7: warning: unused variable 'n_transitions' [-Wunused-variable] 33 | int n_transitions = log_omegas.cols() - 1; | ^~~~~~~~~~~~~ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:118: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/gp_matern52_cov.hpp:275:10: warning: unused variable 'neg_root_5' [-Wunused-variable] 275 | double neg_root_5 = -root_5; | ^~~~~~~~~~ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_difference_op<int, double> (const int &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_difference_op<int, double> (const int &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_difference_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Array<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:37: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>' requested here 58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2)); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_difference_op<int, double> (const int &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_quotient_op<double, int> (const double &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_quotient_op<double, int> (const double &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_quotient_op<double, int>, const CwiseBinaryOp<scalar_difference_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Array<double, -1, 1, 0, -1, 1>>>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:75: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>' requested here 58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2)); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_quotient_op<double, int> (const double &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:183: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log_mix.hpp:86:13: warning: unused variable 'N' [-Wunused-variable] 86 | const int N = stan::math::size(theta); | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_product_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_product_op<double> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>, const Eigen::Matrix<double, -1, -1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_product_op<double, double>, const CwiseNullaryOp<scalar_constant_op<double>, const Matrix<double, -1, -1, 0, -1, -1>>, const Matrix<double, -1, -1, 0, -1, -1>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:71:19: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1>>, const Eigen::Matrix<double, -1, -1>>' requested here 71 | B = t * A * B / (s * j); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_product_op<double> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_difference_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_difference_op<double> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_difference_op<double, double>, const Matrix<double, -1, 1, 0, -1, 1>, const Matrix<double, -1, 1, 0, -1, 1>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:26:29: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>>' requested here 26 | Eigen::VectorXd delta(q - m_); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_difference_op<double> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_quotient_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_quotient_op<double> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_quotient_op<double, double>, const Matrix<double, -1, 1, 0, -1, 1>, const CwiseNullaryOp<scalar_constant_op<double>, const Matrix<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:27:17: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1>>>' requested here 27 | m_ += delta / num_samples_; | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_quotient_op<double> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:34: /data/gannet/ripley/R/test-clang/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token] 166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21: /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token] 125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:131: /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token] 49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:39: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/linear_algebra.hpp:20: /data/gannet/ripley/R/test-clang/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token] 75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:40: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/unscale.hpp:28: /data/gannet/ripley/R/test-clang/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token] 139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20: /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token] 120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:21: /data/gannet/ripley/R/test-clang/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token] 99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23: /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token] 495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP' 197 | <boost/typeof/incr_registration_group.hpp> | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_exp_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_exp_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_exp_op<double>, const CwiseBinaryOp<scalar_difference_op<double, double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:90:49: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>' requested here 90 | return max + std::log((v_ref.array() - max).exp().sum()); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:103:12: note: in instantiation of function template specialization 'stan::math::log_sum_exp(const Eigen::Matrix<double, -1, 1> &)::(anonymous class)::operator()<Eigen::Matrix<double, -1, 1>>' requested here 103 | return f(x); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:81:33: note: in instantiation of function template specialization 'stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>>::reduce<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:81:43)>' requested here 81 | return apply_vector_unary<T>::reduce(x, [&](const auto& v) { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/dirichlet_rng.hpp:59:24: note: in instantiation of function template specialization 'stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>, nullptr>' requested here 59 | double log_sum_y = log_sum_exp(log_y); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_exp_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:87: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/double_exponential_cdf.hpp:82:10: warning: unused variable 'N' [-Wunused-variable] 82 | size_t N = max_size(y, mu, sigma); | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_sqrt_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_sqrt_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_sqrt_op<double>, const ArrayWrapper<Diagonal<const Matrix<double, -1, -1, 0, -1, -1>, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:38:53: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>>' requested here 38 | Eigen::VectorXd stddev = S_ldlt.vectorD().array().sqrt().matrix(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sqrt_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_sum_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_sum_op<double> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1>>>, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>>, 2>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_sum_op<double, double>, const Matrix<double, -1, 1, 0, -1, 1>, const Product<Transpose<TranspositionsBase<Transpositions<-1, -1, int>>>, Product<TriangularView<const Matrix<double, -1, -1, 0, -1, -1>, 5>, Matrix<double, -1, 1, 0, -1, 1>, 0>, 2>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1>>>, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>>, 2>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:46:12: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1>>>, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>>, 2>>' requested here 46 | = mu + (S_ldlt.transpositionsP().transpose() * (S_ldlt.matrixL() * z)); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sum_op<double> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:128: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:7: warning: unused variable 'n' [-Wunused-variable] 98 | int n = G.rows(); // number of states | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:139: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/hmm_marginal.hpp:26:13: warning: unused variable 'n_states' [-Wunused-variable] 26 | const int n_states = omegas.rows(); | ^~~~~~~~ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_inverse_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_inverse_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_inverse_op<double>, const ArrayWrapper<Diagonal<const Matrix<double, -1, -1, 0, -1, -1>, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:89:38: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>>' requested here 89 | = Sigma_ldlt.vectorD().array().inverse().sqrt().matrix(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_inverse_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_sum_op<int> (const int &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_sum_op<int> (const int &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_sum_op<int, int>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const Map<const Array<int, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/multinomial_logit_lpmf.hpp:39:47: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>' requested here 39 | lp += lgamma(1 + ns_map.sum()) - lgamma(1 + ns_map).sum(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sum_op<int> (const int &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const int &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_sum_op<int, int>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const Map<const Array<int, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:120:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>>' requested here 120 | return apply_scalar_unary<lgamma_fun, T>::apply(x); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/multinomial_logit_lpmf.hpp:39:38: note: in instantiation of function template specialization 'stan::math::lgamma<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Map<const Eigen::Array<int, -1, 1>>>, nullptr>' requested here 39 | lp += lgamma(1 + ns_map.sum()) - lgamma(1 + ns_map).sum(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_opposite_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_opposite_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Array<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_opposite_op<double>, const Array<double, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::Array<double, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:130:29: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Array<double, -1, 1>>' requested here 130 | = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_opposite_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_abs_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_abs_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_abs_op<double>, const Array<double, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:130:48: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>>' requested here 130 | = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_abs_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_log1p_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_log1p_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log1p_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_log1p_op<double>, const CwiseUnaryOp<scalar_exp_op<double>, const CwiseUnaryOp<scalar_opposite_op<double>, const CwiseUnaryOp<scalar_abs_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log1p_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:130:61: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_log1p_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 130 | = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_log1p_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ> (const int &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ> (const int &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Map<const Eigen::Matrix<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Map<const Matrix<int, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>, const CwiseNullaryOp<scalar_constant_op<int>, Matrix<int, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Map<const Eigen::Matrix<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:138:18: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Map<const Eigen::Matrix<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Matrix<int, -1, 1>>>' requested here 138 | logp = y_vec.cwiseEqual(1) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ> (const int &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_difference_op<double, double>, const Array<double, -1, 1, 0, -1, 1>, const Array<double, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::log1m_exp_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log1m_exp.hpp:83:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::log1m_exp_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>>>' requested here 83 | return apply_scalar_unary<log1m_exp_fun, T>::apply(x); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:142:50: note: in instantiation of function template specialization 'stan::math::log1m_exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>>, nullptr>' requested here 142 | m_log_1p_exp_m_cut2 + log1m_exp(cut1 - cut2).array() | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_sum_op<int, double> (const int &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_sum_op<int, double> (const int &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Array<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_sum_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const Array<double, -1, 1, 0, -1, 1>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Array<double, -1, 1>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:164:45: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Array<double, -1, 1>>' requested here 164 | = (cut2 > 0).select(exp_m_cut2 / (1 + exp_m_cut2), 1 / (1 + exp(cut2))) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sum_op<int, double> (const int &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_difference_op<double, int> (const double &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_difference_op<double, int> (const double &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_difference_op<double, int>, const Array<double, -1, 1, 0, -1, 1>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:165:44: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>' requested here 165 | - exp_cuts_diff / (exp_cuts_diff - 1); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_difference_op<double, int> (const double &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_quotient_op<int, double> (const int &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_quotient_op<int, double> (const int &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Array<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_quotient_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const CwiseBinaryOp<scalar_difference_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const Array<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_glm_lpmf.hpp:167:13: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::Array<double, -1, 1>>>' requested here 167 | = 1 / (1 - exp_cuts_diff) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_quotient_op<int, double> (const int &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:315: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/std_normal_rng.hpp:23:22: warning: unused variable 'function' [-Wunused-variable] 23 | static const char* function = "std_normal_rng"; | ^~~~~~~~ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:335: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/von_mises_cdf.hpp:72:10: warning: unused variable 'ck' [-Wunused-variable] 72 | double ck = 50; | ^~ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::adj_Op (stan::math::vari_value<double> *const &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::adj_Op (stan::math::vari_value<double> *const &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<adj_Op, Map<Matrix<vari_value<double, void> *, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/divide.hpp:40:31: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>' requested here 40 | -= invc_ * (adjResult.adj().array() * adjResult.val().array()).sum(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::adj_Op (stan::math::vari_value<double> *const &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::val_Op (stan::math::vari_value<double> *const &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::val_Op (stan::math::vari_value<double> *const &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<val_Op, Map<Matrix<vari_value<double, void> *, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/divide.hpp:40:57: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>' requested here 40 | -= invc_ * (adjResult.adj().array() * adjResult.val().array()).sum(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, -1>>>::val_Op (stan::math::vari_value<double> *const &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::val_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::val_Op (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<val_Op, const Matrix<var_value<double, void>, -1, -1, 0, -1, -1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:45:12: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>' requested here 45 | Ad = A.val(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::val_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::vi_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::vi_Op (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::vi_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<vi_Op, const Matrix<var_value<double, void>, -1, -1, 0, -1, -1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::vi_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:50:45: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::vi_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>' requested here 50 | Map<matrix_vi>(vari_ref_A_, M_, M_) = A.vi(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>::vi_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24), const Eigen::Map<Eigen::Matrix<double, -1, -1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24), const Map<Matrix<double, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24), const Eigen::Map<Eigen::Matrix<double, -1, -1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24), const Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here 52 | = wd.unaryExpr([](double x) { return new vari(x, false); }); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:52:24) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Matrix<var_value<double, void>, -1, -1, 0, -1, -1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Eigen::Matrix<stan::math::var_value<double>, -1, -1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>' requested here 110 | return m.unaryExpr([](auto x) { return value_of_rec(x); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: in instantiation of function template specialization 'stan::math::value_of_rec(const Eigen::Matrix<stan::math::var_value<double>, -1, -1> &)::(anonymous class)::operator()<const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>' requested here 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:365:6: note: while substituting prior template arguments into non-type template parameter [with F = (lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:109:7), Args = <const Eigen::Matrix<stan::math::var_value<double>, -1, -1> &>] 365 | auto make_holder(const F& func, Args&&... args) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 366 | return internal::make_holder_impl(func, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 367 | std::make_index_sequence<sizeof...(Args)>(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 368 | std::forward<Args>(args)...); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 369 | } | ~ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:108:10: note: while substituting deduced template arguments into function template 'make_holder' [with F = (lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:109:7), Args = <const Eigen::Matrix<stan::math::var_value<double>, -1, -1> &>, $2 = (no value)] 108 | return make_holder( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:83:19: note: in instantiation of function template specialization 'stan::math::value_of_rec<const Eigen::Matrix<stan::math::var_value<double>, -1, -1> &, void, void>' requested here 83 | matrix_d m_eval(value_of_rec(m)); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::vi_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::vi_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::vi_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<vi_Op, Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::vi_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:88:7: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::vi_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 88 | res.vi() | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::vi_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24), const Eigen::Map<Eigen::Matrix<double, -1, -1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24), const Map<Matrix<double, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24), const Eigen::Map<Eigen::Matrix<double, -1, -1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24), const Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here 52 | = vd.unaryExpr([](double x) { return new vari(x, false); }); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvectors_sym.hpp:52:24) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::adj_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::adj_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<adj_Op, Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/grad.hpp:27:9: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 27 | g = x.adj(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::adj_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_log_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_log_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_log_op<double>, const ArrayWrapper<const Diagonal<const Matrix<double, -1, -1, 0, -1, -1>, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log.hpp:66:47: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>>' requested here 66 | x, [](const auto& v) { return v.array().log(); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:24: note: in instantiation of function template specialization 'stan::math::log(const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>> &)::(anonymous class)::operator()<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>' requested here 48 | f(x)); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log.hpp:65:41: note: in instantiation of function template specialization 'stan::math::apply_vector_unary<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>>::apply<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/log.hpp:66:10), Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>, nullptr>' requested here 65 | return apply_vector_unary<Container>::apply( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/log_determinant_spd.hpp:49:20: note: in instantiation of function template specialization 'stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>>, nullptr>' requested here 49 | double val = sum(log(ldlt.vectorD())); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_log_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::val_Op (stan::math::vari_value<double> *const &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::val_Op (stan::math::vari_value<double> *const &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<val_Op, Map<Matrix<vari_value<double, void> *, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:79:38: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>' requested here 79 | vector_d di = 2 * adj_ * (v1_map.val() - v2_map.val()); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::val_Op (stan::math::vari_value<double> *const &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::adj_Op (stan::math::vari_value<double> *const &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::adj_Op (stan::math::vari_value<double> *const &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<adj_Op, Map<Matrix<vari_value<double, void> *, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:80:12: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>' requested here 80 | v1_map.adj() += di; | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double> *, -1, 1>>>::adj_Op (stan::math::vari_value<double> *const &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::vi_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::vi_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::vi_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<vi_Op, Map<const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::vi_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/variance.hpp:22:49: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::vi_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 22 | Eigen::Map<vector_vi>(varis, size) = dtrs_map.vi(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::vi_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<val_Op, Map<const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/variance.hpp:23:33: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 23 | vector_d dtrs_vals = dtrs_map.val(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_product_op<int, double> (const int &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_product_op<int, double> (const int &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_product_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const ArrayWrapper<Matrix<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/variance.hpp:27:44: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1>>>' requested here 27 | Eigen::Map<vector_d>(partials, size) = 2 * diff.array() / size_m1; | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_product_op<int, double> (const int &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::val_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::val_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<val_Op, Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/functor/jacobian.hpp:26:15: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 26 | fx = fx_var.val(); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>::val_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 58 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: in instantiation of function template specialization 'stan::math::value_of(const Eigen::Matrix<stan::math::var_value<double>, -1, 1> &)::(anonymous class)::operator()<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:365:6: note: while substituting prior template arguments into non-type template parameter [with F = (lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:57:7), Args = <const Eigen::Matrix<stan::math::var_value<double>, -1, 1> &>] 365 | auto make_holder(const F& func, Args&&... args) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 366 | return internal::make_holder_impl(func, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 367 | std::make_index_sequence<sizeof...(Args)>(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 368 | std::forward<Args>(args)...); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 369 | } | ~ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:56:10: note: while substituting deduced template arguments into function template 'make_holder' [with F = (lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:57:7), Args = <const Eigen::Matrix<stan::math::var_value<double>, -1, 1> &>, $2 = (no value)] 56 | return make_holder( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/functor/algebra_solver_fp.hpp:96:29: note: in instantiation of function template specialization 'stan::math::value_of<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> &, nullptr, nullptr>' requested here 96 | y_dummy(stan::math::value_of(y)), | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_square_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_square_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_square_op<double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:182:56: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>>' requested here 182 | return normal_fullrank(Eigen::VectorXd(mu_.array().square()), | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_square_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1252 | int ret = stan::services::error_codes::CONFIG; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:25: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_header.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/indexing.hpp:9: /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:610:13: warning: unused variable 'cols' [-Wunused-variable] 610 | const int cols = rvalue_index_size(idxs.tail_.head_, x_ref.cols()); | ^~~~ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:25: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_header.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/indexing.hpp:10: /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:241:22: warning: unused variable 'x_cols' [-Wunused-variable] 241 | const Eigen::Index x_cols = x.cols(); | ^~~~~~ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<double, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<double, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<double, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::Matrix<double, -1, 1>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_logit.hpp:88:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::Matrix<double, -1, 1>>' requested here 88 | return apply_scalar_unary<inv_logit_fun, T>::apply(x); | ^ ./stanExports_binomial_2par.h:3088:45: note: in instantiation of function template specialization 'stan::math::inv_logit<Eigen::Matrix<double, -1, 1>, nullptr, nullptr>' requested here 3088 | assign(theta_ipd, nil_index_list(), inv_logit(eta_ipd), | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<double, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<double, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<double, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::Matrix<double, -1, 1>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Phi.hpp:69:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::Matrix<double, -1, 1>>' requested here 69 | return apply_scalar_unary<Phi_fun, T>::apply(x); | ^ ./stanExports_binomial_2par.h:3094:47: note: in instantiation of function template specialization 'stan::math::Phi<Eigen::Matrix<double, -1, 1>, nullptr>' requested here 3094 | assign(theta_ipd, nil_index_list(), Phi(eta_ipd), | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const MatrixWrapper<const CwiseBinaryOp<scalar_sum_op<double, double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_logit.hpp:88:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 88 | return apply_scalar_unary<inv_logit_fun, T>::apply(x); | ^ ./stanExports_binomial_2par.h:3138:21: note: in instantiation of function template specialization 'stan::math::inv_logit<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, nullptr, nullptr>' requested here 3138 | inv_logit( | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const MatrixWrapper<const CwiseBinaryOp<scalar_sum_op<double, double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Phi.hpp:69:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 69 | return apply_scalar_unary<Phi_fun, T>::apply(x); | ^ ./stanExports_binomial_2par.h:3171:23: note: in instantiation of function template specialization 'stan::math::Phi<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, nullptr>' requested here 3171 | Phi( | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_sum_op<double, double>, const Product<Matrix<double, -1, -1, 0, -1, -1>, Matrix<double, -1, 1, 0, -1, 1>, 0>, const Matrix<double, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_logit.hpp:88:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>' requested here 88 | return apply_scalar_unary<inv_logit_fun, T>::apply(x); | ^ ./stanExports_binomial_2par.h:3237:37: note: in instantiation of function template specialization 'stan::math::inv_logit<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>, nullptr, nullptr>' requested here 3237 | stan::math::eval(inv_logit( | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Product<Matrix<double, -1, -1, 0, -1, -1>, Matrix<double, -1, 1, 0, -1, 1>, 0>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_logit.hpp:88:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::inv_logit_fun, Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>' requested here 88 | return apply_scalar_unary<inv_logit_fun, T>::apply(x); | ^ ./stanExports_binomial_2par.h:3240:37: note: in instantiation of function template specialization 'stan::math::inv_logit<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, nullptr, nullptr>' requested here 3240 | stan::math::eval(inv_logit( | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_sum_op<double, double>, const Product<Matrix<double, -1, -1, 0, -1, -1>, Matrix<double, -1, 1, 0, -1, 1>, 0>, const Matrix<double, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Phi.hpp:69:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>>' requested here 69 | return apply_scalar_unary<Phi_fun, T>::apply(x); | ^ ./stanExports_binomial_2par.h:3249:39: note: in instantiation of function template specialization 'stan::math::Phi<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, const Eigen::Matrix<double, -1, 1>>, nullptr>' requested here 3249 | stan::math::eval(Phi( | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Product<Matrix<double, -1, -1, 0, -1, -1>, Matrix<double, -1, 1, 0, -1, 1>, 0>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Phi.hpp:69:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::Phi_fun, Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>>' requested here 69 | return apply_scalar_unary<Phi_fun, T>::apply(x); | ^ ./stanExports_binomial_2par.h:3252:39: note: in instantiation of function template specialization 'stan::math::Phi<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>, nullptr>' requested here 3252 | stan::math::eval(Phi(multiply(X_agd_arm, beta_tilde)))), | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:29: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_divide_equal.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_division.hpp:14: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_multiplication.hpp:7: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:88:43: warning: lambda capture 'b' is not used [-Wunused-lambda-capture] 88 | [avi = a.vi_, b](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:88:29: note: while substituting into a lambda expression here 88 | [avi = a.vi_, b](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_minus_equal.hpp:24:16: note: in instantiation of function template specialization 'stan::math::operator-<double, nullptr>' requested here 24 | vi_ = (*this - b).vi_; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core/complex_base.hpp:136:9: note: in instantiation of member function 'stan::math::var_value<double>::operator-=' requested here 136 | re_ -= x; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core/operator_subtraction.hpp:24:5: note: in instantiation of function template specialization 'stan::math::complex_base<stan::math::var_value<double>>::operator-=<int>' requested here 24 | y -= rhs; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core/operator_subtraction.hpp:55:20: note: in instantiation of function template specialization 'stan::math::internal::complex_subtract<std::complex<stan::math::var>, int>' requested here 55 | return internal::complex_subtract(x, y); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/acosh.hpp:105:31: note: in instantiation of function template specialization 'stan::math::operator-<stan::math::var_value<double>, int>' requested here 105 | auto y = log(z + sqrt(z * z - 1)); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/acosh.hpp:94:32: note: in instantiation of function template specialization 'stan::math::internal::complex_acosh<stan::math::var_value<double>>' requested here 94 | return stan::math::internal::complex_acosh(z); | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_abs2_op<double> (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_abs2_op<double> (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_abs2_op<double>, const Block<const Block<Block<Matrix<double, -1, -1, 0, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs2_op<double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/Dot.h:98:31: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>, -1, 1>>' requested here 98 | return numext::real((*this).cwiseAbs2().sum()); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Householder/Householder.h:76:60: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 76 | RealScalar tailSqNorm = size()==1 ? RealScalar(0) : tail.squaredNorm(); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:445:5: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>' requested here 445 | tridiagonalization_inplace(mat,hCoeffs); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:430:52: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace_selector<Eigen::Matrix<double, -1, -1>>::run<Eigen::Matrix<double, -1, 1>, Eigen::Matrix<double, -1, 1>>' requested here 430 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, extractQ); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:437:13: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<double, -1, 1>>' requested here 437 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, computeEigenvectors); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:168:7: note: in instantiation of function template specialization 'Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>::compute<Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here 168 | compute(matrix.derived(), options); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:46:45: note: in instantiation of function template specialization 'Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>::SelfAdjointEigenSolver<Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here 46 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(Ad); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_abs2_op<double> (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_conj_product_op<double> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_conj_product_op<double> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_conj_product_op<double, double>, const Block<Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false>, const Block<Block<Matrix<double, -1, -1, 0, -1, -1>, -1, 1, true>, -1, 1, false>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_conj_product_op<double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/Dot.h:37:23: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>' requested here 37 | return a.template binaryExpr<conj_prod>(b).sum(); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/Dot.h:84:55: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:445:5: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>>' requested here 445 | tridiagonalization_inplace(mat,hCoeffs); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:430:52: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace_selector<Eigen::Matrix<double, -1, -1>>::run<Eigen::Matrix<double, -1, 1>, Eigen::Matrix<double, -1, 1>>' requested here 430 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, extractQ); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:437:13: note: in instantiation of function template specialization 'Eigen::internal::tridiagonalization_inplace<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<double, -1, 1>>' requested here 437 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, computeEigenvectors); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:168:7: note: in instantiation of function template specialization 'Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>::compute<Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here 168 | compute(matrix.derived(), options); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/eigenvalues_sym.hpp:46:45: note: in instantiation of function template specialization 'Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1>>::SelfAdjointEigenSolver<Eigen::Map<Eigen::Matrix<double, -1, -1>>>' requested here 46 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(Ad); | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_conj_product_op<double> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:28: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:84:43: warning: lambda capture 'b' is not used [-Wunused-lambda-capture] 84 | [avi = a.vi_, b](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:84:29: note: while substituting into a lambda expression here 84 | [avi = a.vi_, b](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:45:43: note: in instantiation of function template specialization 'stan::math::operator+<int, nullptr>' requested here 45 | grad_2F1(dF1, dF2, a + b, var(1.0), a + 1, z); | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_sum_op<double, double>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>, const CwiseBinaryOp<scalar_quotient_op<double, int>, const CwiseBinaryOp<scalar_difference_op<int, double>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Array<double, -1, 1, 0, -1, 1>>>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: in instantiation of member function 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>>::apply' requested here 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:120:10: note: in instantiation of template class 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>>' requested here 120 | return apply_scalar_unary<lgamma_fun, T>::apply(x); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:23: note: in instantiation of function template specialization 'stan::math::lgamma<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double, __attribute__((__vector_size__(2 * sizeof(double)))) double>, Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>, nullptr>' requested here 58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2)); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/lmgamma.hpp:16:20: note: in instantiation of function template specialization 'stan::math::lmgamma<double, nullptr>' requested here 16 | : op_dv_vari(lmgamma(a, bvi->val_), a, bvi) {} | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:28: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:84:43: warning: lambda capture 'b' is not used [-Wunused-lambda-capture] 84 | [avi = a.vi_, b](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:84:29: note: while substituting into a lambda expression here 84 | [avi = a.vi_, b](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/trigamma.hpp:63:31: note: in instantiation of function template specialization 'stan::math::operator+<double, nullptr>' requested here 63 | value = -trigamma_impl(-x + 1.0) + square(pi() / sin(-pi() * x)); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/trigamma.hpp:23:44: note: in instantiation of function template specialization 'stan::math::trigamma_impl<stan::math::var_value<double>>' requested here 23 | inline var trigamma(const var& u) { return trigamma_impl(u); } | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ> (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ> (const double &, const double &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const ArrayWrapper<Block<Block<Matrix<double, -1, -1, 0, -1, -1>, -1, 1, true>, -1, 1, false>>, const CwiseNullaryOp<scalar_constant_op<double>, Array<double, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:373:58: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>' requested here 373 | ret = ret && (mat.col(j).tail(size-j-1).array()==Scalar(0)).all(); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:520:42: note: in instantiation of function template specialization 'Eigen::internal::ldlt_inplace<1>::unblocked<Eigen::Matrix<double, -1, -1>, Eigen::Transpositions<-1, -1>, Eigen::Matrix<double, -1, 1>>' requested here 520 | m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:112:7: note: in instantiation of function template specialization 'Eigen::LDLT<Eigen::Matrix<double, -1, -1>>::compute<Eigen::Matrix<double, -1, -1>>' requested here 112 | compute(matrix.derived()); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:668:10: note: in instantiation of function template specialization 'Eigen::LDLT<Eigen::Matrix<double, -1, -1>>::LDLT<Eigen::Matrix<double, -1, -1>>' requested here 668 | return LDLT<PlainObject>(derived()); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:63: note: in instantiation of member function 'Eigen::MatrixBase<Eigen::Matrix<double, -1, -1>>::ldlt' requested here 45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt(); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_pos_definite<Eigen::Matrix<double, -1, -1>, nullptr>' requested here 21 | stan::math::check_pos_definite("check_pos_definite", "inv_metric", | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ> (const double &, const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseUnaryOp<scalar_square_op<double>, const CwiseBinaryOp<scalar_product_op<double, double>, const CwiseBinaryOp<scalar_difference_op<double, double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_2par_namespace::model_binomial_2par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_quotient_op<double, double>, const CwiseUnaryOp<scalar_square_op<double>, const CwiseBinaryOp<scalar_quotient_op<double, double>, const CwiseBinaryOp<scalar_difference_op<double, double>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_2par_namespace::model_binomial_2par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_cast_op<bool, int> (const bool &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_cast_op<bool, int> (const bool &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<bool, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_cast_op<bool, int>, const CwiseBinaryOp<scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const ArrayWrapper<const Matrix<double, -1, 1, 0, -1, 1>>, const CwiseNullaryOp<scalar_constant_op<double>, Array<double, -1, 1, 0, -1, 1>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<bool, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:510:20: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<bool, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1>>>>' requested here 510 | typedef typename _CastType::Scalar NewScalarType; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:48:69: note: (skipping 8 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; }; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_2par_namespace::model_binomial_2par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_cast_op<bool, int> (const bool &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseBinaryOp<scalar_quotient_op<double, double>, const CwiseUnaryOp<scalar_square_op<double>, const CwiseBinaryOp<scalar_quotient_op<double, double>, const CwiseBinaryOp<scalar_difference_op<double, double>, const Array<double, -1, 1, 0, -1, 1>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_2par_namespace::model_binomial_2par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28) (const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28) (const int &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Eigen::Map<const Eigen::Matrix<int, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Map<const Matrix<int, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Eigen::Map<const Eigen::Matrix<int, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28), const Eigen::Map<const Eigen::Matrix<int, -1, 1>>>' requested here 110 | return m.unaryExpr([](auto x) { return value_of_rec(x); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_2par_namespace::model_binomial_2par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:28) (const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Array<double, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Array<double, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Array<double, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Array<double, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_2par_namespace::model_binomial_2par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_sum_op<double, int> (const double &, const int &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_sum_op<double, int> (const double &, const int &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_sum_op<double, int>, const Array<double, -1, 1, 0, -1, 1>, const CwiseNullaryOp<scalar_constant_op<int>, const Array<int, -1, 1, 0, -1, 1>>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_lpmf.hpp:87:72: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1>>>' requested here 87 | .select(signs * exp_m_ntheta / (exp_m_ntheta + 1), | ^ ./stanExports_binomial_2par.h:2739:26: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 2739 | lp_accum__.add(bernoulli_logit_lpmf<propto__>(ipd_r, eta_ipd)); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:128:33: note: in instantiation of function template specialization 'model_binomial_2par_namespace::model_binomial_2par::log_prob<false, true, double>' requested here 128 | log_prob = model.template log_prob<false, Jacobian>(unconstrained, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_sum_op<double, int> (const double &, const int &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<val_Op, Map<Matrix<var_value<double, void>, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/multiply.hpp:145:53: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 145 | arena_t<return_t> res = arena_A.val() * arena_B.val().array(); | ^ ./stanExports_binomial_2par.h:2046:49: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 2046 | stan::math::eval(multiply(tau[(1 - 1)], | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::val_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::adj_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::adj_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<adj_Op, Map<Matrix<var_value<double, void>, -1, 1, 0, -1, 1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/multiply.hpp:150:36: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 150 | const auto res_adj = res.adj().coeffRef(i, j); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/multiply.hpp:146:27: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 146 | reverse_pass_callback([arena_A, arena_B, res]() mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::adj_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::val_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::val_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<val_Op, Map<Matrix<var_value<double, void>, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/multiply.hpp:145:53: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 145 | arena_t<return_t> res = arena_A.val() * arena_B.val().array(); | ^ ./stanExports_binomial_2par.h:2052:51: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 2052 | multiply(tau[(1 - 1)], | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::val_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::adj_Op (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::adj_Op (const stan::math::var_value<double> &)>' requested here 20 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>>' requested here 479 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base<CwiseUnaryView<adj_Op, Map<Matrix<var_value<double, void>, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 102 | : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>, Eigen::Dense>' requested here 58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/multiply.hpp:150:36: note: in instantiation of template class 'Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 150 | const auto res_adj = res.adj().coeffRef(i, j); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/multiply.hpp:146:27: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 146 | reverse_pass_callback([arena_A, arena_B, res]() mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>::adj_Op (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Matrix<var_value<double, void>, -1, -1, 0, -1, -1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Matrix<stan::math::var_value<double>, -1, -1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Matrix<stan::math::var_value<double>, -1, -1>>' requested here 58 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: (skipping 7 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Map<Matrix<var_value<double, void>, -1, -1, 0, -1, -1>, 0, Stride<0, 0>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1>>>' requested here 58 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: (skipping 7 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 58 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: (skipping 7 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_opposite_op<stan::math::var_value<double>> (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_opposite_op<stan::math::var_value<double>> (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double>>, const Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<scalar_opposite_op<var_value<double, void>>, const CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<stan::math::var_value<double>>, const Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/minus.hpp:18:10: note: in instantiation of template class 'Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double>>, const Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 18 | return -x; | ^ ./stanExports_binomial_2par.h:572:34: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 572 | lp_accum__.add(minus(stan::math::log(y))); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_opposite_op<stan::math::var_value<double>> (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const ArrayWrapper<const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:18: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28), const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 58 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/holder.hpp:364:24: note: (skipping 8 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 364 | decltype(std::declval<F>()(std::declval<Args&>()...))>* = nullptr> | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/value_of.hpp:58:28) (const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:52: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/precomputed_gradients.hpp:83:59: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 83 | container_operands_(index_apply<N_containers>([&, this](auto... Is) { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/precomputed_gradients.hpp:83:55: note: while substituting into a lambda expression here 83 | container_operands_(index_apply<N_containers>([&, this](auto... Is) { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:167:16: note: in instantiation of function template specialization 'stan::math::precomputed_gradients_vari_template<>::precomputed_gradients_vari_template<>' requested here 167 | return new precomputed_gradients_vari_template< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:113:23: note: in instantiation of member function 'stan::math::operands_and_partials<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> &, const double &, const double &>::build' requested here 113 | return ops_partials.build(logp); | ^ ./stanExports_binomial_2par.h:543:24: note: in instantiation of function template specialization 'stan::math::normal_lpdf<false, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, double, double, nullptr>' requested here 543 | lp_accum__.add(normal_lpdf<propto__>(y, location, scale)); | ^ ./stanExports_binomial_2par.h:2676:9: note: in instantiation of function template specialization 'model_binomial_2par_namespace::prior_select_lp<false, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, double, double, double, stan::math::var_value<double>, stan::math::accumulator<stan::math::var_value<double>>>' requested here 2676 | prior_select_lp<false>(mu, prior_intercept_dist, | ^ ./stanExports_binomial_2par.h:4255:14: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 4255 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:52: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/precomputed_gradients.hpp:86:60: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 86 | container_gradients_(index_apply<N_containers>([&, this](auto... Is) { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/precomputed_gradients.hpp:86:56: note: while substituting into a lambda expression here 86 | container_gradients_(index_apply<N_containers>([&, this](auto... Is) { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:167:16: note: in instantiation of function template specialization 'stan::math::precomputed_gradients_vari_template<>::precomputed_gradients_vari_template<>' requested here 167 | return new precomputed_gradients_vari_template< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:113:23: note: in instantiation of member function 'stan::math::operands_and_partials<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> &, const double &, const double &>::build' requested here 113 | return ops_partials.build(logp); | ^ ./stanExports_binomial_2par.h:543:24: note: in instantiation of function template specialization 'stan::math::normal_lpdf<false, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, double, double, nullptr>' requested here 543 | lp_accum__.add(normal_lpdf<propto__>(y, location, scale)); | ^ ./stanExports_binomial_2par.h:2676:9: note: in instantiation of function template specialization 'model_binomial_2par_namespace::prior_select_lp<false, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, double, double, double, stan::math::var_value<double>, stan::math::accumulator<stan::math::var_value<double>>>' requested here 2676 | prior_select_lp<false>(mu, prior_intercept_dist, | ^ ./stanExports_binomial_2par.h:4255:14: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 4255 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' requested here 21 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const CwiseUnaryOp<scalar_square_op<double>, const CwiseBinaryOp<scalar_product_op<double, double>, const Array<double, -1, 1, 0, -1, 1>, const CwiseNullaryOp<scalar_constant_op<double>, const Array<double, -1, 1, 0, -1, 1>>>>>>' required here 95 | : public internal::generic_xpr_base<CwiseUnaryOp<UnaryOp, XprType> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>, Eigen::Dense>' requested here 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:70:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9), const Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1>>>>>' requested here 70 | return x.unaryExpr( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:87:33: note: (skipping 7 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 87 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>; | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<(lambda at /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:71:9) (const double &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:367: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>> (const double &, const stan::math::var_value<double> &)>' is deprecated [-Wdeprecated-declarations] 320 | typedef typename std::result_of<T>::type type1; | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>> (const double &, const stan::math::var_value<double> &)>' requested here 33 | typedef typename result_of< | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>' requested here 497 | template<typename Derived, typename XprKind = typename traits<Derived>::XprKind, typename StorageKind = typename traits<Derived>::StorageKind> | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base<CwiseBinaryOp<scalar_difference_op<double, var_value<double, void>>, const Matrix<double, -1, 1, 0, -1, 1>, const Matrix<var_value<double, void>, -1, 1, 0, -1, 1>>>' required here 149 | : public internal::generic_xpr_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>' requested here 78 | public CwiseBinaryOpImpl< | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/multi_normal_lpdf.hpp:98:64: note: in instantiation of template class 'Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>' requested here 98 | sum_lp_vec += trace_inv_quad_form_ldlt(ldlt_Sigma, y_col - mu_col); | ^ ./stanExports_binomial_2par.h:2733:13: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 2733 | multi_normal_lpdf<propto__>(agd_contrast_y, eta_agd_contrast_bar, | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ /usr/local/clang17/bin/../include/c++/v1/__type_traits/result_of.h:25:7: note: 'result_of<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>> (const double &, const stan::math::var_value<double> &)>' has been explicitly marked deprecated here 25 | class _LIBCPP_DEPRECATED_IN_CXX17 result_of; | ^ /usr/local/clang17/bin/../include/c++/v1/__config:983:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' 983 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED | ^ /usr/local/clang17/bin/../include/c++/v1/__config:956:49: note: expanded from macro '_LIBCPP_DEPRECATED' 956 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:29: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_divide_equal.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_division.hpp:14: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_multiplication.hpp:7: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:113:43: warning: lambda capture 'a' is not used [-Wunused-lambda-capture] 113 | [bvi = b.vi_, a](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:113:29: note: while substituting into a lambda expression here 113 | [bvi = b.vi_, a](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/functors/BinaryFunctors.h:332:128: note: in instantiation of function template specialization 'stan::math::operator-<double, nullptr>' requested here 332 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type operator() (const LhsScalar& a, const RhsScalar& b) const { return a - b; } | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:719:12: note: in instantiation of member function 'Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>>::operator()' requested here 719 | return m_functor(m_lhsImpl.coeff(index), m_rhsImpl.coeff(index)); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:637:56: note: in instantiation of member function 'Eigen::internal::binary_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>::coeff' requested here 637 | m_functor.assignCoeff(m_dst.coeffRef(index), m_src.coeff(index)); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:497:14: note: in instantiation of member function 'Eigen::internal::generic_dense_assignment_kernel<Eigen::internal::evaluator<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>, Eigen::internal::evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, stan::math::var_value<double>>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>>>, Eigen::internal::assign_op<stan::math::var_value<double>, stan::math::var_value<double>>>::assignCoeff' requested here 497 | kernel.assignCoeff(i); | ^ /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:741:34: note: (skipping 14 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 741 | dense_assignment_loop<Kernel>::run(kernel); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:29: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_divide_equal.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_division.hpp:14: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_multiplication.hpp:7: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:88:43: warning: lambda capture 'b' is not used [-Wunused-lambda-capture] 88 | [avi = a.vi_, b](const auto& vi) mutable { | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:88:29: note: while substituting into a lambda expression here 88 | [avi = a.vi_, b](const auto& vi) mutable { | ^ ./stanExports_binomial_2par.h:2750:33: note: in instantiation of function template specialization 'stan::math::operator-<int, nullptr>' requested here 2750 | ((nprime[(i - 1)] - agd_arm_r[(i - 1)]) * | ^ ./stanExports_binomial_2par.h:4255:14: note: in instantiation of function template specialization 'model_binomial_2par_namespace::model_binomial_2par::log_prob_impl<true, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here 4255 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream); | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_binomial_2par_namespace::model_binomial_2par::log_prob<true, true, stan::math::var_value<double>>' requested here 40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:166:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad<true, true, model_binomial_2par_namespace::model_binomial_2par>' requested here 166 | log_prob = stan::model::log_prob_grad<true, Jacobian>( | ^ /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 49 | std::vector<double> cont_vector = util::initialize( | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_binomial_2par_namespace::model_binomial_2par>' requested here 481 | return_code = stan::services::diagnose::diagnose(model, | ^ /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here 1215 | ret = command(args, model_, holder, names_oi_tidx_, | ^ stanExports_binomial_2par.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_binomial_2par_namespace::model_binomial_2par, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here 15 | .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler) | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:48: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:59: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:13: warning: 'static' function 'set_zero_all_adjoints' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] 14 | static void set_zero_all_adjoints() { | ^~~~~~~~~~~~~~~~~~~~~ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:110: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/generalized_inverse.hpp:34:9: warning: unused type alias 'value_t' [-Wunused-local-typedef] 34 | using value_t = value_type_t<EigMat>; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:319: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/tail.hpp:46:9: warning: unused type alias 'idx_t' [-Wunused-local-typedef] 46 | using idx_t = index_type_t<std::vector<T>>; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_lpmf.hpp:59:9: warning: unused type alias 'T_y_val' [-Wunused-local-typedef] 59 | using T_y_val = | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:31: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/beta_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:50:9: warning: unused type alias 'T_partials_matrix' [-Wunused-local-typedef] 50 | using T_partials_matrix = Eigen::Matrix<T_partials_return, Eigen::Dynamic, 1>; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:37: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/beta_proportion_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/beta_proportion_lpdf.hpp:55:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef] 55 | using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:63: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/cauchy_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/cauchy_lpdf.hpp:45:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef] 45 | using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:74: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/dirichlet_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/dirichlet_lpdf.hpp:60:9: warning: unused type alias 'T_partials_vec' [-Wunused-local-typedef] 60 | using T_partials_vec = typename Eigen::Matrix<T_partials_return, -1, 1>; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:91: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/double_exponential_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/double_exponential_lpdf.hpp:44:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef] 44 | using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:111: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/frechet_cdf.hpp:30:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef] 30 | using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:245: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/ordered_logistic_lpmf.hpp:76:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef] 76 | using T_partials_array = Eigen::Array<T_partials_return, -1, 1>; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:16: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob.hpp:277: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_log.hpp:5: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_lpmf.hpp:62:9: warning: unused type alias 'T_alpha_val' [-Wunused-local-typedef] 62 | using T_alpha_val = typename std::conditional_t< | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:49: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun.hpp:32: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:83:11: warning: unused type alias 'Block_' [-Wunused-local-typedef] 83 | using Block_ = Eigen::Block<Eigen::MatrixXd>; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:49: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun.hpp:34: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/cholesky_factor_constrain.hpp:32:9: warning: unused type alias 'T_scalar' [-Wunused-local-typedef] 32 | using T_scalar = value_type_t<T>; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:49: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev.hpp:10: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun.hpp:71: /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/fun/generalized_inverse.hpp:64:9: warning: unused type alias 'value_t' [-Wunused-local-typedef] 64 | using value_t = value_type_t<VarMat>; | ^ In file included from stanExports_binomial_2par.cc:5: In file included from ./stanExports_binomial_2par.h:25: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_header.hpp:15: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/indexing.hpp:8: /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/indexing/lvalue_varmat.hpp:349:9: warning: unused type alias 'pair_type' [-Wunused-local-typedef] 349 | using pair_type = std::pair<int, arena_vec>; | ^ 142 warnings generated. /usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c stanExports_normal.cc -o stanExports_normal.o In file included from stanExports_normal.cc:3: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from stanExports_normal.cc:3: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27: In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", In file included from stanExports_normal.cc:5: In file included from ./stanExports_normal.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:540: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_normal.cc:5: In file included from ./stanExports_normal.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/LU:47: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_normal.cc:5: In file included from ./stanExports_normal.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_normal.cc:5: In file included from ./stanExports_normal.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_normal.cc:5: In file included from ./stanExports_normal.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Householder:27: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_normal.cc:5: In file included from ./stanExports_normal.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:48: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 14 | #pragma clang diagnostic pop | ^ In file included from stanExports_normal.cc:5: In file included from ./stanExports_normal.h:23: In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3: In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SVD:48: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:33: