############################################################################## ############################################################################## ### ### Running command: ### ### rm -rf BASiCStan.buildbin-libdir && mkdir BASiCStan.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh BASiCStan_1.0.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R BASiCStan.buildbin-libdir ### ############################################################################## ############################################################################## >>>>>>> >>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=BASiCStan.buildbin-libdir BASiCStan_1.0.0.tar.gz' >>>>>>> * installing *source* package ‘BASiCStan’ ... ** using staged installation ** libs clang++ -mmacosx-version-min=10.13 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -D_HAS_AUTO_PTR_ETC=0 -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppParallel/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include' -I/usr/local/include -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:30: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Core:540: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:30: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:2: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/LU:47: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:30: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Cholesky:12: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Jacobi:29: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:30: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Cholesky:43: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:30: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/QR:15: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Householder:27: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:30: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/QR:48: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:30: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:5: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/SVD:48: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:30: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:6: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Geometry:58: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:30: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Eigenvalues:58: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:26: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/SparseCore:66: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:27: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/OrderingMethods:71: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:29: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/SparseCholesky:43: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:32: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/SparseQR:34: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:33: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/IterativeLinearSolvers:46: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:32: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/CholmodSupport:45: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:39: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/Polynomials:135: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:40: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/SparseExtra:51: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 18 warnings generated. clang++ -mmacosx-version-min=10.13 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -D_HAS_AUTO_PTR_ETC=0 -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppParallel/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include' -I/usr/local/include -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -Wall -g -O2 -c stanExports_basics_regression.cc -o stanExports_basics_regression.o In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Core:540: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:2: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/LU:47: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Cholesky:12: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Jacobi:29: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Cholesky:43: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/QR:15: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Householder:27: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/QR:48: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:5: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/SVD:48: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:6: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Geometry:58: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Eigenvalues:58: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:26: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/SparseCore:66: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:27: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/OrderingMethods:71: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:29: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/SparseCholesky:43: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:32: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/SparseQR:34: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:33: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/IterativeLinearSolvers:46: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:22: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:32: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/CholmodSupport:45: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:22: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:22: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:39: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/Polynomials:135: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:22: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:40: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/SparseExtra:51: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/err/check_pos_definite.hpp:38:38: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>>' requested here || (cholesky.vectorD().array() <= 0.0).any()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/err/check_pos_semidefinite.hpp:44:38: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>>' requested here || (cholesky.vectorD().array() < 0.0).any()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:70:19: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>' requested here B = t * A * B / (s * j); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Product, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>, Eigen::Matrix, 0>, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Product, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>, Eigen::Matrix, 0>, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Product, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>, Eigen::Matrix, 0>, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:70:27: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Product, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>, Eigen::Matrix, 0>, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here B = t * A * B / (s * j); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Matrix, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Matrix, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/welford_covar_estimator.hpp:26:29: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix>' requested here Eigen::VectorXd delta(q - m_); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper, 0>>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper, 0>>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, 0>>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/gaussian_dlm_obs_rng.hpp:44:53: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0>>>' requested here Eigen::VectorXd stddev = S_ldlt.vectorD().array().sqrt().matrix(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::Product>>, Eigen::Product, 5>, Eigen::Matrix, 0>, 2>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Matrix, const Eigen::Product>>, Eigen::Product, 5>, Eigen::Matrix, 0>, 2>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Product>>, Eigen::Product, 5>, Eigen::Matrix, 0>, 2>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/gaussian_dlm_obs_rng.hpp:52:12: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Product>>, Eigen::Product, 5>, Eigen::Matrix, 0>, 2>>' requested here = mu + (S_ldlt.transpositionsP().transpose() * (S_ldlt.matrixL() * z)); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:283: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/gaussian_dlm_obs_rng.hpp:138:7: warning: unused variable 'n' [-Wunused-variable] int n = G.rows(); // number of states ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper, 0>>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper, 0>>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, 0>>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/matrix_normal_prec_rng.hpp:98:38: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0>>>' requested here = Sigma_ldlt.vectorD().array().inverse().sqrt().matrix(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Array>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Array>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::Array, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/ordered_logistic_glm_lpmf.hpp:125:29: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::Array>' requested here = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Array>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Array>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::Array, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/ordered_logistic_glm_lpmf.hpp:125:48: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::Array>' requested here = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/ordered_logistic_glm_lpmf.hpp:125:55: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>' requested here = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/ordered_logistic_glm_lpmf.hpp:125:61: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>>' requested here = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const int &, const int &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const int &, const int &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Map, 0>, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Map, 0>, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Map, 0>, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/ordered_logistic_glm_lpmf.hpp:133:18: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Map, 0>, const Eigen::CwiseNullaryOp, Eigen::Matrix>>' requested here logp = y_vec.cwiseEqual(1) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const int &, const int &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0>>::val_Op (stan::math::vari *const &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0>>::val_Op (stan::math::vari *const &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>::val_Op, Eigen::Map, 0>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0>>::val_Op, Eigen::Map, 0>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0>>::val_Op, Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:44:16: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0>>::val_Op, Eigen::Map, 0>>' requested here return vd1.val().dot(vd2.val()); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0>>::val_Op (stan::math::vari *const &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0>>::adj_Op (stan::math::vari *const &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0>>::adj_Op (stan::math::vari *const &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>::adj_Op, Eigen::Map, 0>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0>>::adj_Op, Eigen::Map, 0>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0>>::adj_Op, Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:67:9: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0>>::adj_Op, Eigen::Map, 0>>' requested here vd1.adj() += adj_ * vd2.val(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0>>::adj_Op (stan::math::vari *const &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0>>::vi_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0>>::vi_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>::vi_Op, Eigen::Map, 0>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0>>::vi_Op, Eigen::Map, 0>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0>>::vi_Op, Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:84:54: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0>>::vi_Op, Eigen::Map, 0>>' requested here = Eigen::Map(inv, length_).vi(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0>>::vi_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0, Eigen::InnerStride<1>>>::vi_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0, Eigen::InnerStride<1>>>::vi_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0, Eigen::InnerStride<1>>>::vi_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0, Eigen::InnerStride<1>>>::vi_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0, Eigen::InnerStride<1>>>::vi_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:96:45: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0, Eigen::InnerStride<1>>>::vi_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>>' requested here = Eigen::Ref(inv).vi(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0, Eigen::InnerStride<1>>>::vi_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:17: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/columns_dot_self.hpp:8: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:38:41: warning: all paths through this function will call itself [-Winfinite-recursion] inline static double square(double x) { return square(x); } ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0, Eigen::InnerStride<1>>>::val_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0, Eigen::InnerStride<1>>>::val_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0, Eigen::InnerStride<1>>>::val_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0, Eigen::InnerStride<1>>>::val_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0, Eigen::InnerStride<1>>>::val_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:44:42: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0, Eigen::InnerStride<1>>>::val_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>>' requested here return Eigen::Ref(v).val().squaredNorm(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0, Eigen::InnerStride<1>>>::val_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0>>::adj_Op (stan::math::vari *const &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0>>::adj_Op (stan::math::vari *const &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>::adj_Op, Eigen::Map, 0>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0>>::adj_Op, Eigen::Map, 0>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0>>::adj_Op, Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/determinant.hpp:38:51: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0>>::adj_Op, Eigen::Map, 0>>' requested here Eigen::Map(adjARef_, rows_, cols_).adj() ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0>>::adj_Op (stan::math::vari *const &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of>::adj_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of>::adj_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits>::adj_Op, Eigen::Matrix>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base>::adj_Op, Eigen::Matrix>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl>::adj_Op, Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/grad.hpp:28:9: note: in instantiation of template class 'Eigen::CwiseUnaryView>::adj_Op, Eigen::Matrix>' requested here g = x.adj(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of>::adj_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of>::val_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of>::val_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>::val_Op, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>::val_Op, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl>::val_Op, const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:43:12: note: in instantiation of template class 'Eigen::CwiseUnaryOp>::val_Op, const Eigen::Matrix>' requested here Ad = A.val(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of>::val_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of>::vi_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of>::vi_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>::vi_Op, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>::vi_Op, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl>::vi_Op, const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:46:45: note: in instantiation of template class 'Eigen::CwiseUnaryOp>::vi_Op, const Eigen::Matrix>' requested here Map(vari_ref_A_, M_, M_) = A.vi(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of>::vi_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:48:29) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:48:29) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, 0>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:48:29), const Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:48:19: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:48:29), const Eigen::Map, 0>>' requested here = A_inv_d.unaryExpr([](double x) { return new vari(x, false); }); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:48:29) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of>::adj_Op (stan::math::vari *const &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of>::adj_Op (stan::math::vari *const &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits>::adj_Op, Eigen::Matrix>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base>::adj_Op, Eigen::Matrix>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl>::adj_Op, Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/log_determinant_ldlt.hpp:35:50: note: in instantiation of template class 'Eigen::CwiseUnaryView>::adj_Op, Eigen::Matrix>' requested here const_cast(alloc_ldlt_->variA_).adj() += adj_ * invA; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of>::adj_Op (stan::math::vari *const &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper, 0>>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper, 0>>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, 0>>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/log_determinant_spd.hpp:38:39: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0>>>' requested here double val = ldlt.vectorD().array().log().sum(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of>::vi_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of>::vi_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>::vi_Op, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>::vi_Op, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl>::vi_Op, const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/log_softmax.hpp:66:57: note: in instantiation of template class 'Eigen::CwiseUnaryOp>::vi_Op, const Eigen::Matrix>' requested here Eigen::Map(alpha_vi_array, a_size) = alpha.vi(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of>::vi_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of>::val_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of>::val_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>::val_Op, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>::val_Op, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl>::val_Op, const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/log_softmax.hpp:68:28: note: in instantiation of template class 'Eigen::CwiseUnaryOp>::val_Op, const Eigen::Matrix>' requested here vector_d alpha_d = alpha.val(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of>::val_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0>>::adj_Op (stan::math::vari *const &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0>>::adj_Op (stan::math::vari *const &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>::adj_Op, Eigen::Map, 0>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0>>::adj_Op, Eigen::Map, 0>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0>>::adj_Op, Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:549:42: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0>>::adj_Op, Eigen::Map, 0>>' requested here Map(variRefA_, size_).adj() ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0>>::adj_Op (stan::math::vari *const &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0>>::val_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0>>::val_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>::val_Op, Eigen::Map, 0>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0>>::val_Op, Eigen::Map, 0>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0>>::val_Op, Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/sd.hpp:33:32: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0>>::val_Op, Eigen::Map, 0>>' requested here vector_d dtrs_val = dtrs_map.val(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0>>::val_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0, Eigen::OuterStride<-1>>>::val_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0, Eigen::OuterStride<-1>>>::val_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0, Eigen::OuterStride<-1>>>::val_Op, Eigen::Ref, 0, Eigen::OuterStride<-1>>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0, Eigen::OuterStride<-1>>>::val_Op, Eigen::Ref, 0, Eigen::OuterStride<-1>>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0, Eigen::OuterStride<-1>>>::val_Op, Eigen::Ref, 0, Eigen::OuterStride<-1>>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/sum.hpp:21:42: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0, Eigen::OuterStride<-1>>>::val_Op, Eigen::Ref, 0, Eigen::OuterStride<-1>>>' requested here return Eigen::Ref(v).val().sum(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0, Eigen::OuterStride<-1>>>::val_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:70: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/functor/integrate_ode_adams.hpp:5: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/functor/cvodes_integrator.hpp:126:18: warning: unused variable 'coupled_size' [-Wunused-variable] const size_t coupled_size = cvodes_data.coupled_ode_.size(); ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:182:56: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper>>' requested here return normal_fullrank(Eigen::VectorXd(mu_.array().square()), ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1238:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = stan::services::error_codes::CONFIG; ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Block, 1, -1, false>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Block, 1, -1, false>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::Block, 1, -1, false>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/Dot.h:98:31: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::Block, 1, -1, false>>' requested here return numext::real((*this).cwiseAbs2().sum()); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Cholesky/LLT.h:321:25: note: in instantiation of member function 'Eigen::MatrixBase, 1, -1, false>>::squaredNorm' requested here if (k>0) x -= A10.squaredNorm(); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Cholesky/LLT.h:337:14: note: in instantiation of function template specialization 'Eigen::internal::llt_inplace::unblocked>' requested here return unblocked(m); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Cholesky/LLT.h:401:61: note: in instantiation of function template specialization 'Eigen::internal::llt_inplace::blocked>' requested here { return llt_inplace::blocked(m)==-1; } ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Cholesky/LLT.h:449:21: note: in instantiation of member function 'Eigen::internal::LLT_Traits, 1>::inplace_decomposition' requested here bool ok = Traits::inplace_decomposition(m_matrix); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/cholesky_decompose.hpp:76:7: note: in instantiation of function template specialization 'Eigen::LLT, 1>::compute>' requested here llt.compute(m); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Block, -1, 1, true>, -1, 1, false>, const Eigen::Block, -1, 1, true>, -1, 1, false>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Block, -1, 1, true>, -1, 1, false>, const Eigen::Block, -1, 1, true>, -1, 1, false>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Block, -1, 1, true>, -1, 1, false>, const Eigen::Block, -1, 1, true>, -1, 1, false>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/Dot.h:37:23: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Block, -1, 1, true>, -1, 1, false>, const Eigen::Block, -1, 1, true>, -1, 1, false>>' requested here return a.template binaryExpr(b).sum(); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:55: note: in instantiation of member function 'Eigen::internal::dot_nocheck, -1, 1, true>, -1, 1, false>, Eigen::Block, -1, 1, true>, -1, 1, false>, false>::run' requested here return internal::dot_nocheck::run(*this, other); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/multiply_lower_tri_self_transpose.hpp:35:49: note: in instantiation of function template specialization 'Eigen::MatrixBase, -1, 1, true>, -1, 1, false>>::dot, -1, 1, true>, -1, 1, false>>' requested here LLt(n, m) = LLt(m, n) = Lt.col(m).head(k).dot(Lt.col(n).head(k)); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Block, 0>, -1, -1, false>, -1, 1, true>, -1, 1, false>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Block, 0>, -1, -1, false>, -1, 1, true>, -1, 1, false>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::Block, 0>, -1, -1, false>, -1, 1, true>, -1, 1, false>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/LU/PartialPivLU.h:381:34: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::Block, 0>, -1, -1, false>, -1, 1, true>, -1, 1, false>>' requested here = lu.col(k).tail(rows-k).unaryExpr(Scoring()).maxCoeff(&row_of_biggest_in_col); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/LU/PartialPivLU.h:436:14: note: (skipping 9 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return unblocked_lu(lu, row_transpositions, nb_transpositions); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:804:3: note: in instantiation of function template specialization 'Eigen::internal::call_assignment_no_alias, 0>, Eigen::Inverse, 0>>, Eigen::internal::assign_op>' requested here call_assignment_no_alias(dst, src, func); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:782:3: note: in instantiation of function template specialization 'Eigen::internal::call_assignment, 0>, Eigen::Inverse, 0>>, Eigen::internal::assign_op>' requested here call_assignment(dst, src, internal::assign_op()); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/Assign.h:66:13: note: in instantiation of function template specialization 'Eigen::internal::call_assignment, 0>, Eigen::Inverse, 0>>>' requested here internal::call_assignment(derived(), other.derived()); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/Map.h:162:5: note: in instantiation of function template specialization 'Eigen::MatrixBase, 0>>::operator=, 0>>>' requested here EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Map) ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Macros.h:872:5: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS' EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Macros.h:841:108: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR' EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator=(const DenseBase& other) { Base::operator=(other.derived()); return *this; } ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:44:13: note: in instantiation of function template specialization 'Eigen::Map, 0>::operator=, 0>>>' requested here A_inv_d = Ad.inverse(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/BooleanRedux.h:144:30: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>>' requested here return !((derived().array()==derived().array()).all()); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/BooleanRedux.h:158:34: note: in instantiation of member function 'Eigen::DenseBase, const Eigen::Matrix, const Eigen::Matrix>>::hasNaN' requested here return !((derived()-derived()).hasNaN()); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/err/check_finite.hpp:30:22: note: in instantiation of member function 'Eigen::DenseBase>::allFinite' requested here if (!value_of(y).allFinite()) { ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/scal/err/check_finite.hpp:47:54: note: in instantiation of member function 'stan::math::internal::finite, true>::check' requested here internal::finite::value>::check(function, name, y); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/validate_diag_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_finite>' requested here stan::math::check_finite("check_finite", "inv_metric", inv_metric); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/exp.hpp:41:42: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:92:36: note: in instantiation of function template specialization 'stan::io::random_var_context::random_var_context, boost::random::linear_congruential_engine>>' requested here stan::io::random_var_context random_context(model, rng, init_radius, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/log.hpp:40:42: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:92:36: note: in instantiation of function template specialization 'stan::io::random_var_context::random_var_context, boost::random::linear_congruential_engine>>' requested here stan::io::random_var_context random_context(model, rng, init_radius, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, Eigen::internal::member_sum, 0>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, Eigen::internal::member_sum, 0>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::PartialReduxExpr, Eigen::internal::member_sum, 0>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::PartialReduxExpr, Eigen::internal::member_sum, 0>>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/lgamma.hpp:34:45: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:127:33: note: in instantiation of function template specialization 'model_basics_regression_namespace::model_basics_regression::log_prob' requested here log_prob = model.template log_prob(unconstrained, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/lgamma.hpp:34:45: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:127:33: note: in instantiation of function template specialization 'model_basics_regression_namespace::model_basics_regression::log_prob' requested here log_prob = model.template log_prob(unconstrained, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/digamma.hpp:34:46: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:127:33: note: in instantiation of function template specialization 'model_basics_regression_namespace::model_basics_regression::log_prob' requested here log_prob = model.template log_prob(unconstrained, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/sqrt.hpp:32:43: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:127:33: note: in instantiation of function template specialization 'model_basics_regression_namespace::model_basics_regression::log_prob' requested here log_prob = model.template log_prob(unconstrained, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:289:31) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:289:31) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, 0>, Eigen::Map, 0>, 0>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, 0>, Eigen::Map, 0>, 0>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:289:31), const Eigen::Product, 0>, Eigen::Map, 0>, 0>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:289:21: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:289:31), const Eigen::Product, 0>, Eigen::Map, 0>, 0>>' requested here = (Ad * Bd).unaryExpr([](double x) { return new vari(x, false); }); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:629:13: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) = new multiply_mat_vari(A, B); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:289:31) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const stan::math::var &, const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const stan::math::var &, const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:604:20: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here return to_var(m) * to_var(c); ^ ./stanExports_basics_regression.h:692:36: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) stan::math::assign(phi,multiply(tphi, n)); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const stan::math::var &, const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/exp.hpp:41:42: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const stan::math::var &, const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const stan::math::var &, const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/divide.hpp:23:20: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here return to_var(v) / to_var(c); ^ ./stanExports_basics_regression.h:103:41: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) stan::math::exp(divide(multiply(-(0.5), tmp), pow(h, 2))), ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const stan::math::var &, const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:103:31) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:103:31) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, 0>, Eigen::Map, 0>, 0>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, 0>, Eigen::Map, 0>, 0>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:103:31), const Eigen::Product, 0>, Eigen::Map, 0>, 0>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:103:21: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:103:31), const Eigen::Product, 0>, Eigen::Map, 0>, 0>>' requested here = (Ad * Bd).unaryExpr([](double x) { return new vari(x, false); }); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:629:13: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) = new multiply_mat_vari(A, B); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:103:31) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/log.hpp:40:42: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const stan::math::var &, const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const stan::math::var &, const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Matrix, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Matrix, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/subtract.hpp:28:13: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix>' requested here return m1 - m2; ^ ./stanExports_basics_regression.h:710:40: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) stan::math::assign(epsilon,subtract(stan::math::log(delta), fu)); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const stan::math::var &, const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/sqrt.hpp:32:43: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/elt_divide.hpp:63:12: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>>' requested here return s / m.array(); ^ ./stanExports_basics_regression.h:780:52: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) lp_accum__.add(gamma_log(nu, elt_divide(1.0, theta_vector), elt_divide(1.0, elt_multiply(s, theta_vector)))); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const stan::math::var &, const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const stan::math::var &, const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/add.hpp:58:12: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>>' requested here return c + m.array(); ^ ./stanExports_basics_regression.h:784:237: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) lp_accum__.add(neg_binomial_2_log_log(stan::model::rvalue(counts, stan::model::cons_list(stan::model::index_omni(), stan::model::cons_list(stan::model::index_uni(j), stan::model::nil_index_list())), "counts"), add((stan::math::log(get_base1(phi, j, "phi", 1)) + stan::math::log(get_base1(nu, j, "nu", 1))), log_mu), elt_divide(1.0, delta))); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const stan::math::var &, const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:6: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:46: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:13: warning: unused function 'set_zero_all_adjoints' [-Wunused-function] static void set_zero_all_adjoints() { ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:6: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:47: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints_nested.hpp:17:13: warning: 'static' function 'set_zero_all_adjoints_nested' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static void set_zero_all_adjoints_nested() { ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:278: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_log.hpp:5: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_lpmf.hpp:60:9: warning: unused type alias 'T_partials_vec' [-Wunused-local-typedef] using T_partials_vec = typename Eigen::Matrix; ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:328: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_log.hpp:5: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp:52:9: warning: unused type alias 'T_alpha_val' [-Wunused-local-typedef] using T_alpha_val = typename std::conditional_t< ^ In file included from stanExports_basics_regression.cc:5: In file included from ./stanExports_basics_regression.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:51: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:27:11: warning: unused type alias 'idx_t' [-Wunused-local-typedef] using idx_t = typename index_type::type; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:64:11: warning: unused type alias 'idx_t' [-Wunused-local-typedef] using idx_t = typename index_type::type; ^ In file included from stanExports_basics_regression.cc:5: ./stanExports_basics_regression.h:431:24: warning: unused typedef 'local_scalar_t__' [-Wunused-local-typedef] typedef double local_scalar_t__; ^ 80 warnings generated. clang++ -mmacosx-version-min=10.13 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -D_HAS_AUTO_PTR_ETC=0 -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppParallel/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include' -I/usr/local/include -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -Wall -g -O2 -c stanExports_basics_regression_nospikes.cc -o stanExports_basics_regression_nospikes.o In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Core:540: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:2: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/LU:47: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Cholesky:12: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Jacobi:29: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Cholesky:43: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/QR:15: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Householder:27: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/QR:48: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:5: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/SVD:48: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:6: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Geometry:58: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Eigenvalues:58: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:26: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/SparseCore:66: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:27: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/OrderingMethods:71: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:29: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/SparseCholesky:43: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:32: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/SparseQR:34: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Sparse:33: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/IterativeLinearSolvers:46: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:22: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:32: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/CholmodSupport:45: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:22: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:22: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:39: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/Polynomials:135: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:22: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:40: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/SparseExtra:51: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/err/check_pos_definite.hpp:38:38: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>>' requested here || (cholesky.vectorD().array() <= 0.0).any()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/err/check_pos_semidefinite.hpp:44:38: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, 0>>, const Eigen::CwiseNullaryOp, Eigen::Array>>' requested here || (cholesky.vectorD().array() < 0.0).any()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:70:19: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>' requested here B = t * A * B / (s * j); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Product, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>, Eigen::Matrix, 0>, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Product, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>, Eigen::Matrix, 0>, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Product, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>, Eigen::Matrix, 0>, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:70:27: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Product, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, const Eigen::Matrix>, Eigen::Matrix, 0>, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here B = t * A * B / (s * j); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Matrix, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Matrix, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/welford_covar_estimator.hpp:26:29: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix>' requested here Eigen::VectorXd delta(q - m_); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper, 0>>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper, 0>>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, 0>>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/gaussian_dlm_obs_rng.hpp:44:53: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0>>>' requested here Eigen::VectorXd stddev = S_ldlt.vectorD().array().sqrt().matrix(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::Product>>, Eigen::Product, 5>, Eigen::Matrix, 0>, 2>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Matrix, const Eigen::Product>>, Eigen::Product, 5>, Eigen::Matrix, 0>, 2>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Product>>, Eigen::Product, 5>, Eigen::Matrix, 0>, 2>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/gaussian_dlm_obs_rng.hpp:52:12: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Product>>, Eigen::Product, 5>, Eigen::Matrix, 0>, 2>>' requested here = mu + (S_ldlt.transpositionsP().transpose() * (S_ldlt.matrixL() * z)); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:283: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/gaussian_dlm_obs_rng.hpp:138:7: warning: unused variable 'n' [-Wunused-variable] int n = G.rows(); // number of states ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper, 0>>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper, 0>>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, 0>>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/matrix_normal_prec_rng.hpp:98:38: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0>>>' requested here = Sigma_ldlt.vectorD().array().inverse().sqrt().matrix(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Array>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Array>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::Array, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/ordered_logistic_glm_lpmf.hpp:125:29: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::Array>' requested here = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Array>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Array>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::Array, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/ordered_logistic_glm_lpmf.hpp:125:48: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::Array>' requested here = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/ordered_logistic_glm_lpmf.hpp:125:55: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>' requested here = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/ordered_logistic_glm_lpmf.hpp:125:61: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Array>>>>' requested here = (cut1 > 0.0).select(-cut1, 0) - (-cut1.abs()).exp().log1p(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const int &, const int &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const int &, const int &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Map, 0>, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Map, 0>, const Eigen::CwiseNullaryOp, Eigen::Matrix>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Map, 0>, const Eigen::CwiseNullaryOp, Eigen::Matrix>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/ordered_logistic_glm_lpmf.hpp:133:18: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Map, 0>, const Eigen::CwiseNullaryOp, Eigen::Matrix>>' requested here logp = y_vec.cwiseEqual(1) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const int &, const int &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0>>::val_Op (stan::math::vari *const &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0>>::val_Op (stan::math::vari *const &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>::val_Op, Eigen::Map, 0>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0>>::val_Op, Eigen::Map, 0>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0>>::val_Op, Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:44:16: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0>>::val_Op, Eigen::Map, 0>>' requested here return vd1.val().dot(vd2.val()); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0>>::val_Op (stan::math::vari *const &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0>>::adj_Op (stan::math::vari *const &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0>>::adj_Op (stan::math::vari *const &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>::adj_Op, Eigen::Map, 0>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0>>::adj_Op, Eigen::Map, 0>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0>>::adj_Op, Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:67:9: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0>>::adj_Op, Eigen::Map, 0>>' requested here vd1.adj() += adj_ * vd2.val(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0>>::adj_Op (stan::math::vari *const &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0>>::vi_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0>>::vi_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>::vi_Op, Eigen::Map, 0>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0>>::vi_Op, Eigen::Map, 0>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0>>::vi_Op, Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:84:54: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0>>::vi_Op, Eigen::Map, 0>>' requested here = Eigen::Map(inv, length_).vi(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0>>::vi_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0, Eigen::InnerStride<1>>>::vi_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0, Eigen::InnerStride<1>>>::vi_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0, Eigen::InnerStride<1>>>::vi_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0, Eigen::InnerStride<1>>>::vi_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0, Eigen::InnerStride<1>>>::vi_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:96:45: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0, Eigen::InnerStride<1>>>::vi_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>>' requested here = Eigen::Ref(inv).vi(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0, Eigen::InnerStride<1>>>::vi_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:17: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/columns_dot_self.hpp:8: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:38:41: warning: all paths through this function will call itself [-Winfinite-recursion] inline static double square(double x) { return square(x); } ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0, Eigen::InnerStride<1>>>::val_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0, Eigen::InnerStride<1>>>::val_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0, Eigen::InnerStride<1>>>::val_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0, Eigen::InnerStride<1>>>::val_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0, Eigen::InnerStride<1>>>::val_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:44:42: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0, Eigen::InnerStride<1>>>::val_Op, Eigen::Ref, 0, Eigen::InnerStride<1>>>' requested here return Eigen::Ref(v).val().squaredNorm(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0, Eigen::InnerStride<1>>>::val_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0>>::adj_Op (stan::math::vari *const &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0>>::adj_Op (stan::math::vari *const &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>::adj_Op, Eigen::Map, 0>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0>>::adj_Op, Eigen::Map, 0>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0>>::adj_Op, Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/determinant.hpp:38:51: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0>>::adj_Op, Eigen::Map, 0>>' requested here Eigen::Map(adjARef_, rows_, cols_).adj() ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0>>::adj_Op (stan::math::vari *const &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of>::adj_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of>::adj_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits>::adj_Op, Eigen::Matrix>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base>::adj_Op, Eigen::Matrix>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl>::adj_Op, Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/grad.hpp:28:9: note: in instantiation of template class 'Eigen::CwiseUnaryView>::adj_Op, Eigen::Matrix>' requested here g = x.adj(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of>::adj_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of>::val_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of>::val_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>::val_Op, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>::val_Op, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl>::val_Op, const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:43:12: note: in instantiation of template class 'Eigen::CwiseUnaryOp>::val_Op, const Eigen::Matrix>' requested here Ad = A.val(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of>::val_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of>::vi_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of>::vi_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>::vi_Op, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>::vi_Op, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl>::vi_Op, const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:46:45: note: in instantiation of template class 'Eigen::CwiseUnaryOp>::vi_Op, const Eigen::Matrix>' requested here Map(vari_ref_A_, M_, M_) = A.vi(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of>::vi_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:48:29) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:48:29) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, 0>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:48:29), const Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:48:19: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:48:29), const Eigen::Map, 0>>' requested here = A_inv_d.unaryExpr([](double x) { return new vari(x, false); }); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:48:29) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of>::adj_Op (stan::math::vari *const &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of>::adj_Op (stan::math::vari *const &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits>::adj_Op, Eigen::Matrix>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base>::adj_Op, Eigen::Matrix>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl>::adj_Op, Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/log_determinant_ldlt.hpp:35:50: note: in instantiation of template class 'Eigen::CwiseUnaryView>::adj_Op, Eigen::Matrix>' requested here const_cast(alloc_ldlt_->variA_).adj() += adj_ * invA; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of>::adj_Op (stan::math::vari *const &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper, 0>>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper, 0>>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, 0>>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/log_determinant_spd.hpp:38:39: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0>>>' requested here double val = ldlt.vectorD().array().log().sum(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of>::vi_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of>::vi_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>::vi_Op, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>::vi_Op, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl>::vi_Op, const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/log_softmax.hpp:66:57: note: in instantiation of template class 'Eigen::CwiseUnaryOp>::vi_Op, const Eigen::Matrix>' requested here Eigen::Map(alpha_vi_array, a_size) = alpha.vi(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of>::vi_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of>::val_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of>::val_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>::val_Op, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>::val_Op, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl>::val_Op, const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/log_softmax.hpp:68:28: note: in instantiation of template class 'Eigen::CwiseUnaryOp>::val_Op, const Eigen::Matrix>' requested here vector_d alpha_d = alpha.val(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of>::val_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0>>::adj_Op (stan::math::vari *const &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0>>::adj_Op (stan::math::vari *const &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>::adj_Op, Eigen::Map, 0>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0>>::adj_Op, Eigen::Map, 0>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0>>::adj_Op, Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:549:42: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0>>::adj_Op, Eigen::Map, 0>>' requested here Map(variRefA_, size_).adj() ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0>>::adj_Op (stan::math::vari *const &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0>>::val_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0>>::val_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0>>::val_Op, Eigen::Map, 0>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0>>::val_Op, Eigen::Map, 0>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0>>::val_Op, Eigen::Map, 0>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/sd.hpp:33:32: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0>>::val_Op, Eigen::Map, 0>>' requested here vector_d dtrs_val = dtrs_map.val(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0>>::val_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of, 0, Eigen::OuterStride<-1>>>::val_Op (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:20:20: note: in instantiation of template class 'Eigen::internal::result_of, 0, Eigen::OuterStride<-1>>>::val_Op (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:479:56: note: in instantiation of template class 'Eigen::internal::traits, 0, Eigen::OuterStride<-1>>>::val_Op, Eigen::Ref, 0, Eigen::OuterStride<-1>>>>' requested here template::XprKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:102:22: note: in instantiation of default argument for 'dense_xpr_base, 0, Eigen::OuterStride<-1>>>::val_Op, Eigen::Ref, 0, Eigen::OuterStride<-1>>>>' required here : public internal::dense_xpr_base< CwiseUnaryView >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:31: note: in instantiation of template class 'Eigen::CwiseUnaryViewImpl, 0, Eigen::OuterStride<-1>>>::val_Op, Eigen::Ref, 0, Eigen::OuterStride<-1>>, Eigen::Dense>' requested here class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/sum.hpp:21:42: note: in instantiation of template class 'Eigen::CwiseUnaryView, 0, Eigen::OuterStride<-1>>>::val_Op, Eigen::Ref, 0, Eigen::OuterStride<-1>>>' requested here return Eigen::Ref(v).val().sum(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of, 0, Eigen::OuterStride<-1>>>::val_Op (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:70: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/functor/integrate_ode_adams.hpp:5: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/functor/cvodes_integrator.hpp:126:18: warning: unused variable 'coupled_size' [-Wunused-variable] const size_t coupled_size = cvodes_data.coupled_ode_.size(); ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:182:56: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper>>' requested here return normal_fullrank(Eigen::VectorXd(mu_.array().square()), ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1238:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = stan::services::error_codes::CONFIG; ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Block, 1, -1, false>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Block, 1, -1, false>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::Block, 1, -1, false>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/Dot.h:98:31: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::Block, 1, -1, false>>' requested here return numext::real((*this).cwiseAbs2().sum()); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Cholesky/LLT.h:321:25: note: in instantiation of member function 'Eigen::MatrixBase, 1, -1, false>>::squaredNorm' requested here if (k>0) x -= A10.squaredNorm(); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Cholesky/LLT.h:337:14: note: in instantiation of function template specialization 'Eigen::internal::llt_inplace::unblocked>' requested here return unblocked(m); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Cholesky/LLT.h:401:61: note: in instantiation of function template specialization 'Eigen::internal::llt_inplace::blocked>' requested here { return llt_inplace::blocked(m)==-1; } ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Cholesky/LLT.h:449:21: note: in instantiation of member function 'Eigen::internal::LLT_Traits, 1>::inplace_decomposition' requested here bool ok = Traits::inplace_decomposition(m_matrix); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/cholesky_decompose.hpp:76:7: note: in instantiation of function template specialization 'Eigen::LLT, 1>::compute>' requested here llt.compute(m); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Block, -1, 1, true>, -1, 1, false>, const Eigen::Block, -1, 1, true>, -1, 1, false>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Block, -1, 1, true>, -1, 1, false>, const Eigen::Block, -1, 1, true>, -1, 1, false>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Block, -1, 1, true>, -1, 1, false>, const Eigen::Block, -1, 1, true>, -1, 1, false>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/Dot.h:37:23: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Block, -1, 1, true>, -1, 1, false>, const Eigen::Block, -1, 1, true>, -1, 1, false>>' requested here return a.template binaryExpr(b).sum(); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:55: note: in instantiation of member function 'Eigen::internal::dot_nocheck, -1, 1, true>, -1, 1, false>, Eigen::Block, -1, 1, true>, -1, 1, false>, false>::run' requested here return internal::dot_nocheck::run(*this, other); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/multiply_lower_tri_self_transpose.hpp:35:49: note: in instantiation of function template specialization 'Eigen::MatrixBase, -1, 1, true>, -1, 1, false>>::dot, -1, 1, true>, -1, 1, false>>' requested here LLt(n, m) = LLt(m, n) = Lt.col(m).head(k).dot(Lt.col(n).head(k)); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Block, 0>, -1, -1, false>, -1, 1, true>, -1, 1, false>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Block, 0>, -1, -1, false>, -1, 1, true>, -1, 1, false>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl, const Eigen::Block, 0>, -1, -1, false>, -1, 1, true>, -1, 1, false>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/LU/PartialPivLU.h:381:34: note: in instantiation of template class 'Eigen::CwiseUnaryOp, const Eigen::Block, 0>, -1, -1, false>, -1, 1, true>, -1, 1, false>>' requested here = lu.col(k).tail(rows-k).unaryExpr(Scoring()).maxCoeff(&row_of_biggest_in_col); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/LU/PartialPivLU.h:436:14: note: (skipping 9 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return unblocked_lu(lu, row_transpositions, nb_transpositions); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:804:3: note: in instantiation of function template specialization 'Eigen::internal::call_assignment_no_alias, 0>, Eigen::Inverse, 0>>, Eigen::internal::assign_op>' requested here call_assignment_no_alias(dst, src, func); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:782:3: note: in instantiation of function template specialization 'Eigen::internal::call_assignment, 0>, Eigen::Inverse, 0>>, Eigen::internal::assign_op>' requested here call_assignment(dst, src, internal::assign_op()); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/Assign.h:66:13: note: in instantiation of function template specialization 'Eigen::internal::call_assignment, 0>, Eigen::Inverse, 0>>>' requested here internal::call_assignment(derived(), other.derived()); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/Map.h:162:5: note: in instantiation of function template specialization 'Eigen::MatrixBase, 0>>::operator=, 0>>>' requested here EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Map) ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Macros.h:872:5: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_OPERATORS' EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Macros.h:841:108: note: expanded from macro 'EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR' EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator=(const DenseBase& other) { Base::operator=(other.derived()); return *this; } ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:44:13: note: in instantiation of function template specialization 'Eigen::Map, 0>::operator=, 0>>>' requested here A_inv_d = Ad.inverse(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/BooleanRedux.h:144:30: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Matrix>>>' requested here return !((derived().array()==derived().array()).all()); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/BooleanRedux.h:158:34: note: in instantiation of member function 'Eigen::DenseBase, const Eigen::Matrix, const Eigen::Matrix>>::hasNaN' requested here return !((derived()-derived()).hasNaN()); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/err/check_finite.hpp:30:22: note: in instantiation of member function 'Eigen::DenseBase>::allFinite' requested here if (!value_of(y).allFinite()) { ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/scal/err/check_finite.hpp:47:54: note: in instantiation of member function 'stan::math::internal::finite, true>::check' requested here internal::finite::value>::check(function, name, y); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/validate_diag_inv_metric.hpp:21:17: note: in instantiation of function template specialization 'stan::math::check_finite>' requested here stan::math::check_finite("check_finite", "inv_metric", inv_metric); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/log.hpp:40:42: note: in instantiation of member function 'stan::math::apply_scalar_unary>::apply' requested here return apply_scalar_unary::apply(x); ^ ./stanExports_basics_regression_nospikes.h:311:61: note: in instantiation of function template specialization 'stan::math::log>' requested here stan::math::assign(log_size_factors,stan::math::log(size_factors)); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/exp.hpp:41:42: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:92:36: note: in instantiation of function template specialization 'stan::io::random_var_context::random_var_context, boost::random::linear_congruential_engine>>' requested here stan::io::random_var_context random_context(model, rng, init_radius, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression_nospikes.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/sqrt.hpp:32:43: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:127:33: note: in instantiation of function template specialization 'model_basics_regression_nospikes_namespace::model_basics_regression_nospikes::log_prob' requested here log_prob = model.template log_prob(unconstrained, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression_nospikes.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const stan::math::var &, const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const stan::math::var &, const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:585:20: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here return to_var(m) * to_var(c); ^ ./stanExports_basics_regression_nospikes.h:103:48: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) stan::math::exp(divide(multiply(-(0.5), tmp), pow(h, 2))), ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression_nospikes.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const stan::math::var &, const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const stan::math::var &, const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const stan::math::var &, const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/divide.hpp:23:20: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix>>' requested here return to_var(v) / to_var(c); ^ ./stanExports_basics_regression_nospikes.h:103:41: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) stan::math::exp(divide(multiply(-(0.5), tmp), pow(h, 2))), ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression_nospikes.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const stan::math::var &, const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:103:31) (const double &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:103:31) (const double &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, 0>, Eigen::Map, 0>, 0>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base, 0>, Eigen::Map, 0>, 0>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:103:31), const Eigen::Product, 0>, Eigen::Map, 0>, 0>, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:103:21: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:103:31), const Eigen::Product, 0>, Eigen::Map, 0>, 0>>' requested here = (Ad * Bd).unaryExpr([](double x) { return new vari(x, false); }); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:629:13: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) = new multiply_mat_vari(A, B); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression_nospikes.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:103:31) (const double &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/exp.hpp:41:42: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression_nospikes.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/log.hpp:40:42: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression_nospikes.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const stan::math::var &, const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const stan::math::var &, const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::Matrix, const Eigen::Matrix>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::Matrix, const Eigen::Matrix>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Matrix, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/subtract.hpp:28:13: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix>' requested here return m1 - m2; ^ ./stanExports_basics_regression_nospikes.h:507:40: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) stan::math::assign(epsilon,subtract(stan::math::log(delta), fu)); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression_nospikes.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const stan::math::var &, const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:21:20: note: in instantiation of template class 'Eigen::internal::result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:95:22: note: in instantiation of default argument for 'generic_xpr_base>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:29: note: in instantiation of template class 'Eigen::CwiseUnaryOpImpl<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix, Eigen::Dense>' requested here class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:57:14: note: in instantiation of template class 'Eigen::CwiseUnaryOp<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9), const Eigen::Matrix>' requested here return x.unaryExpr( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/sqrt.hpp:32:43: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return apply_scalar_unary::apply(x); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression_nospikes.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of<(lambda at /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/vectorize/apply_scalar_unary.hpp:58:9) (const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/add.hpp:58:12: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>>' requested here return c + m.array(); ^ ./stanExports_basics_regression_nospikes.h:553:237: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) lp_accum__.add(neg_binomial_2_log_log(stan::model::rvalue(counts, stan::model::cons_list(stan::model::index_omni(), stan::model::cons_list(stan::model::index_uni(j), stan::model::nil_index_list())), "counts"), add(get_base1(log_size_factors, j, "log_size_factors", 1), log_mu), elt_divide(1.0, delta))); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression_nospikes.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:3: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/Dense:1: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:367: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/Meta.h:320:25: warning: 'result_of (const double &, const stan::math::var &)>' is deprecated [-Wdeprecated-declarations] typedef typename std::result_of::type type1; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:33:20: note: in instantiation of template class 'Eigen::internal::result_of (const double &, const stan::math::var &)>' requested here typedef typename result_of< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:497:56: note: in instantiation of template class 'Eigen::internal::traits, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>>>' requested here template::XprKind, typename StorageKind = typename traits::StorageKind> ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:149:22: note: in instantiation of default argument for 'generic_xpr_base, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>>>' required here : public internal::generic_xpr_base >::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:78:10: note: in instantiation of template class 'Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>, Eigen::Dense>' requested here public CwiseBinaryOpImpl< ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/elt_divide.hpp:63:12: note: in instantiation of template class 'Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array>, const Eigen::ArrayWrapper>>' requested here return s / m.array(); ^ ./stanExports_basics_regression_nospikes.h:553:305: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) lp_accum__.add(neg_binomial_2_log_log(stan::model::rvalue(counts, stan::model::cons_list(stan::model::index_omni(), stan::model::cons_list(stan::model::index_uni(j), stan::model::nil_index_list())), "counts"), add(get_base1(log_size_factors, j, "log_size_factors", 1), log_mu), elt_divide(1.0, delta))); ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/util/initialize.hpp:165:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:51:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:467:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:1201:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stanExports_basics_regression_nospikes.cc:15:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:4009:34: note: 'result_of (const double &, const stan::math::var &)>' has been explicitly marked deprecated here template class _LIBCPP_DEPRECATED_IN_CXX17 result_of; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17' # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:6: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:46: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:13: warning: unused function 'set_zero_all_adjoints' [-Wunused-function] static void set_zero_all_adjoints() { ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:6: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:47: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints_nested.hpp:17:13: warning: 'static' function 'set_zero_all_adjoints_nested' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static void set_zero_all_adjoints_nested() { ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:278: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_log.hpp:5: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_lpmf.hpp:60:9: warning: unused type alias 'T_partials_vec' [-Wunused-local-typedef] using T_partials_vec = typename Eigen::Matrix; ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:328: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_log.hpp:5: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp:52:9: warning: unused type alias 'T_alpha_val' [-Wunused-local-typedef] using T_alpha_val = typename std::conditional_t< ^ In file included from stanExports_basics_regression_nospikes.cc:5: In file included from ./stanExports_basics_regression_nospikes.h:20: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/rstan/include/rstan/stan_fit.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:51: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:27:11: warning: unused type alias 'idx_t' [-Wunused-local-typedef] using idx_t = typename index_type::type; ^ /Library/Frameworks/R.framework/Versions/4.2/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:64:11: warning: unused type alias 'idx_t' [-Wunused-local-typedef] using idx_t = typename index_type::type; ^ In file included from stanExports_basics_regression_nospikes.cc:5: ./stanExports_basics_regression_nospikes.h:342:24: warning: unused typedef 'local_scalar_t__' [-Wunused-local-typedef] typedef double local_scalar_t__; ^ 76 warnings generated. clang++ -mmacosx-version-min=10.13 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o BASiCStan.so RcppExports.o stanExports_basics_regression.o stanExports_basics_regression_nospikes.o -L/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppParallel/lib/ -Wl,-rpath,/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppParallel/lib/ -ltbb -ltbbmalloc -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Users/biocbuild/bbs-3.16-bioc/meat/BASiCStan.buildbin-libdir/00LOCK-BASiCStan/00new/BASiCStan/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (BASiCStan) >>>>>>> >>>>>>> FIXING LINKS FOR BASiCStan.buildbin-libdir/BASiCStan/libs/BASiCStan.so >>>>>>> install_name_tool -change "/usr/local/lib/libgcc_s.1.dylib" "/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libgcc_s.1.dylib" "BASiCStan.buildbin-libdir/BASiCStan/libs/BASiCStan.so" install_name_tool -change "/usr/local/lib/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libgfortran.5.dylib" "BASiCStan.buildbin-libdir/BASiCStan/libs/BASiCStan.so" install_name_tool -change "/usr/local/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libquadmath.0.dylib" "BASiCStan.buildbin-libdir/BASiCStan/libs/BASiCStan.so"