Closed pvesk closed 4 years ago
Yuk. Looks like a mismatch in Stan versions -- haven't played around with this one for a while but will have a look. You don't have a second computer with R 3.X installed, do you? (would be good to rule out an R 4.0 issue).
Hmm, I don’t have a second computer. perhaps I look around the junked computers at home. p
From: Jian Yen notifications@github.com Reply to: jdyen/growmodr reply@reply.github.com Date: Monday, 20 July 2020 at 8:49 am To: jdyen/growmodr growmodr@noreply.github.com Cc: Peter Vesk pvesk@unimelb.edu.au, Author author@noreply.github.com Subject: Re: [jdyen/growmodr] trouble installing (#2)
Yuk. Looks like a mismatch in Stan versions -- haven't played around with this one for a while but will have a look. You don't have a second computer with R 3.X installed, do you? (would be good to rule out an R 4.0 issue).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jdyen/growmodr/issues/2#issuecomment-660721047, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC5YYMMH6EOLANJ3DQSNCDLR4NZ6FANCNFSM4PA5F43Q.
Don't do that -- I will try it out once the translocation models are done.
I’ve grabbed Ange’s computer. I’ll try , if it takes any effort, I’ll step back.
First install R, R studio, X code, Rstan…
From: Jian Yen notifications@github.com Reply to: jdyen/growmodr reply@reply.github.com Date: Monday, 20 July 2020 at 9:00 am To: jdyen/growmodr growmodr@noreply.github.com Cc: Peter Vesk pvesk@unimelb.edu.au, Author author@noreply.github.com Subject: Re: [jdyen/growmodr] trouble installing (#2)
Don't do that -- I will try it out once the translocation models are done.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jdyen/growmodr/issues/2#issuecomment-660722359, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC5YYMMQ5WD233KMVTQIDHTR4N3GXANCNFSM4PA5F43Q.
SO I managed to install R3.6 , R-studio, X -code and rstan, and devtools. But the fail is installing growmodr.
From: Jian Yen notifications@github.com Reply to: jdyen/growmodr reply@reply.github.com Date: Monday, 20 July 2020 at 9:00 am To: jdyen/growmodr growmodr@noreply.github.com Cc: Peter Vesk pvesk@unimelb.edu.au, Author author@noreply.github.com Subject: Re: [jdyen/growmodr] trouble installing (#2)
Don't do that -- I will try it out once the translocation models are done.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jdyen/growmodr/issues/2#issuecomment-660722359, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC5YYMMQ5WD233KMVTQIDHTR4N3GXANCNFSM4PA5F43Q.
The error is practically identical on R3.6 or R4: Here is the whole readout:
devtools::install_github("jdyen/growmodr", args = "--preclean") Downloading GitHub repo jdyen/growmodr@master ✓ checking for file ‘/private/var/folders/89/1cq40npx67b0fn760490cyl9145kwh/T/RtmpFRmYIu/remotes94677a6057e6/jdyen-growmodr-b5440e3/DESCRIPTION’ ... ─ preparing ‘growmodr’: ✓ checking DESCRIPTION meta-information ... ─ cleaning src ─ running ‘cleanup’ ─ checking for LF line-endings in source and make files and shell scripts (2.9s) ─ checking for empty or unneeded directories ─ building ‘growmodr_0.1.0.tar.gz’ Warning: invalid uid value replaced by that for user 'nobody' Warning: invalid gid value replaced by that for user 'nobody'
"/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"
" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=ignore_error -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include' -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include' -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include' -I/usr/local/include -fPIC -Wall -g -O2 -c Modules.cpp -o Modules.o
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:22:30: error: no template named 'conditional_t' in namespace 'std'; did you mean 'conditional'?
using double_return_t = std::conditional_t<std::is_const<std::remove_reference_t
conditional
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:429:33: note: 'conditional' declared here
struct _LIBCPP_TEMPLATE_VIS conditional {typedef _If type;};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:22:63: error: no template named 'remove_reference_t' in namespace 'std'; did you mean 'remove_reference'?
using double_return_t = std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
~~~~~^~~~~~~~~~~~~~~~~~
remove_reference
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:1120:50: note: 'remove_reference' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_reference {typedef _Tp type;};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:26:31: error: no template named 'conditional_t' in namespace 'std'; did you mean 'conditional'?
using reverse_return_t = std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
~~~~~^~~~~~~~~~~~~
conditional
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:429:33: note: 'conditional' declared here
struct _LIBCPP_TEMPLATE_VIS conditional {typedef _If type;};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:26:64: error: no template named 'remove_reference_t' in namespace 'std'; did you mean 'remove_reference'?
using reverse_return_t = std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
~~~~~^~~~~~~~~~~~~~~~~~
remove_reference
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:1120:50: note: 'remove_reference' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_reference {typedef _Tp type;};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:31:28: error: no template named 'conditional_t' in namespace 'std'; did you mean 'conditional'?
using vari_return_t = std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
~~~~~^~~~~~~~~~~~~
conditional
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:429:33: note: 'conditional' declared here
struct _LIBCPP_TEMPLATE_VIS conditional {typedef _If type;};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:31:61: error: no template named 'remove_reference_t' in namespace 'std'; did you mean 'remove_reference'?
using vari_return_t = std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
~~~~~^~~~~~~~~~~~~~~~~~
remove_reference
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:1120:50: note: 'remove_reference' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_reference {typedef _Tp type;};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:36:31: error: no template named 'conditional_t' in namespace 'std'; did you mean 'conditional'?
using forward_return_t = std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
~~~~~^~~~~~~~~~~~~
conditional
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:429:33: note: 'conditional' declared here
struct _LIBCPP_TEMPLATE_VIS conditional {typedef _If type;};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:36:64: error: no template named 'remove_reference_t' in namespace 'std'; did you mean 'remove_reference'?
using forward_return_t = std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
~~~~~^~~~~~~~~~~~~~~~~~
remove_reference
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:1120:50: note: 'remove_reference' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_reference {typedef _Tp type;};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:60:10: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'?
std::enable_if_t<std::is_pointer<T>::value, reverse_return_t<T>>
~~~~~^~~~~~~~~~~
enable_if
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:440:63: note: 'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:66:10: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'?
std::enable_if_t<(!std::is_pointer<T>::value && !is_fvar<T>::value
~~~~~^~~~~~~~~~~
enable_if
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:440:63: note: 'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:73:10: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'?
std::enable_if_t<is_fvar<T>::value, forward_return_t<T>>
~~~~~^~~~~~~~~~~
enable_if
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:440:63: note: 'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:79:10: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'?
std::enable_if_t<std::is_arithmetic<T>::value, double_return_t<T>>
~~~~~^~~~~~~~~~~
enable_if
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:440:63: note: 'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:148:10: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'?
std::enable_if_t<std::is_pointer<T>::value, reverse_return_t<T>>
~~~~~^~~~~~~~~~~
enable_if
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:440:63: note: 'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:436:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:130:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:154:10: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'?
std::enable_if_t<!std::is_pointer<T>::value, reverse_return_t<T>>
~~~~~^~~~~~~~~~~
enable_if
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:440:63: note: 'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:1:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Core:535:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:2:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/LU:47:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Cholesky:12:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Jacobi:29:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Cholesky:43:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/QR:17:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Householder:27:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/SVD:48:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:6:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Geometry:58:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Dense:7:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Eigenvalues:58:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Sparse:26:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/SparseCore:66:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Sparse:27:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/OrderingMethods:71:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Sparse:29:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/SparseCholesky:43:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Sparse:32:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/SparseQR:35:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:14:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/Sparse:33:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/IterativeLinearSolvers:46:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/RcppEigen.h:25:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/RcppEigenForward.h:32:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/CholmodSupport:45:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/RcppEigen.h:25:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/RcppEigenForward.h:35:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/RcppEigen.h:25:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/RcppEigenForward.h:39:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/unsupported/Eigen/Polynomials:135:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/RcppEigen.h:25:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/RcppEigenForward.h:40:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/unsupported/Eigen/SparseExtra:51:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:6:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/meta.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/arr/meta/index_type.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/arr/meta/is_vector.hpp:4:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/scal/meta/is_vector.hpp:23:26: error: no template named 'decay_t' in namespace 'std'; did you mean 'decay'?
: bool_constant<std::decay_t<T>::RowsAtCompileTime == 1> {};
~~~~~^~~~~~~
decay
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:1371:29: note: 'decay' declared here
struct _LIBCPP_TEMPLATE_VIS decay
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:6:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/meta.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/arr/meta/index_type.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/arr/meta/is_vector.hpp:4:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/scal/meta/is_vector.hpp:36:41: error: no template named 'decay_t' in namespace 'std'; did you mean 'decay'?
: std::integral_constant<bool, std::decay_t<T>::ColsAtCompileTime == 1> {};
~~~~~^~~~~~~
decay
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:1371:29: note: 'decay' declared here
struct _LIBCPP_TEMPLATE_VIS decay
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:6:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/meta.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/arr/meta/index_type.hpp:4:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/arr/meta/is_vector.hpp:32:13: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'?
T, std::enable_if_t<internal::is_std_vector_impl<std::decay_t<T>>::value>>
~~~~~^~~~~~~~~~~
enable_if
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:440:63: note: 'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:6:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/meta.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/arr/meta/index_type.hpp:4:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/arr/meta/is_vector.hpp:32:59: error: no template named 'decay_t' in namespace 'std'; did you mean 'decay'?
T, std::enable_if_t<internal::is_std_vector_impl<std::decay_t<T>>::value>>
~~~~~^~~~~~~
decay
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:1371:29: note: 'decay' declared here
struct _LIBCPP_TEMPLATE_VIS decay
^
In file included from Modules.cpp:3:
In file included from ./include/models.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:6:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/meta.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/arr/meta/index_type.hpp:5:
/Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/scal/meta/index_type.hpp:28:27: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'?
struct index_type<T, std::enable_if_t<std::is_pointer<T>::value>> {
~~~~~^~~~~~~~~~~
enable_if
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:440:63: note: 'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
17 warnings and 20 errors generated.
make: *** [Modules.o] Error 1
ERROR: compilation failed for package ‘growmodr’
...
were not used.We detected these problematic arguments:
args
Did you misspecify an argument?
OK -- will try and chase this up. It might be as simple as a Stan version mismatch or might be something deeper.
Trying to install on MacBook pro 2015running mojave. latest version R and R-stuido. I'm getting these error messages: In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/arr/meta/is_vector.hpp:4: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/StanHeaders/include/stan/math/prim/scal/meta/is_vector.hpp:23:26: error: no template named 'decay_t' in namespace 'std'; did you mean 'decay'? : bool_constant<std::decay_t::RowsAtCompileTime == 1> {};