stan-dev / rstanarm

rstanarm R package for Bayesian applied regression modeling
https://mc-stan.org/rstanarm
GNU General Public License v3.0
383 stars 132 forks source link

Installation failure on linux #554

Open aaharvard opened 2 years ago

aaharvard commented 2 years ago

Summary:

Errors when installing "rstanarm", I think there might be some calls to deprecated c++ class templates (auto_ptr).

Description:

See bottom for console output when I try to install. It keeps going forever so I just terminated R.

Reproducible Steps:

I am using GCC version 11.1.0 and gcc-fortran

RStanARM Version:

N/A

R Version:

4.1.2

Operating System:

Arch Linux

Console output on install attempt


install.packages("rstanarm", repos='https://cran.us.r-project.org') Installing package into ‘/home/austin/R/x86_64-pc-linux-gnu-library/4.1’ (as ‘lib’ is unspecified) trying URL 'https://cran.us.r-project.org/src/contrib/rstanarm_2.21.1.tar.gz' Content type 'application/octet-stream' length 3548723 bytes (3.4 MB)

downloaded 3.4 MB

g++ -std=gnu++14 -I"/usr/include/R/" -DNDEBUG -I"../inst/include" -I"/home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -I'/home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include' -I'/home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include' -I'/home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include' -I'/home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include' -I'/home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include' -I'/home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppParallel/include' -D_FORTIFY_SOURCE=2 "/usr/lib64/R/bin/Rscript" -e "RcppParallel::CxxFlags()" "/usr/lib64/R/bin/Rscript" -e "StanHeaders:::CxxFlags()" -fpic -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -c stan_files/bernoulli.cc -o stan_files/bernoulli.o In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Core:397, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Dense:1, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:3, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:60:39: warning: ignoring attributes on template argument ‘m128’ [-Wignored-attributes] 60 | template<> struct is_arithmetic<__m128> { enum { value = true }; }; | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:61:40: warning: ignoring attributes on template argument ‘m128i’ [-Wignored-attributes] 61 | template<> struct is_arithmetic<__m128i> { enum { value = true }; }; | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:62:40: warning: ignoring attributes on template argument ‘m128d’ [-Wignored-attributes] 62 | template<> struct is_arithmetic<__m128d> { enum { value = true }; }; | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:161:43: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka ‘m128’} [-Wignored-attributes] 161 | template<> struct unpacket_traits { typedef float type; enum {size=4, alignment=Aligned16}; typedef Packet4f half; }; | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:162:43: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka ‘m128d’} [-Wignored-attributes] 162 | template<> struct unpacket_traits { typedef double type; enum {size=2, alignment=Aligned16}; typedef Packet2d half; }; | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:163:43: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4i’ {aka ‘m128i’} [-Wignored-attributes] 163 | template<> struct unpacket_traits { typedef int type; enum {size=4, alignment=Aligned16}; typedef Packet4i half; }; | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:718:35: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka ‘m128’} [-Wignored-attributes] 718 | struct palign_impl<Offset,Packet4f> | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:741:35: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4i’ {aka ‘m128i’} [-Wignored-attributes] 741 | struct palign_impl<Offset,Packet4i> | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:764:35: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka ‘m128d’} [-Wignored-attributes] 764 | struct palign_impl<Offset,Packet2d> | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:778:34: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka ‘m128’} [-Wignored-attributes] 778 | ptranspose(PacketBlock<Packet4f,4>& kernel) { | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:783:34: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka ‘m128d’} [-Wignored-attributes] 783 | ptranspose(PacketBlock<Packet2d,2>& kernel) { | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:790:34: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4i’ {aka ‘__m128i’} [-Wignored-attributes] 790 | ptranspose(PacketBlock<Packet4i,4>& kernel) { | ^ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Core:377, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Dense:1, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:3, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:15:70: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka ‘m128’} [-Wignored-attributes] 15 | template<> struct conj_helper<PACKET_REAL, PACKET_CPLX, false,false> { \ | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:232:1: note: in expansion of macro ‘EIGEN_MAKE_CONJ_HELPER_CPLX_REAL’ 232 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f) | ^~~~~~~~ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:22:70: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka ‘m128’} [-Wignored-attributes] 22 | template<> struct conj_helper<PACKET_CPLX, PACKET_REAL, false,false> { \ | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:232:1: note: in expansion of macro ‘EIGEN_MAKE_CONJ_HELPER_CPLX_REAL’ 232 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f) | ^~~~~~~~ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:15:70: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka ‘__m128d’} [-Wignored-attributes] 15 | template<> struct conj_helper<PACKET_REAL, PACKET_CPLX, false,false> { \ | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:417:1: note: in expansion of macro ‘EIGEN_MAKE_CONJ_HELPER_CPLX_REAL’ 417 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d) | ^~~~~~~~ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:22:70: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka ‘m128d’} [-Wignored-attributes] 22 | template<> struct conj_helper<PACKET_CPLX, PACKET_REAL, false,false> { \ | ^ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:417:1: note: in expansion of macro ‘EIGEN_MAKE_CONJ_HELPER_CPLX_REAL’ 417 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d) | ^~~~~~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Core:370, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Dense:1, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:3, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet<float, 4>’: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits<Eigen::Matrix<float, 4, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:243:49: required from ‘struct Eigen::internal::traits<Eigen::Quaternion >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SSE.h:24:46: required from here /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128’} [-Wignored-attributes] 187 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same<PacketType,typename unpacket_traits::half>::value> | ~^~~~~~~~~~~ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 187 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same<PacketType,typename unpacket_traits::half>::value> | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128’} [-Wignored-attributes] /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<vector(4) float>::half’ {aka ‘m128’} [-Wignored-attributes] /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:205:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128’} [-Wignored-attributes] 205 | typedef typename find_best_packet_helper<Size,typename packet_traits::type>::type type; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Core:439, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Dense:1, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:3, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 0>’: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 1>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 3>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase<Eigen::Matrix<float, 4, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<float, 4, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix<float, 4, 1>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase<Eigen::Quaternion >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:250:7: required from ‘class Eigen::Quaternion’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SSE.h:27:3: required from here /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 55 | >::type PacketReturnType; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Core:370, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Dense:1, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:3, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet<double, 4>’: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits<Eigen::Matrix<double, 4, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:243:49: required from ‘struct Eigen::internal::traits<Eigen::Quaternion >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SSE.h:88:47: required from here /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128d’} [-Wignored-attributes] 187 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same<PacketType,typename unpacket_traits::half>::value> | ~^~~~~~~~~~~ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128d’} [-Wignored-attributes] 187 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same<PacketType,typename unpacket_traits::half>::value> | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128d’} [-Wignored-attributes] /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<vector(2) double>::half’ {aka ‘m128d’} [-Wignored-attributes] /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:205:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128d’} [-Wignored-attributes] 205 | typedef typename find_best_packet_helper<Size,typename packet_traits::type>::type type; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Core:439, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Dense:1, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:3, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 0>’: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 1>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 3>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase<Eigen::Matrix<double, 4, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, 4, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix<double, 4, 1>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase<Eigen::Quaternion >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:250:7: required from ‘class Eigen::Quaternion’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SSE.h:92:3: required from here /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128d’} [-Wignored-attributes] 55 | >::type PacketReturnType; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/smart_ptr/shared_ptr.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/shared_ptr.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/time_clock.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/posix_time/posix_time_types.hpp:10, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/stan_fit.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:4, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | explicit shared_count( std::autoptr & r ): pi( new sp_counted_impl_p( r.get() ) ) | ^~~~ In file included from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/RcppCommon.h:53, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/Rcpp.h:27, from stan_files/bernoulli.cc:1: /usr/include/c++/11.1.0/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/shared_ptr.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/time_clock.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/posix_time/posix_time_types.hpp:10, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/stan_fit.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:4, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/smart_ptr/shared_ptr.hpp:250:65: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 250 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > | ^~~~ In file included from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/RcppCommon.h:53, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/Rcpp.h:27, from stan_files/bernoulli.cc:1: /usr/include/c++/11.1.0/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/shared_ptr.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/time_clock.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/posix_time/posix_time_types.hpp:10, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/stan_fit.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:4, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/smart_ptr/shared_ptr.hpp:465:31: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 465 | explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() | ^~~~ In file included from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/RcppCommon.h:53, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/Rcpp.h:27, from stan_files/bernoulli.cc:1: /usr/include/c++/11.1.0/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/shared_ptr.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/time_clock.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/posix_time/posix_time_types.hpp:10, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/stan_fit.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:4, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/smart_ptr/shared_ptr.hpp:478:22: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 478 | shared_ptr( std::auto_ptr && r ): px(r.get()), pn() | ^~~~ In file included from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/RcppCommon.h:53, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/Rcpp.h:27, from stan_files/bernoulli.cc:1: /usr/include/c++/11.1.0/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/shared_ptr.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/time_clock.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/posix_time/posix_time_types.hpp:10, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/stan_fit.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:4, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/smart_ptr/shared_ptr.hpp:561:34: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 561 | shared_ptr & operator=( std::auto_ptr & r ) | ^~~~ In file included from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/RcppCommon.h:53, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/Rcpp.h:27, from stan_files/bernoulli.cc:1: /usr/include/c++/11.1.0/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/shared_ptr.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/time_clock.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/posix_time/posix_time_types.hpp:10, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/stan_fit.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:4, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/smart_ptr/shared_ptr.hpp:570:34: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 570 | shared_ptr & operator=( std::auto_ptr && r ) | ^~~~ In file included from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/RcppCommon.h:53, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/Rcpp.h:27, from stan_files/bernoulli.cc:1: /usr/include/c++/11.1.0/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/shared_ptr.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/time_clock.hpp:17, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/date_time/posix_time/posix_time_types.hpp:10, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/stan_fit.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:4, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Up>&&)’: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/BH/include/boost/smart_ptr/shared_ptr.hpp:572:38: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 572 | this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); | ^~~~ In file included from /usr/include/c++/11.1.0/bits/locale_conv.h:41, from /usr/include/c++/11.1.0/locale:43, from /usr/include/c++/11.1.0/iomanip:43, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/RcppCommon.h:53, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include/Rcpp.h:27, from stan_files/bernoulli.cc:1: /usr/include/c++/11.1.0/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/SparseCore:37, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Sparse:26, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:3, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of ‘class Eigen::SparseMatrixBase<Eigen::SparseMatrix<double, 0, int> >’: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from ‘class Eigen::SparseCompressedBase<Eigen::SparseMatrix<double, 0, int> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7: required from ‘class Eigen::SparseMatrix<double, 0, int>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h:61:25: required from here /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128d’} [-Wignored-attributes] 47 | >::type PacketReturnType; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Core:370, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Dense:1, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:3, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet<int, -1>’: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits<Eigen::Matrix<int, -1, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix<int, -1, 1>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h:168:29: required from here /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128i’} [-Wignored-attributes] 187 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same<PacketType,typename unpacket_traits::half>::value> | ~^~~~~~~~~~~ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128i’} [-Wignored-attributes] 187 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same<PacketType,typename unpacket_traits::half>::value> | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128i’} [-Wignored-attributes] /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<vector(2) long long int>::half’ {aka ‘m128i’} [-Wignored-attributes] /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:205:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128i’} [-Wignored-attributes] 205 | typedef typename find_best_packet_helper<Size,typename packet_traits::type>::type type; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Core:439, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Dense:1, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:3, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<int, -1, 1>, 0>’: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<int, -1, 1>, 1>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<int, -1, 1>, 3>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase<Eigen::Matrix<int, -1, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<int, -1, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix<int, -1, 1>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h:168:29: required from here /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128i’} [-Wignored-attributes] 55 | >::type PacketReturnType; | ^~~~ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<int, -1, 1> >, 0>’: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<int, -1, 1> >, 1>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<int, -1, 1> >, 3>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase<Eigen::Transpose<Eigen::Matrix<int, -1, 1> > >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase<Eigen::Transpose<Eigen::Matrix<int, -1, 1> > >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/Transpose.h:115:37: required from ‘class Eigen::TransposeImpl<Eigen::Matrix<int, -1, 1>, Eigen::Dense>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose<Eigen::Matrix<int, -1, 1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h:178:72: required from here /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128i’} [-Wignored-attributes] /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<int, -1, -1>, 0>’: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<int, -1, -1>, 1>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<int, -1, -1>, 3>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase<Eigen::Matrix<int, -1, -1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<int, -1, -1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<int, -1, -1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix<int, -1, -1>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h:179:36: required from here /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128i’} [-Wignored-attributes] In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Core:370, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Dense:1, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:3, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet<double, -1>’: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits<Eigen::Matrix<double, -1, -1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix<double, -1, -1>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/stan/math/rev/mat/fun/typedefs.hpp:11:72: required from here /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 187 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same<PacketType,typename unpacket_traits::half>::value> | ~^~~~~~~~~~~ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128d’} [-Wignored-attributes] 187 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same<PacketType,typename unpacket_traits::half>::value> | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128d’} [-Wignored-attributes] /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<vector(2) double>::half’ {aka ‘m128d’} [-Wignored-attributes] /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:205:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘m128d’} [-Wignored-attributes] 205 | typedef typename find_best_packet_helper<Size,typename packet_traits::type>::type type; | ^~~~ In file included from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Core:439, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/Dense:1, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13, from /home/austin/R/x86_64-pc-linux-gnu-library/4.1/rstan/include/rstan/rstaninc.hpp:3, from stan_files/bernoulli.hpp:18, from stan_files/bernoulli.cc:3: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 0>’: /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 1>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7: required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 3>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase<Eigen::Matrix<double, -1, -1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, -1, -1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1> >’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix<double, -1, -1>’ /home/austin/R/x86_64-pc-linux-gnu-library/4.1/StanHeaders/include/stan/math/rev/mat/fun/typedefs.hpp:11:72: required from here /home/austin/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes]

bgoodri commented 2 years ago

What line in the output starts with error: (including the colon). What you posted is just compiler warnings.

aaharvard commented 2 years ago

What line in the output starts with error: (including the colon). What you posted is just compiler warnings.

It just repeats this forever, it never has 'error:'

bgoodri commented 2 years ago

Then it should be installed. What is the output of

packageVersion("rstanarm")

?

aaharvard commented 2 years ago

Then it should be installed. What is the output of packageVersion("rstanarm") ?

When i try to install, it just keeps spitting out those compiler errors until I stop the process. When I try packageVersion("rstanarm") it returns

Error in packageVersion("rstanarm") : there is no package called ‘rstanarm’

bgoodri commented 2 years ago

Those aren't compiler errors; they are compiler warnings and basically irrelevant ones. Let the process complete.