rstan is still not installable on Posit cloud. Below is part of the (very long) error message.
This issue has previously been reported and it does not appear to be resolved.
install.packages("rstan")
[...more messages...]
Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; DerivedB = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >]’
/cloud/lib/x86_64-pc-linux-gnu-library/4.2/StanHeaders/include/stan/math/prim/mat/fun/autocovariance.hpp:66:18: required from ‘void stan::math::autocovariance(const Eigen::MatrixBase<U>&, Eigen::MatrixBase<OtherDerived>&, Eigen::FFT<T>&) [with T = double; DerivedA = Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; DerivedB = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >]’
/cloud/lib/x86_64-pc-linux-gnu-library/4.2/StanHeaders/include/stan/math/prim/mat/fun/autocovariance.hpp:94:17: required from ‘void stan::math::autocovariance(const std::vector<T>&, std::vector<T>&) [with T = double]’
chains.cpp:245:43: required from here
/cloud/lib/x86_64-pc-linux-gnu-library/4.2/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:960:8: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__vector(2) double’} [-Wignored-attributes]
960 | enum {
| ^
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [/opt/R/4.2.2/lib/R/etc/Makeconf:178: chains.o] Error 1
ERROR: compilation failed for package ‘rstan’
* removing ‘/cloud/lib/x86_64-pc-linux-gnu-library/4.2/rstan’
Warning in install.packages :
installation of package ‘rstan’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmptBGRxM/downloaded_packages’
Any ideas on how to proceed?
Cheers,
Julia