Loading this package had a fatal error status code 1
Loading log:
Loading required package: Rcpp
DIAGNOSTIC(S) FROM PARSER:
Info: left-hand side variable (name=cp_idx) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
Info: left-hand side variable (name=m_pr) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.

In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/config.hpp:39:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/tools/config.hpp:13,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/var.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/config/compiler/gcc.hpp:186:0: warning: "BOOST_NO_CXX11_RVALUE_REFERENCES" redefined
 #  define BOOST_NO_CXX11_RVALUE_REFERENCES
 ^
<command-line>:0:0: note: this is the location of the previous definition
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/var.hpp:56:3: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat]
   bool is_uninitialized() { return (vi_ == static_cast<vari*>(nullptr)); }
   ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_multiply.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:162,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:20:3: warning: identifier 'constexpr' is a keyword in C++11 [-Wc++0x-compat]
   static constexpr int p_max = 8;
   ^
In file included from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/thread:35:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:10,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:13,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:262,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \
  ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:9:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:47:5: warning: identifier 'decltype' is a keyword in C++11 [-Wc++0x-compat]
     auto integrate(const F f, Real a, Real b, Real tolerance = tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) ->decltype(Real(std::declval<F>()(std::declval<Real>()))) const;
     ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/memory/stack_alloc.hpp: In destructor 'stan::math::stack_alloc::~stack_alloc()':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/memory/stack_alloc.hpp:145:10: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     for (auto& block : blocks_)
          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/memory/stack_alloc.hpp:145:24: error: range-based 'for' loops are not allowed in C++98 mode
     for (auto& block : blocks_)
                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/memory/stack_alloc.hpp:147:19: error: invalid conversion from 'int' to 'void*' [-fpermissive]
         free(block);
                   ^
In file included from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cstdlib:72:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/memory/stack_alloc.hpp:8,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/stdlib.h:438:16: note: initializing argument 1 of 'void free(void*)'
   void __cdecl free(void *_Memory);
                ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:4:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:47:69: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
     AutodiffStackStorage &operator=(const AutodiffStackStorage &) = delete;
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:60:30: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
   AutodiffStackSingleton() = delete;
                              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:61:71: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
   explicit AutodiffStackSingleton(AutodiffStackSingleton_t const &) = delete;
                                                                       ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:62:73: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
   AutodiffStackSingleton &operator=(const AutodiffStackSingleton_t &) = delete;
                                                                         ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/var.hpp: In member function 'bool stan::math::var::is_uninitialized()':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/var.hpp:56:63: error: 'nullptr' was not declared in this scope
   bool is_uninitialized() { return (vi_ == static_cast<vari*>(nullptr)); }
                                                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/var.hpp: In function 'std::ostream& stan::math::operator<<(std::ostream&, const stan::math::var&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/var.hpp:473:18: error: 'nullptr' was not declared in this scope
     if (v.vi_ == nullptr)
                  ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:42:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/recover_memory.hpp: In function 'void stan::math::recover_memory()':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/recover_memory.hpp:25:8: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
   for (auto &x : ChainableStack::instance().var_alloc_stack_) {
        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/recover_memory.hpp:25:18: error: range-based 'for' loops are not allowed in C++98 mode
   for (auto &x : ChainableStack::instance().var_alloc_stack_) {
                  ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/recover_memory.hpp:26:12: error: type 'int' argument given to 'delete', expected pointer
     delete x;
            ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:44:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp: In function 'void stan::math::set_zero_all_adjoints()':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:15:8: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
   for (auto &x : ChainableStack::instance().var_stack_)
        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:15:18: error: range-based 'for' loops are not allowed in C++98 mode
   for (auto &x : ChainableStack::instance().var_stack_)
                  ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:16:6: error: base operand of '->' is not a pointer
     x->set_zero_adjoint();
      ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:17:8: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
   for (auto &x : ChainableStack::instance().var_nochain_stack_)
        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:17:18: error: range-based 'for' loops are not allowed in C++98 mode
   for (auto &x : ChainableStack::instance().var_nochain_stack_)
                  ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:18:6: error: base operand of '->' is not a pointer
     x->set_zero_adjoint();
      ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:22:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:19:56: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
 class ops_partials_edge<ViewElt, Eigen::Matrix<Op, R, C>> {
                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:19:56: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:19:56: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:19:56: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:19:56: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:19:59: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
 class ops_partials_edge<ViewElt, Eigen::Matrix<Op, R, C>> {
                                                           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:19:41: error: template argument 2 is invalid
 class ops_partials_edge<ViewElt, Eigen::Matrix<Op, R, C>> {
                                         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:38:68: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
 class ops_partials_edge<ViewElt, std::vector<Eigen::Matrix<Op, R, C>>> {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:38:68: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:38:70: error: template argument 3 is invalid
 class ops_partials_edge<ViewElt, std::vector<Eigen::Matrix<Op, R, C>>> {
                                                                      ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:38:70: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:38:70: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:38:72: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
 class ops_partials_edge<ViewElt, std::vector<Eigen::Matrix<Op, R, C>>> {
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:38:53: error: template argument 1 is invalid
 class ops_partials_edge<ViewElt, std::vector<Eigen::Matrix<Op, R, C>>> {
                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:38:53: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:38:72: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
 class ops_partials_edge<ViewElt, std::vector<Eigen::Matrix<Op, R, C>>> {
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:38:39: error: template argument 2 is invalid
 class ops_partials_edge<ViewElt, std::vector<Eigen::Matrix<Op, R, C>>> {
                                       ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:56:60: error: '>>' should be '> >' within a nested template argument list
 class ops_partials_edge<ViewElt, std::vector<std::vector<Op>>> {
                                                            ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:58:68: error: '>>' should be '> >' within a nested template argument list
   typedef empty_broadcast_array<ViewElt, std::vector<std::vector<Op>>>
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:61:63: error: '>>' should be '> >' within a nested template argument list
   empty_broadcast_array<partials_t, std::vector<std::vector<Op>>> partials_vec_;
                                                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/meta/operands_and_partials.hpp:63:62: error: '>>' should be '> >' within a nested template argument list
   explicit ops_partials_edge(const std::vector<std::vector<Op>> ops) {}
                                                              ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:99:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/csr_matrix_times_vector.hpp: In function 'Eigen::Matrix<typename boost::math::tools::promote_args<RT1, RT2>::type, -1, 1> stan::math::csr_matrix_times_vector(int, int, const Eigen::Matrix<Scalar, -1, 1>&, const std::vector<int>&, const std::vector<int>&, const Eigen::Matrix<RhsScalar, -1, 1>&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/csr_matrix_times_vector.hpp:91:16: error: range-based 'for' loops are not allowed in C++98 mode
   for (int i : v)
                ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:100:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/csr_to_dense_matrix.hpp: In function 'Eigen::Matrix<LhsScalar, -1, -1, 0> stan::math::csr_to_dense_matrix(int, int, const Eigen::Matrix<Scalar, -1, 1>&, const std::vector<int>&, const std::vector<int>&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/csr_to_dense_matrix.hpp:48:16: error: range-based 'for' loops are not allowed in C++98 mode
   for (int i : v)
                ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/gp_dot_prod_cov.hpp:11:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:131,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:85:42: error: 'nullptr' was not declared in this scope
                          vari** shared = nullptr) {
                                          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:97:42: error: 'nullptr' was not declared in this scope
                          vari** shared = nullptr) {
                                          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:109:43: error: 'nullptr' was not declared in this scope
                          double* shared = nullptr) {
                                           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:121:43: error: 'nullptr' was not declared in this scope
                          double* shared = nullptr) {
                                           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp: In member function 'void stan::math::{anonymous}::dot_product_vari<T1, T2>::initialize(stan::math::vari**&, const stan::math::var*, stan::math::vari**)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:86:19: error: 'nullptr' was not declared in this scope
     if (shared == nullptr) {
                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp: In member function 'void stan::math::{anonymous}::dot_product_vari<T1, T2>::initialize(stan::math::vari**&, const Eigen::DenseBase<OtherDerived>&, stan::math::vari**)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:98:19: error: 'nullptr' was not declared in this scope
     if (shared == nullptr) {
                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp: In member function 'void stan::math::{anonymous}::dot_product_vari<T1, T2>::initialize(double*&, const double*, double*)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:110:19: error: 'nullptr' was not declared in this scope
     if (shared == nullptr) {
                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp: In member function 'void stan::math::{anonymous}::dot_product_vari<T1, T2>::initialize(double*&, const Eigen::DenseBase<OtherDerived>&, double*)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:122:19: error: 'nullptr' was not declared in this scope
     if (shared == nullptr) {
                   ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:156:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/log_mix.hpp: In function 'typename stan::return_type<T_theta, std::vector<Eigen::Matrix<OpElt, R, C> > >::type stan::math::log_mix(const T_theta&, const std::vector<Eigen::Matrix<OpElt, R, C> >&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/log_mix.hpp:178:67: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
               .unaryExpr([](T_partials_return x) { return exp(x); });
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/log_mix.hpp: In function 'typename stan::return_type<T_theta, std::vector<std::vector<T> > >::type stan::math::log_mix(const T_theta&, const std::vector<std::vector<T> >&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/log_mix.hpp:262:65: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
             .unaryExpr([](T_partials_return x) { return exp(x); });
                                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:161,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp: In function 'Mtype stan::math::matrix_exp_2x2(const Mtype&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:21:9: error: expected nested-name-specifier before 'T'
   using T = typename Mtype::Scalar;
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:22:3: error: 'T' was not declared in this scope
   T a = A(0, 0), b = A(0, 1), c = A(1, 0), d = A(1, 1), delta;
   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:23:3: error: 'delta' was not declared in this scope
   delta = sqrt(square(a - d) + 4 * b * c);
   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:23:23: error: 'a' was not declared in this scope
   delta = sqrt(square(a - d) + 4 * b * c);
                       ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:23:27: error: 'd' was not declared in this scope
   delta = sqrt(square(a - d) + 4 * b * c);
                           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:23:36: error: 'b' was not declared in this scope
   delta = sqrt(square(a - d) + 4 * b * c);
                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:23:40: error: 'c' was not declared in this scope
   delta = sqrt(square(a - d) + 4 * b * c);
                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:25:50: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols> class Eigen::Matrix'
   Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> B(2, 2);
                                                  ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:25:50: error:   expected a type, got 'T'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:25:53: error: invalid type in declaration before '(' token
   Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> B(2, 2);
                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:25:58: error: expression list treated as compound expression in initializer [-fpermissive]
   Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> B(2, 2);
                                                          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:26:5: error: expected ';' before 'half_delta'
   T half_delta = 0.5 * delta;
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:27:5: error: expected ';' before 'cosh_half_delta'
   T cosh_half_delta = cosh(half_delta);
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:28:5: error: expected ';' before 'sinh_half_delta'
   T sinh_half_delta = sinh(half_delta);
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:29:5: error: expected ';' before 'exp_half_a_plus_d'
   T exp_half_a_plus_d = exp(0.5 * (a + d));
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:30:5: error: expected ';' before 'Two_exp_sinh'
   T Two_exp_sinh = 2 * exp_half_a_plus_d * sinh_half_delta;
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:31:5: error: expected ';' before 'delta_cosh'
   T delta_cosh = delta * cosh_half_delta;
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:32:5: error: expected ';' before 'ad_sinh_half_delta'
   T ad_sinh_half_delta = (a - d) * sinh_half_delta;
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:34:9: error: 'B' cannot be used as a function
   B(0, 0) = exp_half_a_plus_d * (delta_cosh + ad_sinh_half_delta);
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:34:13: error: 'exp_half_a_plus_d' was not declared in this scope
   B(0, 0) = exp_half_a_plus_d * (delta_cosh + ad_sinh_half_delta);
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:34:34: error: 'delta_cosh' was not declared in this scope
   B(0, 0) = exp_half_a_plus_d * (delta_cosh + ad_sinh_half_delta);
                                  ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:34:47: error: 'ad_sinh_half_delta' was not declared in this scope
   B(0, 0) = exp_half_a_plus_d * (delta_cosh + ad_sinh_half_delta);
                                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:35:9: error: 'B' cannot be used as a function
   B(0, 1) = b * Two_exp_sinh;
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:35:17: error: 'Two_exp_sinh' was not declared in this scope
   B(0, 1) = b * Two_exp_sinh;
                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:36:9: error: 'B' cannot be used as a function
   B(1, 0) = c * Two_exp_sinh;
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:37:9: error: 'B' cannot be used as a function
   B(1, 1) = exp_half_a_plus_d * (delta_cosh - ad_sinh_half_delta);
         ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_multiply.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:162,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:20:10: error: 'constexpr' does not name a type
   static constexpr int p_max = 8;
          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:20:10: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:21:10: error: 'constexpr' does not name a type
   static constexpr int m_max = 55;
          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:21:10: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:22:10: error: 'constexpr' does not name a type
   static constexpr double tol = 1.1e-16;
          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:22:10: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:27:41: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
       7.7e0,  9.1e0, 1.1e1, 1.2e1, 1.3e1};
                                         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:30:43: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
       4.7e0,  6.0e0,  7.2e0,  8.5e0, 9.9e0};
                                           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:25:53: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
   const std::vector<double> theta_m_single_precision{
                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:27:41: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
       7.7e0,  9.1e0, 1.1e1, 1.2e1, 1.3e1};
                                         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:27:41: error: could not convert '{1.3e-1, 1.0e+0, 2.2000000000000002e+0, 3.6000000000000001e+0, 4.9000000000000004e+0, 6.2999999999999998e+0, 7.7000000000000002e+0, 9.0999999999999996e+0, 1.1e+1, 1.2e+1, 1.3e+1}' from '<brace-enclosed initializer list>' to 'const std::vector<double>'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:28:53: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
   const std::vector<double> theta_m_double_precision{
                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:30:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
       4.7e0,  6.0e0,  7.2e0,  8.5e0, 9.9e0};
                                           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:30:43: error: could not convert '{2.3999999999999998e-3, 1.4000000000000001e-1, 6.4000000000000001e-1, 1.3999999999999999e+0, 2.3999999999999999e+0, 3.5e+0, 4.7000000000000002e+0, 6.0e+0, 7.2000000000000002e+0, 8.5e+0, 9.9000000000000004e+0}' from '<brace-enclosed initializer list>' to 'const std::vector<double>'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp: In member function 'Eigen::MatrixXd stan::math::matrix_exp_action_handler::action(const MatrixXd&, const MatrixXd&, const double&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:56:10: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
     int m{0}, s{0};
          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:56:16: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
     int m{0}, s{0};
                ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:65:13: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
       const auto eta = std::exp(t * mu / s);
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:65:18: error: 'eta' does not name a type
       const auto eta = std::exp(t * mu / s);
                  ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:67:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
         auto c1 = B.template lpNorm<Eigen::Infinity>();
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:67:14: error: 'c1' does not name a type
         auto c1 = B.template lpNorm<Eigen::Infinity>();
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:71:13: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
             auto c2 = B.template lpNorm<Eigen::Infinity>();
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:71:18: error: 'c2' does not name a type
             auto c2 = B.template lpNorm<Eigen::Infinity>();
                  ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:73:17: error: 'c1' was not declared in this scope
             if (c1 + c2 < tol * F.template lpNorm<Eigen::Infinity>()) {
                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:73:22: error: 'c2' was not declared in this scope
             if (c1 + c2 < tol * F.template lpNorm<Eigen::Infinity>()) {
                      ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:73:27: error: 'tol' was not declared in this scope
             if (c1 + c2 < tol * F.template lpNorm<Eigen::Infinity>()) {
                           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:77:13: error: 'c1' was not declared in this scope
             c1 = c2;
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:77:18: error: 'c2' was not declared in this scope
             c1 = c2;
                  ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:80:14: error: 'eta' was not declared in this scope
         F *= eta;
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp: In member function 'void stan::math::matrix_exp_action_handler::set_approximation_parameter(const MatrixXd&, const double&, int&, int&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:106:23: error: 'tol' was not declared in this scope
     if (l1norm(mat) < tol || t < tol) {
                       ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:110:11: error: 'm_max' was not declared in this scope
       m = m_max;
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:114:12: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
       for (auto i = 0; i < std::ceil(std::log2(p_max)); ++i) {
            ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:114:17: error: 'i' does not name a type
       for (auto i = 0; i < std::ceil(std::log2(p_max)); ++i) {
                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:114:24: error: expected ';' before 'i'
       for (auto i = 0; i < std::ceil(std::log2(p_max)); ++i) {
                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:114:24: error: 'i' was not declared in this scope
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:114:38: error: 'log2' is not a member of 'std'
       for (auto i = 0; i < std::ceil(std::log2(p_max)); ++i) {
                                      ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:114:38: note: suggested alternatives:
In file included from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:44:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/config/no_tr1/cmath.hpp:21,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/tools/config.hpp:19,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/var.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/math.h:638:25: note:   'log2'
   extern double __cdecl log2 (double);
                         ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:151:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/log2.hpp:38:59: note:   'stan::math::log2'
 inline typename apply_scalar_unary<log2_fun, T>::return_t log2(const T& x) {
                                                           ^
In file included from d:/RCompile/CRANpkg/lib/3.5/RcppEigen/include/Eigen/Core:368:0,
                 from d:/RCompile/CRANpkg/lib/3.5/RcppEigen/include/Eigen/Dense:1,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/Eigen_NumTraits.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/matrix_vari.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:14,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/RcppEigen/include/Eigen/src/Core/MathFunctions.h:1018:12: note:   'Eigen::numext::log2'
 inline int log2(int x)
            ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_multiply.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:162,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:114:48: error: 'p_max' was not declared in this scope
       for (auto i = 0; i < std::ceil(std::log2(p_max)); ++i) {
                                                ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:117:45: error: 'p_max' was not declared in this scope
       double ap = std::pow(l1norm(a), 1.0 / p_max);
                                             ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:6:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:13,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:262,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_reduce.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_reduce.hpp:45:44: error: 'nullptr' was not declared in this scope
                       std::ostream* msgs = nullptr) const {
                                            ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:7:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:13,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:262,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:41:51: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>
                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:41:51: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:42:7: error: 'ops_partials_t' was not declared in this scope
       ops_partials_t;
       ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:42:7: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:42:7: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:42:7: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:41:14: error: template argument 2 is invalid
       Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:41:14: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:39:11: warning: 'typedef' was ignored in this declaration
   typedef operands_and_partials<
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:43:15: error: 'ops_partials_t' was not declared in this scope
   std::vector<ops_partials_t> ops_partials_;
               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:43:29: error: template argument 1 is invalid
   std::vector<ops_partials_t> ops_partials_;
                             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:43:29: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 1 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 1 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 1 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:69: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: 'job_params' was not declared in this scope
           job_params)
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 3 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 1 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:59:11: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:13: error: invalid use of template-name 'std::vector' without an argument list
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:58:24: error: expected ',' or '...' before '<' token
       const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp: In constructor 'stan::math::internal::map_rect_combine<F, T_shared_param, T_job_param>::map_rect_combine(const Eigen::Matrix<RhsScalar, -1, 1>&, int)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:62:32: error: 'job_params' was not declared in this scope
         num_job_operands_(dims(job_params)[1]) {
                                ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:63:19: error: request for member 'reserve' in '((stan::math::internal::map_rect_combine<F, T_shared_param, T_job_param>*)this)->stan::math::internal::map_rect_combine<F, T_shared_param, T_job_param>::ops_partials_', which is of non-class type 'int'
     ops_partials_.reserve(job_params.size());
                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:64:16: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     for (const auto& job_param : job_params)
                ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:64:34: error: range-based 'for' loops are not allowed in C++98 mode
     for (const auto& job_param : job_params)
                                  ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:65:21: error: request for member 'emplace_back' in '((stan::math::internal::map_rect_combine<F, T_shared_param, T_job_param>*)this)->stan::math::internal::map_rect_combine<F, T_shared_param, T_job_param>::ops_partials_', which is of non-class type 'int'
       ops_partials_.emplace_back(shared_params, job_param);
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp: In member function 'stan::math::internal::map_rect_combine<F, T_shared_param, T_job_param>::result_t stan::math::internal::map_rect_combine<F, T_shared_param, T_job_param>::operator()(const matrix_d&, const std::vector<int>&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:81:26: error: invalid types 'int[std::size_t {aka unsigned int}]' for array subscript
           ops_partials_[i].edge1_.partials_
                          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:85:26: error: invalid types 'int[std::size_t {aka unsigned int}]' for array subscript
           ops_partials_[i].edge2_.partials_
                          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_combine.hpp:88:34: error: invalid types 'int[std::size_t {aka unsigned int}]' for array subscript
         out(ij) = ops_partials_[i].build(world_result(0, ij));
                                  ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:13:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:262,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:62:41: error: '>>' should be '> >' within a nested template argument list
     const std::vector<std::vector<double>>& x_r,
                                         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 1 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 1 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 1 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:67: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: 'job_params' was not declared in this scope
         job_params,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:61:9: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 3 is invalid
     const std::vector<std::vector<int>>& x_i, std::ostream* msgs = nullptr) {
                                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 1 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:63:68: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:11: error: invalid use of template-name 'std::vector' without an argument list
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:60:22: error: expected ',' or '...' before '<' token
     const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                      ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp: In function 'Eigen::Matrix<typename stan::return_type<T_shared_param, T_job_param>::type, -1, 1> stan::math::internal::map_rect_concurrent(const Eigen::Matrix<T_shared_param, -1, 1>&, int)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:67:24: error: 'job_params' was not declared in this scope
   const int num_jobs = job_params.size();
                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:69:15: error: 'future' is not a member of 'std'
   std::vector<std::future<std::vector<matrix_d>>> futures;
               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:69:15: error: 'future' is not a member of 'std'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:69:47: error: '>>' should be '> >' within a nested template argument list
   std::vector<std::future<std::vector<matrix_d>>> futures;
                                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:69:47: error: template argument 1 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:69:47: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:69:49: error: expected unqualified-id before '>' token
   std::vector<std::future<std::vector<matrix_d>>> futures;
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:71:3: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
   auto execute_chunk = [&](int start, int size) -> std::vector<matrix_d> {
   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:71:8: error: 'execute_chunk' does not name a type
   auto execute_chunk = [&](int start, int size) -> std::vector<matrix_d> {
        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:83:3: error: 'futures' was not declared in this scope
   futures.emplace_back(
   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:84:7: error: 'async' is not a member of 'std'
       std::async(std::launch::deferred, execute_chunk, 0, num_jobs_per_thread));
       ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:84:23: error: 'std::launch' has not been declared
       std::async(std::launch::deferred, execute_chunk, 0, num_jobs_per_thread));
                       ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:84:41: error: 'execute_chunk' was not declared in this scope
       std::async(std::launch::deferred, execute_chunk, 0, num_jobs_per_thread));
                                         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:113:16: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     for (const auto& job_result : chunk_result) {
                ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:113:35: error: range-based 'for' loops are not allowed in C++98 mode
     for (const auto& job_result : chunk_result) {
                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:114:46: error: request for member 'cols' in 'job_result', which is of non-class type 'const int'
       const int num_job_outputs = job_result.cols();
                                              ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:262:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:126:46: error: '>>' should be '> >' within a nested template argument list
          const std::vector<std::vector<double>>& x_r,
                                              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 1 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 1 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 1 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:72: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: 'job_params' was not declared in this scope
              job_params,
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:125:14: error: '&' cannot appear in a constant-expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 3 is invalid
          std::ostream* msgs = nullptr) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 1 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:128:31: error: template argument 2 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:16: error: invalid use of template-name 'std::vector' without an argument list
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:124:27: error: expected ',' or '...' before '<' token
          const std::vector<Eigen::Matrix<T_job_param, Eigen::Dynamic, 1>>&
                           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp: In function 'Eigen::Matrix<typename stan::return_type<T_shared_param, T_job_param>::type, -1, 1> stan::math::map_rect(const Eigen::Matrix<T_shared_param, -1, 1>&, int)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:135:52: error: 'job_params' was not declared in this scope
   check_matching_sizes(function, "job parameters", job_params, "real data",
                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:136:24: error: 'x_r' was not declared in this scope
                        x_r);
                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:137:76: error: 'x_i' was not declared in this scope
   check_matching_sizes(function, "job parameters", job_params, "int data", x_i);
                                                                            ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:176:44: error: 'msgs' was not declared in this scope
       shared_params, job_params, x_r, x_i, msgs);
                                            ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:30:31: warning: variadic templates only available with -std=c++11 or -std=gnu++11
 template <typename T, typename... Ts>
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:31: error: expected ',' or '...' before '&&' token
 inline bool size_zero(T& x, Ts&&... xs) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:39: error: parameter packs not expanded with '...':
 inline bool size_zero(T& x, Ts&&... xs) {
                                       ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:39: note:         'Ts'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp: In function 'bool stan::math::size_zero(T&, <type error>)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:32:37: error: 'forward' is not a member of 'std'
   return (size_zero(x) || size_zero(std::forward<Ts>(xs)...));
                                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:32:37: note: suggested alternative:
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/iterator/iterator_facade.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/iterator/detail/segmented_iterator.hpp:13,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/iterator/segmented_iterator.hpp:11,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/sequence/intrinsic/begin.hpp:18,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/container/vector/detail/cpp03/vector10.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/container/vector/detail/cpp03/vector_fwd.hpp:15,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/container/vector/vector_fwd.hpp:18,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/container/vector/vector.hpp:13,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/tuple/detail/tuple.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/tuple/tuple.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/tuple.hpp:11,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/include/tuple.hpp:11,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/tools/tuple.hpp:68,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/special_functions/detail/igamma_inverse.hpp:13,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/special_functions/gamma.hpp:2072,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/special_functions/erf.hpp:15,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/Phi.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/Phi.hpp:5,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:55,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/fusion/iterator/detail/advance.hpp:24:12: note:   'boost::fusion::advance_detail::forward'
     struct forward;
            ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:32:52: error: expected primary-expression before '>' token
   return (size_zero(x) || size_zero(std::forward<Ts>(xs)...));
                                                    ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:32:54: error: 'xs' was not declared in this scope
   return (size_zero(x) || size_zero(std::forward<Ts>(xs)...));
                                                      ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/categorical_logit_lpmf.hpp:6:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/categorical_logit_log.hpp:5,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:269,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/fun/log_sum_exp.hpp: In function 'double stan::math::log_sum_exp(const std::vector<double>&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/fun/log_sum_exp.hpp:30:20: error: range-based 'for' loops are not allowed in C++98 mode
   for (double xx : x)
                    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/categorical_logit_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:269,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/categorical_logit_lpmf.hpp: In function 'typename boost::math::tools::promote_args<T2>::type stan::math::categorical_logit_lpmf(const std::vector<int>&, const Eigen::Matrix<RhsScalar, -1, 1>&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/categorical_logit_lpmf.hpp:47:14: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
   for (const auto& x : ns)
              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/categorical_logit_lpmf.hpp:47:24: error: range-based 'for' loops are not allowed in C++98 mode
   for (const auto& x : ns)
                        ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/lkj_corr_cholesky_rng.hpp:7:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:284,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/beta_rng.hpp: In function 'typename stan::VectorBuilder<true, double, T_loc, T_scale>::type stan::math::beta_rng(const T_shape1&, const T_shape2&, RNG&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/beta_rng.hpp:53:54: error: '>>' should be '> >' within a nested template argument list
   variate_generator<RNG &, uniform_real_distribution<>> uniform_rng(
                                                      ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/beta_rng.hpp:60:51: error: '>>' should be '> >' within a nested template argument list
       variate_generator<RNG &, gamma_distribution<>> rng_gamma_alpha(
                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/beta_rng.hpp:62:51: error: '>>' should be '> >' within a nested template argument list
       variate_generator<RNG &, gamma_distribution<>> rng_gamma_beta(
                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/beta_rng.hpp:68:51: error: '>>' should be '> >' within a nested template argument list
       variate_generator<RNG &, gamma_distribution<>> rng_gamma_alpha(
                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/beta_rng.hpp:70:51: error: '>>' should be '> >' within a nested template argument list
       variate_generator<RNG &, gamma_distribution<>> rng_gamma_beta(
                                                   ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/multinomial_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:307,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/multinomial_lpmf.hpp: In function 'typename boost::math::tools::promote_args<T2>::type stan::math::multinomial_lpmf(const std::vector<int>&, const Eigen::Matrix<RhsScalar, -1, 1>&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/multinomial_lpmf.hpp:37:18: error: range-based 'for' loops are not allowed in C++98 mode
     for (int n : ns)
                  ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/multinomial_lpmf.hpp:40:18: error: range-based 'for' loops are not allowed in C++98 mode
     for (int n : ns)
                  ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:310:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/neg_binomial_2_log_glm_lpmf.hpp: In function 'typename stan::return_type<T_x, T_beta, T_alpha, T_precision>::type stan::math::neg_binomial_2_log_glm_lpmf(const T_n&, const T_x&, const T_beta&, const T_alpha&, const T_precision&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/neg_binomial_2_log_glm_lpmf.hpp:119:9: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
         });
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/neg_binomial_2_log_glm_lpmf.hpp:126:74: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
                     [](const T_partials_return& xx) { return lgamma(xx); })
                                                                          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/neg_binomial_2_log_glm_lpmf.hpp:134:18: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
                  })
                  ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/neg_binomial_2_log_glm_lpmf.hpp:136:73: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
                    [](const T_partials_return& xx) { return lgamma(xx); }))
                                                                         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/neg_binomial_2_log_glm_lpmf.hpp:146:74: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
                     [](const T_partials_return& xx) { return lgamma(xx); })
                                                                          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/neg_binomial_2_log_glm_lpmf.hpp:178:72: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
                  [](const T_partials_return& xx) { return digamma(xx); })
                                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/neg_binomial_2_log_glm_lpmf.hpp:180:72: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
                  [](const T_partials_return& xx) { return digamma(xx); }))
                                                                        ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:25:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/fun/dot_self.hpp: In function 'double stan::math::dot_self(const std::vector<double>&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/fun/dot_self.hpp:12:19: error: range-based 'for' loops are not allowed in C++98 mode
   for (double i : x)
                   ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:126:41: error: '>>' should be '> >' within a nested template argument list
     mutable std::vector<std::vector<Real>> m_abscissas;
                                         ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:127:41: error: '>>' should be '> >' within a nested template argument list
     mutable std::vector<std::vector<Real>> m_weights;
                                         ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp: In member function 'Real boost::math::quadrature::detail::exp_sinh_detail<Real, Policy>::integrate(const F&, Real*, Real*, const char*, Real, std::size_t*) const':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:201:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
         auto abscissas_row = get_abscissa_row(i);
         ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:201:14: error: 'abscissas_row' does not name a type
         auto abscissas_row = get_abscissa_row(i);
              ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:202:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
         auto weight_row = get_weight_row(i);
         ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:202:14: error: 'weight_row' does not name a type
         auto weight_row = get_weight_row(i);
              ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:208:22: error: 'abscissas_row' was not declared in this scope
             Real x = abscissas_row[j];
                      ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:210:22: error: 'weight_row' was not declared in this scope
             sum += y*weight_row[j];
                      ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp: In member function 'void boost::math::quadrature::detail::exp_sinh_detail<Real, Policy>::init(const mpl_::int_<0>&)':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:266:15: error: 'std::asinh' has not been declared
    using std::asinh;
               ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp: In member function 'void boost::math::quadrature::detail::exp_sinh_detail<Real, Policy>::init(const mpl_::int_<1>&)':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:337:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:347:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp: In member function 'void boost::math::quadrature::detail::exp_sinh_detail<Real, Policy>::init(const mpl_::int_<2>&)':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:373:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:383:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp: In member function 'void boost::math::quadrature::detail::exp_sinh_detail<Real, Policy>::init(const mpl_::int_<3>&)':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:409:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:419:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp: In member function 'void boost::math::quadrature::detail::exp_sinh_detail<Real, Policy>::init(const mpl_::int_<4>&)':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:446:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/exp_sinh_detail.hpp:456:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:38:10: error: 'shared_ptr' in namespace 'std' does not name a template type
     std::shared_ptr<detail::exp_sinh_detail<Real, Policy>> m_imp;
          ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:33:115: error: 'nullptr' was not declared in this scope
     Real integrate(const F& f, Real a, Real b, Real tol = boost::math::tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) const;
                                                                                                                   ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:33:135: error: 'nullptr' was not declared in this scope
     Real integrate(const F& f, Real a, Real b, Real tol = boost::math::tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) const;
                                                                                                                                       ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:33:166: error: 'nullptr' was not declared in this scope
     Real integrate(const F& f, Real a, Real b, Real tol = boost::math::tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) const;
                                                                                                                                                                      ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:35:99: error: 'nullptr' was not declared in this scope
     Real integrate(const F& f, Real tol = boost::math::tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) const;
                                                                                                   ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:35:119: error: 'nullptr' was not declared in this scope
     Real integrate(const F& f, Real tol = boost::math::tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) const;
                                                                                                                       ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:35:150: error: 'nullptr' was not declared in this scope
     Real integrate(const F& f, Real tol = boost::math::tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) const;
                                                                                                                                                      ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp: In constructor 'boost::math::quadrature::exp_sinh<Real, Policy>::exp_sinh(size_t)':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:30:9: error: class 'boost::math::quadrature::exp_sinh<Real, Policy>' does not have any field named 'm_imp'
       : m_imp(std::make_shared<detail::exp_sinh_detail<Real, Policy>>(max_refinements)) {}
         ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:30:15: error: 'make_shared' is not a member of 'std'
       : m_imp(std::make_shared<detail::exp_sinh_detail<Real, Policy>>(max_refinements)) {}
               ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:30:68: error: spurious '>>', use '>' to terminate a template argument list
       : m_imp(std::make_shared<detail::exp_sinh_detail<Real, Policy>>(max_refinements)) {}
                                                                    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:7:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp: In member function 'Real boost::math::quadrature::exp_sinh<Real, Policy>::integrate(const F&, Real, Real, Real, Real*, Real*, std::size_t*) const':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:60:20: error: 'm_imp' was not declared in this scope
             return m_imp->integrate(f, error, L1, function, tolerance, levels);
                    ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:62:15: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
         const auto u = [&](Real t)->Real { return f(t + a); };
               ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:62:20: error: 'u' does not name a type
         const auto u = [&](Real t)->Real { return f(t + a); };
                    ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:63:16: error: 'm_imp' was not declared in this scope
         return m_imp->integrate(u, error, L1, function, tolerance, levels);
                ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:63:33: error: 'u' was not declared in this scope
         return m_imp->integrate(u, error, L1, function, tolerance, levels);
                                 ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:68:15: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
         const auto u = [&](Real t)->Real { return f(b-t);};
               ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:68:20: error: 'u' does not name a type
         const auto u = [&](Real t)->Real { return f(b-t);};
                    ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:69:16: error: 'm_imp' was not declared in this scope
         return m_imp->integrate(u, error, L1, function, tolerance, levels);
                ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:69:33: error: 'u' was not declared in this scope
         return m_imp->integrate(u, error, L1, function, tolerance, levels);
                                 ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp: In member function 'Real boost::math::quadrature::exp_sinh<Real, Policy>::integrate(const F&, Real, Real*, Real*, std::size_t*) const':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/exp_sinh.hpp:91:12: error: 'm_imp' was not declared in this scope
     return m_imp->integrate(f, error, L1, function, tolerance, levels);
            ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:125:40: error: '>>' should be '> >' within a nested template argument list
    mutable std::vector<std::vector<Real>> m_abscissas;
                                        ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:126:40: error: '>>' should be '> >' within a nested template argument list
    mutable std::vector<std::vector<Real>> m_weights;
                                        ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp: In member function 'Real boost::math::quadrature::detail::sinh_sinh_detail<Real, Policy>::integrate(F, Real, Real*, Real*, std::size_t*) const':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:214:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
         auto abscissa_row = get_abscissa_row(i);
         ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:214:14: error: 'abscissa_row' does not name a type
         auto abscissa_row = get_abscissa_row(i);
              ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:215:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
         auto weight_row = get_weight_row(i);
         ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:215:14: error: 'weight_row' does not name a type
         auto weight_row = get_weight_row(i);
              ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:217:31: error: 'abscissa_row' was not declared in this scope
         for(size_t j = 0; j < abscissa_row.size(); ++j)
                               ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:222:30: error: 'weight_row' was not declared in this scope
             sum += (yp + ym)*weight_row[j];
                              ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp: In member function 'void boost::math::quadrature::detail::sinh_sinh_detail<Real, Policy>::init(const mpl_::int_<1>&)':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:327:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:337:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp: In member function 'void boost::math::quadrature::detail::sinh_sinh_detail<Real, Policy>::init(const mpl_::int_<2>&)':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:363:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:373:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp: In member function 'void boost::math::quadrature::detail::sinh_sinh_detail<Real, Policy>::init(const mpl_::int_<3>&)':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:400:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:410:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp: In member function 'void boost::math::quadrature::detail::sinh_sinh_detail<Real, Policy>::init(const mpl_::int_<4>&)':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:437:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:21:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp:447:4: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
    };
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:39:10: error: 'shared_ptr' in namespace 'std' does not name a template type
     std::shared_ptr<detail::sinh_sinh_detail<Real, Policy>> m_imp;
          ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:33:98: error: 'nullptr' was not declared in this scope
     Real integrate(const F f, Real tol = boost::math::tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) const
                                                                                                  ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:33:118: error: 'nullptr' was not declared in this scope
     Real integrate(const F f, Real tol = boost::math::tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) const
                                                                                                                      ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:33:149: error: 'nullptr' was not declared in this scope
     Real integrate(const F f, Real tol = boost::math::tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) const
                                                                                                                                                     ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp: In constructor 'boost::math::quadrature::sinh_sinh<Real, Policy>::sinh_sinh(size_t)':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:30:11: error: class 'boost::math::quadrature::sinh_sinh<Real, Policy>' does not have any field named 'm_imp'
         : m_imp(std::make_shared<detail::sinh_sinh_detail<Real, Policy> >(max_refinements)) {}
           ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:30:17: error: 'make_shared' is not a member of 'std'
         : m_imp(std::make_shared<detail::sinh_sinh_detail<Real, Policy> >(max_refinements)) {}
                 ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:30:73: error: expected primary-expression before '>' token
         : m_imp(std::make_shared<detail::sinh_sinh_detail<Real, Policy> >(max_refinements)) {}
                                                                         ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:8:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp: In member function 'Real boost::math::quadrature::sinh_sinh<Real, Policy>::integrate(F, Real, Real*, Real*, std::size_t*) const':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/sinh_sinh.hpp:35:16: error: 'm_imp' was not declared in this scope
         return m_imp->integrate(f, tol, error, L1, levels);
                ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:35:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:9,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp:169:40: error: '>>' should be '> >' within a nested template argument list
    mutable std::vector<std::vector<Real>> m_abscissas;
                                        ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp:170:40: error: '>>' should be '> >' within a nested template argument list
    mutable std::vector<std::vector<Real>> m_weights;
                                        ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp: In member function 'Real boost::math::quadrature::detail::tanh_sinh_detail<Real, Policy>::integrate(F, Real*, Real*, const char*, Real, Real, Real, std::size_t*) const':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp:279:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
         auto const& abscissa_row = this->get_abscissa_row(k);
         ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp:280:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
         auto const& weight_row = this->get_weight_row(k);
         ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp:298:27: error: request for member 'size' in 'abscissa_row', which is of non-class type 'const int'
         if ((abscissa_row.size() > max_left_index + 1) && (fabs(abscissa_row[max_left_index + 1]) > left_min_complement))
                           ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp:298:96: error: invalid types 'const int[std::size_t {aka unsigned int}]' for array subscript
         if ((abscissa_row.size() > max_left_index + 1) && (fabs(abscissa_row[max_left_index + 1]) > left_min_complement))
                                                                                                ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp:303:27: error: request for member 'size' in 'abscissa_row', which is of non-class type 'const int'
         if ((abscissa_row.size() > max_right_index + 1) && (fabs(abscissa_row[max_right_index + 1]) > right_min_complement))
                           ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp:303:98: error: invalid types 'const int[std::size_t {aka unsigned int}]' for array subscript
         if ((abscissa_row.size() > max_right_index + 1) && (fabs(abscissa_row[max_right_index + 1]) > right_min_complement))
                                                                                                  ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp:309:42: error: request for member 'size' in 'weight_row', which is of non-class type 'const int'
         for(size_t j = 0; j < weight_row.size(); ++j)
                                          ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp:315:36: error: invalid types 'const int[size_t {aka unsigned int}]' for array subscript
             Real x = abscissa_row[j];
                                    ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp:317:34: error: invalid types 'const int[size_t {aka unsigned int}]' for array subscript
             Real w = weight_row[j];
                                  ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp: In member function 'void boost::math::quadrature::detail::tanh_sinh_detail<Real, Policy>::init(const Real&, const mpl_::int_<0>&)':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp:404:15: error: 'std::asinh' has not been declared
    using std::asinh;
               ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp:405:15: error: 'std::atanh' has not been declared
    using std::atanh;
               ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:9:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:47:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     auto integrate(const F f, Real a, Real b, Real tolerance = tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) ->decltype(Real(std::declval<F>()(std::declval<Real>()))) const;
     ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:9:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:47:169: error: expected type-specifier before 'decltype'
     auto integrate(const F f, Real a, Real b, Real tolerance = tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) ->decltype(Real(std::declval<F>()(std::declval<Real>()))) const;
                                                                                                                                                                         ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:47:169: error: expected initializer before 'decltype'
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:49:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     auto integrate(const F f, Real a, Real b, Real tolerance = tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) ->decltype(Real(std::declval<F>()(std::declval<Real>(), std::declval<Real>()))) const;
     ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:49:169: error: expected type-specifier before 'decltype'
     auto integrate(const F f, Real a, Real b, Real tolerance = tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) ->decltype(Real(std::declval<F>()(std::declval<Real>(), std::declval<Real>()))) const;
                                                                                                                                                                         ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:49:169: error: expected initializer before 'decltype'
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:52:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     auto integrate(const F f, Real tolerance = tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) ->decltype(Real(std::declval<F>()(std::declval<Real>()))) const;
     ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:52:153: error: expected type-specifier before 'decltype'
     auto integrate(const F f, Real tolerance = tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) ->decltype(Real(std::declval<F>()(std::declval<Real>()))) const;
                                                                                                                                                         ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:52:153: error: expected initializer before 'decltype'
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:54:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     auto integrate(const F f, Real tolerance = tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) ->decltype(Real(std::declval<F>()(std::declval<Real>(), std::declval<Real>()))) const;
     ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:54:153: error: expected type-specifier before 'decltype'
     auto integrate(const F f, Real tolerance = tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) ->decltype(Real(std::declval<F>()(std::declval<Real>(), std::declval<Real>()))) const;
                                                                                                                                                         ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:54:153: error: expected initializer before 'decltype'
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:57:10: error: 'shared_ptr' in namespace 'std' does not name a template type
     std::shared_ptr<detail::tanh_sinh_detail<Real, Policy>> m_imp;
          ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:9:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp: In constructor 'boost::math::quadrature::tanh_sinh<Real, Policy>::tanh_sinh(size_t, const Real&)':
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:44:7: error: class 'boost::math::quadrature::tanh_sinh<Real, Policy>' does not have any field named 'm_imp'
     : m_imp(std::make_shared<detail::tanh_sinh_detail<Real, Policy>>(max_refinements, min_complement)) {}
       ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:44:13: error: 'make_shared' is not a member of 'std'
     : m_imp(std::make_shared<detail::tanh_sinh_detail<Real, Policy>>(max_refinements, min_complement)) {}
             ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:44:67: error: spurious '>>', use '>' to terminate a template argument list
     : m_imp(std::make_shared<detail::tanh_sinh_detail<Real, Policy>>(max_refinements, min_complement)) {}
                                                                   ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:9:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:62:1: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
 auto tanh_sinh<Real, Policy>::integrate(const F f, Real a, Real b, Real tolerance, Real* error, Real* L1, std::size_t* levels) ->decltype(Real(std::declval<F>()(std::declval<Real>()))) const
 ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:62:130: error: expected type-specifier before 'decltype'
 auto tanh_sinh<Real, Policy>::integrate(const F f, Real a, Real b, Real tolerance, Real* error, Real* L1, std::size_t* levels) ->decltype(Real(std::declval<F>()(std::declval<Real>()))) const
                                                                                                                                  ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:62:130: error: expected initializer before 'decltype'
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:187:1: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
 auto tanh_sinh<Real, Policy>::integrate(const F f, Real a, Real b, Real tolerance, Real* error, Real* L1, std::size_t* levels) ->decltype(Real(std::declval<F>()(std::declval<Real>(), std::declval<Real>()))) const
 ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:187:130: error: expected type-specifier before 'decltype'
 auto tanh_sinh<Real, Policy>::integrate(const F f, Real a, Real b, Real tolerance, Real* error, Real* L1, std::size_t* levels) ->decltype(Real(std::declval<F>()(std::declval<Real>(), std::declval<Real>()))) const
                                                                                                                                  ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:187:130: error: expected initializer before 'decltype'
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:224:1: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
 auto tanh_sinh<Real, Policy>::integrate(const F f, Real tolerance, Real* error, Real* L1, std::size_t* levels) ->decltype(Real(std::declval<F>()(std::declval<Real>()))) const
 ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:224:114: error: expected type-specifier before 'decltype'
 auto tanh_sinh<Real, Policy>::integrate(const F f, Real tolerance, Real* error, Real* L1, std::size_t* levels) ->decltype(Real(std::declval<F>()(std::declval<Real>()))) const
                                                                                                                  ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:224:114: error: expected initializer before 'decltype'
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:234:1: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
 auto tanh_sinh<Real, Policy>::integrate(const F f, Real tolerance, Real* error, Real* L1, std::size_t* levels) ->decltype(Real(std::declval<F>()(std::declval<Real>(), std::declval<Real>()))) const
 ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:234:114: error: expected type-specifier before 'decltype'
 auto tanh_sinh<Real, Policy>::integrate(const F f, Real tolerance, Real* error, Real* L1, std::size_t* levels) ->decltype(Real(std::declval<F>()(std::declval<Real>(), std::declval<Real>()))) const
                                                                                                                  ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/quadrature/tanh_sinh.hpp:234:114: error: expected initializer before 'decltype'
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp: In function 'double stan::math::integrate(const F&, double, double, double)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:59:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     auto f_wrap = [&](double x) {
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:59:10: error: 'f_wrap' does not name a type
     auto f_wrap = [&](double x) {
          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:63:30: error: 'f_wrap' was not declared in this scope
     Q = integrator.integrate(f_wrap, tolerance, &error1, &L1, &levels);
                              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:72:7: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
       auto f_wrap = [&](double x) {
       ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:72:12: error: 'f_wrap' does not name a type
       auto f_wrap = [&](double x) {
            ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:75:32: error: 'f_wrap' was not declared in this scope
       Q = integrator.integrate(f_wrap, tolerance, &error1, &L1, &levels);
                                ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:78:7: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
       auto f_wrap = [&](double x) {
       ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:78:12: error: 'f_wrap' does not name a type
       auto f_wrap = [&](double x) {
            ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:81:32: error: 'f_wrap' was not declared in this scope
       Q = integrator.integrate(f_wrap, tolerance, &error1, &L1, &levels)
                                ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:82:30: error: 'class boost::math::quadrature::tanh_sinh<double>' has no member named 'integrate'
           + integrator_right.integrate(f_wrap, -b, 0, tolerance, &error2, &L2,
                              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:89:7: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
       auto f_wrap = [&](double x) {
       ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:89:12: error: 'f_wrap' does not name a type
       auto f_wrap = [&](double x) {
            ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:92:32: error: 'f_wrap' was not declared in this scope
       Q = integrator.integrate(f_wrap, tolerance, &error1, &L1, &levels);
                                ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:95:7: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
       auto f_wrap = [&](double x) {
       ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:95:12: error: 'f_wrap' does not name a type
       auto f_wrap = [&](double x) {
            ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:98:32: error: 'f_wrap' was not declared in this scope
       Q = integrator.integrate(f_wrap, tolerance, &error1, &L1, &levels)
                                ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:99:30: error: 'class boost::math::quadrature::tanh_sinh<double>' has no member named 'integrate'
           + integrator_right.integrate(f_wrap, a, 0, tolerance, &error2, &L2,
                              ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:104:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     auto f_wrap = [&](double x, double xc) { return f(x, xc); };
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:104:10: error: 'f_wrap' does not name a type
     auto f_wrap = [&](double x, double xc) { return f(x, xc); };
          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:107:22: error: 'class boost::math::quadrature::tanh_sinh<double>' has no member named 'integrate'
       Q = integrator.integrate(f_wrap, a, 0.0, tolerance, &error1, &L1, &levels)
                      ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:107:32: error: 'f_wrap' was not declared in this scope
       Q = integrator.integrate(f_wrap, a, 0.0, tolerance, &error1, &L1, &levels)
                                ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:108:24: error: 'class boost::math::quadrature::tanh_sinh<double>' has no member named 'integrate'
           + integrator.integrate(f_wrap, 0.0, b, tolerance, &error2, &L2,
                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:112:22: error: 'class boost::math::quadrature::tanh_sinh<double>' has no member named 'integrate'
       Q = integrator.integrate(f_wrap, a, b, tolerance, &error1, &L1, &levels);
                      ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:112:32: error: 'f_wrap' was not declared in this scope
       Q = integrator.integrate(f_wrap, a, b, tolerance, &error1, &L1, &levels);
                                ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp: In function 'double stan::math::integrate_1d(const F&, double, double, const std::vector<double>&, const std::vector<double>&, const std::vector<int>&, std::ostream&, double)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:193:9: error: 'bind' is not a member of 'std'
         std::bind<double>(f, std::placeholders::_1, std::placeholders::_2,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:193:9: note: suggested alternative:
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/include_preprocessed.hpp:37:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/bind_fwd.hpp:32,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/bind.hpp:23,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/lambda.hpp:18,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/apply.hpp:25,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/iter_apply.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/find_if_pred.hpp:14,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/find_if.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/find.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/contains_impl.hpp:20,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/contains.hpp:20,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/policies/policy.hpp:10,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/special_functions/math_fwd.hpp:29,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/special_functions/fpclassify.hpp:19,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/is_nan.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:16,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp:18:8: note:   'boost::mpl::bind'
 struct bind;
        ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:43:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:193:19: error: expected primary-expression before 'double'
         std::bind<double>(f, std::placeholders::_1, std::placeholders::_2,
                   ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:44:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:73:41: error: 'nullptr' was not declared in this scope
                    std::ostream* msgs = nullptr,
                                         ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:73:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/choose.hpp: In function 'int stan::math::choose(int, int)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/choose.hpp:38:27: error: 'round' is not a member of 'std'
   return static_cast<int>(std::round(choices));
                           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/choose.hpp:38:27: note: suggested alternatives:
In file included from D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/cmath:44:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/config/no_tr1/cmath.hpp:21,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/tools/config.hpp:19,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/var.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/math.h:874:25: note:   'round'
   extern double __cdecl round (double);
                         ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:205:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/round.hpp:31:60: note:   'stan::math::round'
 inline typename apply_scalar_unary<round_fun, T>::return_t round(const T& x) {
                                                            ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/round.hpp:6:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/round.hpp:5,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:205,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/special_functions/round.hpp:68:46: note:   'boost::math::round'
 inline typename tools::promote_args<T>::type round(const T& v)
                                              ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/special_functions/round.hpp:55:46: note:   'boost::math::detail::round'
 inline typename tools::promote_args<T>::type round(const T& v, const Policy&, const mpl::true_)
                                              ^
In file included from d:/RCompile/CRANpkg/lib/3.5/RcppEigen/include/Eigen/Core:529:0,
                 from d:/RCompile/CRANpkg/lib/3.5/RcppEigen/include/Eigen/Dense:1,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/Eigen_NumTraits.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/matrix_vari.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:14,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/RcppEigen/include/Eigen/src/Core/GlobalFunctions.h:84:36: note:   'Eigen::round'
   EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(round,scalar_round_op,nearest integer,\sa Eigen::floor DOXCOMMA Eigen::ceil DOXCOMMA ArrayBase::round)
                                    ^
d:/RCompile/CRANpkg/lib/3.5/RcppEigen/include/Eigen/src/Core/GlobalFunctions.h:32:4: note: in definition of macro 'EIGEN_ARRAY_DECLARE_GLOBAL_UNARY'
   (NAME)(const Eigen::ArrayBase<Derived>& x) { \
    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/RcppEigen/include/Eigen/Core:368:0,
                 from d:/RCompile/CRANpkg/lib/3.5/RcppEigen/include/Eigen/Dense:1,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/Eigen_NumTraits.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/matrix_vari.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:14,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/RcppEigen/include/Eigen/src/Core/MathFunctions.h:978:45: note:   'Eigen::numext::round'
 inline EIGEN_MATHFUNC_RETVAL(round, Scalar) round(const Scalar& x)
                                             ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:95:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/grad_2F1.hpp: In function 'void stan::math::grad_2F1(T&, T&, const T&, const T&, const T&, const T&, const T&, int)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/grad_2F1.hpp:47:8: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
   for (auto& i : log_g_old)
        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/grad_2F1.hpp:47:18: error: range-based 'for' loops are not allowed in C++98 mode
   for (auto& i : log_g_old)
                  ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/grad_2F1.hpp:58:20: error: range-based 'for' loops are not allowed in C++98 mode
   for (double& x : log_g_old_sign)
                    ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:96:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/grad_F32.hpp: In function 'void stan::math::grad_F32(T*, const T&, const T&, const T&, const T&, const T&, const T&, const T&, int)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/grad_F32.hpp:49:8: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
   for (auto& x : log_g_old)
        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/grad_F32.hpp:49:18: error: range-based 'for' loops are not allowed in C++98 mode
   for (auto& x : log_g_old)
                  ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:198:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/beta_binomial_rng.hpp: In function 'typename stan::VectorBuilder<true, int, T_N, T_shape1, T_shape2>::type stan::math::beta_binomial_rng(const T_N&, const T_shape1&, const T_shape2&, RNG&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/beta_binomial_rng.hpp:43:3: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
   auto p = beta_rng(alpha, beta, rng);
   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/beta_binomial_rng.hpp:43:8: error: 'p' does not name a type
   auto p = beta_rng(alpha, beta, rng);
        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/beta_binomial_rng.hpp:44:26: error: 'p' was not declared in this scope
   return binomial_rng(N, p, rng);
                          ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr.hpp:14:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:13,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/functor/integrate_1d.hpp: In function 'stan::math::var stan::math::integrate_1d(const F&, const T_a&, const T_b&, const std::vector<T_l>&, const std::vector<double>&, const std::vector<int>&, std::ostream&, double)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/functor/integrate_1d.hpp:115:9: error: 'bind' is not a member of 'std'
         std::bind<double>(f, std::placeholders::_1, std::placeholders::_2,
         ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/functor/integrate_1d.hpp:115:9: note: suggested alternatives:
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind.hpp:22:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/util/bind.hpp:28,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:26,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/stepper/euler.hpp:23,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint.hpp:27,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:44,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:1868:20: note:   'boost::bind'
 #define BOOST_BIND bind
                    ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:2342:1: note: in expansion of macro 'BOOST_BIND'
 BOOST_BIND( M T::*f, A1 a1 )
 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/include_preprocessed.hpp:37:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/bind_fwd.hpp:32,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/bind.hpp:23,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/lambda.hpp:18,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/apply.hpp:25,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/iter_apply.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/find_if_pred.hpp:14,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/find_if.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/find.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/contains_impl.hpp:20,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/contains.hpp:20,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/policies/policy.hpp:10,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/special_functions/math_fwd.hpp:29,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/special_functions/fpclassify.hpp:19,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/is_nan.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:16,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp:18:8: note:   'boost::mpl::bind'
 struct bind;
        ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind.hpp:22:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/util/bind.hpp:28,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:26,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/stepper/euler.hpp:23,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint.hpp:27,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:44,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:1868:20: note:   'boost::bind'
 #define BOOST_BIND bind
                    ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:1875:5: note: in expansion of macro 'BOOST_BIND'
     BOOST_BIND(F f)
     ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:1868:20: note:   'boost::bind'
 #define BOOST_BIND bind
                    ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:1875:5: note: in expansion of macro 'BOOST_BIND'
     BOOST_BIND(F f)
     ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr.hpp:14:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:13,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/functor/integrate_1d.hpp:115:19: error: expected primary-expression before 'double'
         std::bind<double>(f, std::placeholders::_1, std::placeholders::_2,
                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/functor/integrate_1d.hpp:128:13: error: 'bind' is not a member of 'std'
             std::bind<double>(gradient_of_f<F>, f, std::placeholders::_1,
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/functor/integrate_1d.hpp:128:13: note: suggested alternatives:
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind.hpp:22:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/util/bind.hpp:28,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:26,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/stepper/euler.hpp:23,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint.hpp:27,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:44,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:1868:20: note:   'boost::bind'
 #define BOOST_BIND bind
                    ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:2342:1: note: in expansion of macro 'BOOST_BIND'
 BOOST_BIND( M T::*f, A1 a1 )
 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/include_preprocessed.hpp:37:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/bind_fwd.hpp:32,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/bind.hpp:23,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/lambda.hpp:18,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/apply.hpp:25,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/iter_apply.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/find_if_pred.hpp:14,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/find_if.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/find.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/contains_impl.hpp:20,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/contains.hpp:20,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/policies/policy.hpp:10,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/special_functions/math_fwd.hpp:29,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/special_functions/fpclassify.hpp:19,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/is_nan.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:16,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp:18:8: note:   'boost::mpl::bind'
 struct bind;
        ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind.hpp:22:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/util/bind.hpp:28,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:26,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/stepper/euler.hpp:23,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint.hpp:27,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:44,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:1868:20: note:   'boost::bind'
 #define BOOST_BIND bind
                    ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:1875:5: note: in expansion of macro 'BOOST_BIND'
     BOOST_BIND(F f)
     ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:1868:20: note:   'boost::bind'
 #define BOOST_BIND bind
                    ^
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:1875:5: note: in expansion of macro 'BOOST_BIND'
     BOOST_BIND(F f)
     ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr.hpp:14:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:13,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/functor/integrate_1d.hpp:128:23: error: expected primary-expression before 'double'
             std::bind<double>(gradient_of_f<F>, f, std::placeholders::_1,
                       ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:24:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:305:54: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     Eigen::Matrix<var, Eigen::Dynamic, Eigen::Dynamic>>::type
                                                      ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:305:54: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:305:56: error: '::type' has not been declared
     Eigen::Matrix<var, Eigen::Dynamic, Eigen::Dynamic>>::type
                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:305:56: note: suggested alternatives:
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/conversion/cast.hpp:32:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/lexical_cast/detail/converter_numeric.hpp:37,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/lexical_cast/try_lexical_convert.hpp:41,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/lexical_cast.hpp:32,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/tools/convert_from_string.hpp:15,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/constants/constants.hpp:13,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/constants.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/operator_unary_plus.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:36,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/type.hpp:14:10: note:   'boost::type'
   struct type {};
          ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind.hpp:22:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/util/bind.hpp:28,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:26,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/stepper/euler.hpp:23,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint.hpp:27,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:44,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:146:25: note:   'boost::_bi::type'
 template<class T> class type {};
                         ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:24:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:307:29: error: template argument 3 is invalid
                 const var &p) {
                             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:307:29: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:307:29: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:307:31: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
                 const var &p) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:305:12: error: template argument 2 is invalid
     Eigen::Matrix<var, Eigen::Dynamic, Eigen::Dynamic>>::type
            ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:307:31: error: expected identifier before '{' token
                 const var &p) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:307:31: error: expected unqualified-id before '{' token
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:357:54: warning: '>>' operator is treated as two right angle brackets in C++11 [-Wc++0x-compat]
     Eigen::Matrix<var, Eigen::Dynamic, Eigen::Dynamic>>::type
                                                      ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:357:54: note: suggest parentheses around '>>' expression
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:357:56: error: '::type' has not been declared
     Eigen::Matrix<var, Eigen::Dynamic, Eigen::Dynamic>>::type
                                                        ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:357:56: note: suggested alternatives:
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/conversion/cast.hpp:32:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/lexical_cast/detail/converter_numeric.hpp:37,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/lexical_cast/try_lexical_convert.hpp:41,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/lexical_cast.hpp:32,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/tools/convert_from_string.hpp:15,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/constants/constants.hpp:13,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/constants.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/operator_unary_plus.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:36,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/type.hpp:14:10: note:   'boost::type'
   struct type {};
          ^
In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind.hpp:22:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/util/bind.hpp:28,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp:26,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint/stepper/euler.hpp:23,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/numeric/odeint.hpp:27,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:44,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/bind/bind.hpp:146:25: note:   'boost::_bi::type'
 template<class T> class type {};
                         ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:24:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:359:29: error: template argument 3 is invalid
                 const var &p) {
                             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:359:29: error: template argument 4 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:359:29: error: template argument 6 is invalid
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:359:31: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
                 const var &p) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:357:12: error: template argument 2 is invalid
     Eigen::Matrix<var, Eigen::Dynamic, Eigen::Dynamic>>::type
            ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:359:31: error: expected identifier before '{' token
                 const var &p) {
                               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/gp_periodic_cov.hpp:359:31: error: expected unqualified-id before '{' token
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:39:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp: In member function 'virtual void stan::math::multiply_mat_vari<Ta, 1, Ca, Tb, 1>::chain()':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:190:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     auto adjA = adjAB * Map<VectorXd>(Bd_, size_, 1).transpose();
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:190:10: error: 'adjA' does not name a type
     auto adjA = adjAB * Map<VectorXd>(Bd_, size_, 1).transpose();
          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:191:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     auto adjB = Map<RowVectorXd>(Ad_, 1, size_).transpose() * adjAB;
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:191:10: error: 'adjB' does not name a type
     auto adjB = Map<RowVectorXd>(Ad_, 1, size_).transpose() * adjAB;
          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:193:35: error: there are no arguments to 'adjA' that depend on a template parameter, so a declaration of 'adjA' must be available [-fpermissive]
       variRefA_[i]->adj_ += adjA(i);
                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:193:35: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:195:35: error: there are no arguments to 'adjB' that depend on a template parameter, so a declaration of 'adjB' must be available [-fpermissive]
       variRefB_[i]->adj_ += adjB(i);
                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp: In member function 'virtual void stan::math::multiply_mat_vari<double, 1, Ca, Tb, 1>::chain()':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:355:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     auto adjB = Map<RowVectorXd>(Ad_, 1, size_).transpose() * adjAB;
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:355:10: error: 'adjB' does not name a type
     auto adjB = Map<RowVectorXd>(Ad_, 1, size_).transpose() * adjAB;
          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:357:35: error: there are no arguments to 'adjB' that depend on a template parameter, so a declaration of 'adjB' must be available [-fpermissive]
       variRefB_[i]->adj_ += adjB(i);
                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp: In member function 'virtual void stan::math::multiply_mat_vari<Ta, 1, Ca, double, 1>::chain()':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:520:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     auto adjA = adjAB * Map<VectorXd>(Bd_, size_, 1).transpose();
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:520:10: error: 'adjA' does not name a type
     auto adjA = adjAB * Map<VectorXd>(Bd_, size_, 1).transpose();
          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/multiply.hpp:522:35: error: there are no arguments to 'adjA' that depend on a template parameter, so a declaration of 'adjA' must be available [-fpermissive]
       variRefA_[i]->adj_ += adjA(i);
                                   ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/sum.hpp:7:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/fun/sum.hpp: In static member function 'static double stan::math::sum_v_vari::sum_of_val(const std::vector<stan::math::var>&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/fun/sum.hpp:21:10: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     for (auto x : v)
          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/fun/sum.hpp:21:15: error: 'x' does not name a type
     for (auto x : v)
               ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/fun/sum.hpp:23:5: error: expected ';' before 'return'
     return result;
     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/fun/sum.hpp:23:5: error: expected primary-expression before 'return'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/fun/sum.hpp:23:5: error: expected ';' before 'return'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/fun/sum.hpp:23:5: error: expected primary-expression before 'return'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/fun/sum.hpp:23:5: error: expected ')' before 'return'
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:58:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:127:59: error: 'nullptr' was not declared in this scope
     const std::vector<int>& dat_int, std::ostream* msgs = nullptr,
                                                           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp: In function 'Eigen::VectorXd stan::math::algebra_solver(const F&, const Eigen::Matrix<RhsScalar, -1, 1>&, const VectorXd&, const std::vector<double>&, const std::vector<int>&, std::ostream*, double, double, long int)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:135:19: error: range-based 'for' loops are not allowed in C++98 mode
   for (double i : dat)
                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:137:16: error: range-based 'for' loops are not allowed in C++98 mode
   for (int x : dat_int)
                ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:155:27: warning: name lookup of 'x' changed
   Fx fx(Fs(), f, value_of(x), y, dat, dat_int, msgs);
                           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:125:60: warning:   matches this 'x' under ISO standard rules
     const F& f, const Eigen::Matrix<T, Eigen::Dynamic, 1>& x,
                                                            ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:137:12: warning:   matches this 'x' under old rules
   for (int x : dat_int)
            ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:240:26: error: 'nullptr' was not declared in this scope
     std::ostream* msgs = nullptr, double relative_tolerance = 1e-10,
                          ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:61:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/cvodes_utils.hpp: In function 'void stan::math::cvodes_set_options(void*, double, double, long int)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/cvodes_utils.hpp:33:63: error: 'nullptr' was not declared in this scope
   CVodeSetErrHandlerFn(cvodes_mem, cvodes_silent_err_handler, nullptr);
                                                               ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:62:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/cvodes_ode_data.hpp: In constructor 'stan::math::cvodes_ode_data<F, T_initial, T_param>::cvodes_ode_data(const F&, const std::vector<T>&, const std::vector<T_l>&, const std::vector<double>&, const std::vector<int>&, std::ostream*)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/cvodes_ode_data.hpp:92:24: error: 'nullptr' was not declared in this scope
         nv_state_sens_(nullptr),
                        ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/integrate_ode_adams.hpp:4:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:63,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/cvodes_integrator.hpp: In member function 'std::vector<std::vector<typename stan::return_type<T_initial, T_param>::type> > stan::math::cvodes_integrator<Lmm>::integrate(const F&, const std::vector<T_initial>&, double, const std::vector<double>&, const std::vector<T_param>&, const std::vector<double>&, const std::vector<int>&, std::ostream*, double, double, long int)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/cvodes_integrator.hpp:112:23: error: 'nullptr' was not declared in this scope
     if (cvodes_mem == nullptr)
                       ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:63:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/integrate_ode_adams.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/integrate_ode_adams.hpp:17:42: error: 'nullptr' was not declared in this scope
                     std::ostream* msgs = nullptr,
                                          ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:64:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/integrate_ode_bdf.hpp:17:40: error: 'nullptr' was not declared in this scope
                   std::ostream* msgs = nullptr,
                                        ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:65:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/map_rect_reduce.hpp:22:44: error: 'nullptr' was not declared in this scope
                       std::ostream* msgs = nullptr) const {
                                            ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/map_rect_reduce.hpp:64:44: error: 'nullptr' was not declared in this scope
                       std::ostream* msgs = nullptr) const {
                                            ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/functor/map_rect_reduce.hpp:100:44: error: 'nullptr' was not declared in this scope
                       std::ostream* msgs = nullptr) const {
                                            ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:75:43: error: no default argument for 'Model'
                                init_writer) {
                                           ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:75:43: error: no default argument for 'RNG'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:75:43: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:95:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/grad_2F1.hpp: In instantiation of 'void stan::math::grad_2F1(T&, T&, const T&, const T&, const T&, const T&, const T&, int) [with T = stan::math::var]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/scal/fun/grad_inc_beta.hpp:45:49:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/grad_2F1.hpp:48:7: error: cannot convert 'stan::math::var' to 'int' in assignment
     i = -std::numeric_limits<T>::infinity();
       ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:161,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp: In instantiation of 'Mtype stan::math::matrix_exp_2x2(const Mtype&) [with Mtype = Eigen::Matrix<stan::math::var, -1, -1>]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp.hpp:29:32:   required from 'Eigen::Matrix<LhsScalar, -1, -1, 0> stan::math::matrix_exp(const Eigen::Matrix<LhsScalar, -1, -1, 0>&) [with T = stan::math::var]'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/matrix_exp_multiply.hpp:71:24:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:25:58: warning: left operand of comma operator has no effect [-Wunused-value]
   Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> B(2, 2);
                                                          ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_2x2.hpp:40:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp: In instantiation of 'int stan::services::diagnose::diagnose(Model&, stan::io::var_context&, unsigned int, unsigned int, double, double, double, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:467:67:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:56:49: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              logger, init_writer);
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:56:49: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:56:49: note:   couldn't deduce template parameter 'Jacobian'
                              logger, init_writer);
                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:39:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/fixed_param.hpp: In instantiation of 'int stan::services::sample::fixed_param(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:576:84:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:58:49: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              logger, init_writer);
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:58:49: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:39:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/fixed_param.hpp:58:49: note:   couldn't deduce template parameter 'Jacobian'
                              logger, init_writer);
                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:44:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp: In instantiation of 'int stan::services::sample::hmc_nuts_unit_e(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:668:66:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:49: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              logger, init_writer);
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:49: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:44:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e.hpp:61:49: note:   couldn't deduce template parameter 'Jacobian'
                              logger, init_writer);
                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:45:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e_adapt.hpp: In instantiation of 'int stan::services::sample::hmc_nuts_unit_e_adapt(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, int, double, double, double, double, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:683:74:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e_adapt.hpp:67:49: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              logger, init_writer);
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e_adapt.hpp:67:49: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:45:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_unit_e_adapt.hpp:67:49: note:   couldn't deduce template parameter 'Jacobian'
                              logger, init_writer);
                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:50:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_unit_e.hpp: In instantiation of 'int stan::services::sample::hmc_static_unit_e(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, double, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:777:68:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_unit_e.hpp:62:49: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              logger, init_writer);
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_unit_e.hpp:62:49: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:50:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_unit_e.hpp:62:49: note:   couldn't deduce template parameter 'Jacobian'
                              logger, init_writer);
                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:51:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_unit_e_adapt.hpp: In instantiation of 'int stan::services::sample::hmc_static_unit_e_adapt(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, double, double, double, double, double, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:793:76:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_unit_e_adapt.hpp:69:55: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              true, logger, init_writer);
                                                       ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_unit_e_adapt.hpp:69:55: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:51:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_unit_e_adapt.hpp:69:55: note:   couldn't deduce template parameter 'Jacobian'
                              true, logger, init_writer);
                                                       ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:52:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp: In instantiation of 'int stan::services::experimental::advi::fullrank(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, double, double, bool, int, int, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:878:50:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:69:51: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                                logger, init_writer);
                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:69:51: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:52:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:69:51: note:   couldn't deduce template parameter 'Jacobian'
                                logger, init_writer);
                                                   ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:53:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/experimental/advi/meanfield.hpp: In instantiation of 'int stan::services::experimental::advi::meanfield(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, double, double, bool, int, int, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:888:51:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/experimental/advi/meanfield.hpp:69:51: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                                logger, init_writer);
                                                   ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/experimental/advi/meanfield.hpp:69:51: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:53:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/experimental/advi/meanfield.hpp:69:51: note:   couldn't deduce template parameter 'Jacobian'
                                logger, init_writer);
                                                   ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:40:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp: In instantiation of 'int stan::services::sample::hmc_nuts_dense_e(Model&, stan::io::var_context&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:141:78:   required from 'int stan::services::sample::hmc_nuts_dense_e(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:608:67:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:66:49: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              logger, init_writer);
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:66:49: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:40:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:66:49: note:   couldn't deduce template parameter 'Jacobian'
                              logger, init_writer);
                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:41:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp: In instantiation of 'int stan::services::sample::hmc_nuts_dense_e_adapt(Model&, stan::io::var_context&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, int, double, double, double, double, unsigned int, unsigned int, unsigned int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:175:56:   required from 'int stan::services::sample::hmc_nuts_dense_e_adapt(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, int, double, double, double, double, unsigned int, unsigned int, unsigned int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:627:75:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:77:49: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              logger, init_writer);
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:77:49: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:41:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp:77:49: note:   couldn't deduce template parameter 'Jacobian'
                              logger, init_writer);
                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:42:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp: In instantiation of 'int stan::services::sample::hmc_nuts_diag_e(Model&, stan::io::var_context&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:140:77:   required from 'int stan::services::sample::hmc_nuts_diag_e(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:638:66:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:66:49: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              logger, init_writer);
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:66:49: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:42:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e.hpp:66:49: note:   couldn't deduce template parameter 'Jacobian'
                              logger, init_writer);
                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:43:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp: In instantiation of 'int stan::services::sample::hmc_nuts_diag_e_adapt(Model&, stan::io::var_context&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, int, double, double, double, double, unsigned int, unsigned int, unsigned int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:173:55:   required from 'int stan::services::sample::hmc_nuts_diag_e_adapt(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, int, double, double, double, double, unsigned int, unsigned int, unsigned int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:657:74:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:77:49: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              logger, init_writer);
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:77:49: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:43:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp:77:49: note:   couldn't deduce template parameter 'Jacobian'
                              logger, init_writer);
                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:46:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e.hpp: In instantiation of 'int stan::services::sample::hmc_static_dense_e(Model&, stan::io::var_context&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, double, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e.hpp:141:78:   required from 'int stan::services::sample::hmc_static_dense_e(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, double, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:715:69:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e.hpp:66:49: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              logger, init_writer);
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e.hpp:66:49: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:46:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e.hpp:66:49: note:   couldn't deduce template parameter 'Jacobian'
                              logger, init_writer);
                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:47:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp: In instantiation of 'int stan::services::sample::hmc_static_dense_e_adapt(Model&, stan::io::var_context&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, double, double, double, double, double, unsigned int, unsigned int, unsigned int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:177:58:   required from 'int stan::services::sample::hmc_static_dense_e_adapt(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, double, double, double, double, double, unsigned int, unsigned int, unsigned int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:734:77:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:79:49: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              logger, init_writer);
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:79:49: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:47:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_dense_e_adapt.hpp:79:49: note:   couldn't deduce template parameter 'Jacobian'
                              logger, init_writer);
                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:48:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e.hpp: In instantiation of 'int stan::services::sample::hmc_static_diag_e(Model&, stan::io::var_context&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, double, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e.hpp:140:79:   required from 'int stan::services::sample::hmc_static_diag_e(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, double, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:746:68:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e.hpp:68:49: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              logger, init_writer);
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e.hpp:68:49: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:48:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e.hpp:68:49: note:   couldn't deduce template parameter 'Jacobian'
                              logger, init_writer);
                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:49:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp: In instantiation of 'int stan::services::sample::hmc_static_diag_e_adapt(Model&, stan::io::var_context&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, double, double, double, double, double, unsigned int, unsigned int, unsigned int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:175:57:   required from 'int stan::services::sample::hmc_static_diag_e_adapt(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, int, int, bool, int, double, double, double, double, double, double, double, unsigned int, unsigned int, unsigned int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:766:76:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:78:49: error: no matching function for call to 'initialize(model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet&, stan::io::var_context&, boost::random::ecuyer1988&, double&, bool, stan::callbacks::logger&, stan::callbacks::writer&)'
                              logger, init_writer);
                                                 ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:78:49: note: candidate is:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:12:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:35,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note: template<bool Jacobian, class Model, class RNG> std::vector<double> stan::services::util::initialize(Model&, stan::io::var_context&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&)
 std::vector<double> initialize(Model& model,
                     ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/util/initialize.hpp:68:21: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:49:0,
                 from d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/rstaninc.hpp:3,
                 from file20b4c39955db4.cpp:909:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/sample/hmc_static_diag_e_adapt.hpp:78:49: note:   couldn't deduce template parameter 'Jacobian'
                              logger, init_writer);
                                                 ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp: In instantiation of 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = stan::math::var; T_loc = int; T_scale = int; typename stan::return_type<T_x, T_beta, T_alpha>::type = stan::math::var]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:34:63:   required from 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_log(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = stan::math::var; T_loc = int; T_scale = int; typename stan::return_type<T_x, T_beta, T_alpha>::type = stan::math::var]'
file20b4c39955db4.cpp:681:56:   required from 'T__ model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet::log_prob(std::vector<T_l>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T__ = stan::math::var; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/log_prob_grad.hpp:45:39:   required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1164:99:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:936:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: error: no matching function for call to 'size_zero(const stan::math::var&, const int&, const int&)'
   if (size_zero(y, mu, sigma))
                             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note: candidates are:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note: template<class T> bool stan::math::size_zero(T&)
 inline bool size_zero(T& x) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note:   candidate expects 1 argument, 3 provided
   if (size_zero(y, mu, sigma))
                             ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note: template<class T, class ... Ts> bool stan::math::size_zero(T&, <type error>)
 inline bool size_zero(T& x, Ts&&... xs) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:238,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_lpdf.hpp: In instantiation of 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::double_exponential_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix<stan::math::var, -1, 1>; T_loc = int; T_scale = double; typename stan::return_type<T_x, T_beta, T_alpha>::type = stan::math::var]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_log.hpp:16:75:   required from 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::double_exponential_log(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix<stan::math::var, -1, 1>; T_loc = int; T_scale = double; typename stan::return_type<T_x, T_beta, T_alpha>::type = stan::math::var]'
file20b4c39955db4.cpp:685:74:   required from 'T__ model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet::log_prob(std::vector<T_l>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T__ = stan::math::var; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/log_prob_grad.hpp:45:39:   required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1164:99:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:936:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_lpdf.hpp:53:29: error: no matching function for call to 'size_zero(const Eigen::Matrix<stan::math::var, -1, 1>&, const int&, const double&)'
   if (size_zero(y, mu, sigma))
                             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_lpdf.hpp:53:29: note: candidates are:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note: template<class T> bool stan::math::size_zero(T&)
 inline bool size_zero(T& x) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:238,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_lpdf.hpp:53:29: note:   candidate expects 1 argument, 3 provided
   if (size_zero(y, mu, sigma))
                             ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note: template<class T, class ... Ts> bool stan::math::size_zero(T&, <type error>)
 inline bool size_zero(T& x, Ts&&... xs) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp: In instantiation of 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = stan::math::var; T_loc = int; T_scale = double; typename stan::return_type<T_x, T_beta, T_alpha>::type = stan::math::var]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:34:63:   required from 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_log(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = stan::math::var; T_loc = int; T_scale = double; typename stan::return_type<T_x, T_beta, T_alpha>::type = stan::math::var]'
file20b4c39955db4.cpp:687:66:   required from 'T__ model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet::log_prob(std::vector<T_l>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T__ = stan::math::var; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/log_prob_grad.hpp:45:39:   required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1164:99:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:936:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: error: no matching function for call to 'size_zero(const stan::math::var&, const int&, const double&)'
   if (size_zero(y, mu, sigma))
                             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note: candidates are:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note: template<class T> bool stan::math::size_zero(T&)
 inline bool size_zero(T& x) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note:   candidate expects 1 argument, 3 provided
   if (size_zero(y, mu, sigma))
                             ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note: template<class T, class ... Ts> bool stan::math::size_zero(T&, <type error>)
 inline bool size_zero(T& x, Ts&&... xs) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp: In instantiation of 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix<stan::math::var, -1, 1>; T_loc = int; T_scale = Eigen::Matrix<double, -1, 1>; typename stan::return_type<T_x, T_beta, T_alpha>::type = stan::math::var]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:34:63:   required from 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_log(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix<stan::math::var, -1, 1>; T_loc = int; T_scale = Eigen::Matrix<double, -1, 1>; typename stan::return_type<T_x, T_beta, T_alpha>::type = stan::math::var]'
file20b4c39955db4.cpp:689:64:   required from 'T__ model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet::log_prob(std::vector<T_l>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T__ = stan::math::var; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/log_prob_grad.hpp:45:39:   required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1164:99:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:936:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: error: no matching function for call to 'size_zero(const Eigen::Matrix<stan::math::var, -1, 1>&, const int&, const Eigen::Matrix<double, -1, 1>&)'
   if (size_zero(y, mu, sigma))
                             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note: candidates are:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note: template<class T> bool stan::math::size_zero(T&)
 inline bool size_zero(T& x) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note:   candidate expects 1 argument, 3 provided
   if (size_zero(y, mu, sigma))
                             ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note: template<class T, class ... Ts> bool stan::math::size_zero(T&, <type error>)
 inline bool size_zero(T& x, Ts&&... xs) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp: In instantiation of 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix<double, -1, 1>; T_loc = Eigen::Matrix<stan::math::var, -1, 1>; T_scale = stan::math::var; typename stan::return_type<T_x, T_beta, T_alpha>::type = stan::math::var]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:34:63:   required from 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_log(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix<double, -1, 1>; T_loc = Eigen::Matrix<stan::math::var, -1, 1>; T_scale = stan::math::var; typename stan::return_type<T_x, T_beta, T_alpha>::type = stan::math::var]'
file20b4c39955db4.cpp:694:210:   required from 'T__ model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet::log_prob(std::vector<T_l>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T__ = stan::math::var; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/log_prob_grad.hpp:45:39:   required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1164:99:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:936:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: error: no matching function for call to 'size_zero(const Eigen::Matrix<double, -1, 1>&, const Eigen::Matrix<stan::math::var, -1, 1>&, const stan::math::var&)'
   if (size_zero(y, mu, sigma))
                             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note: candidates are:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note: template<class T> bool stan::math::size_zero(T&)
 inline bool size_zero(T& x) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note:   candidate expects 1 argument, 3 provided
   if (size_zero(y, mu, sigma))
                             ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note: template<class T, class ... Ts> bool stan::math::size_zero(T&, <type error>)
 inline bool size_zero(T& x, Ts&&... xs) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp: In instantiation of 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = false; T_y = double; T_loc = int; T_scale = int; typename stan::return_type<T_x, T_beta, T_alpha>::type = double]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:34:63:   required from 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_log(const T_y&, const T_loc&, const T_scale&) [with bool propto = false; T_y = double; T_loc = int; T_scale = int; typename stan::return_type<T_x, T_beta, T_alpha>::type = double]'
file20b4c39955db4.cpp:681:56:   required from 'T__ model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet::log_prob(std::vector<T_l>&, std::vector<int>&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T__ = double; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/optimize/newton.hpp:61:14:   required from 'int stan::services::optimize::newton(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, bool, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:485:68:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: error: no matching function for call to 'size_zero(const double&, const int&, const int&)'
   if (size_zero(y, mu, sigma))
                             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note: candidates are:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note: template<class T> bool stan::math::size_zero(T&)
 inline bool size_zero(T& x) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note:   candidate expects 1 argument, 3 provided
   if (size_zero(y, mu, sigma))
                             ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note: template<class T, class ... Ts> bool stan::math::size_zero(T&, <type error>)
 inline bool size_zero(T& x, Ts&&... xs) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:238,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_lpdf.hpp: In instantiation of 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::double_exponential_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = false; T_y = Eigen::Matrix<double, -1, 1>; T_loc = int; T_scale = double; typename stan::return_type<T_x, T_beta, T_alpha>::type = double]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_log.hpp:16:75:   required from 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::double_exponential_log(const T_y&, const T_loc&, const T_scale&) [with bool propto = false; T_y = Eigen::Matrix<double, -1, 1>; T_loc = int; T_scale = double; typename stan::return_type<T_x, T_beta, T_alpha>::type = double]'
file20b4c39955db4.cpp:685:74:   required from 'T__ model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet::log_prob(std::vector<T_l>&, std::vector<int>&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T__ = double; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/optimize/newton.hpp:61:14:   required from 'int stan::services::optimize::newton(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, bool, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:485:68:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_lpdf.hpp:53:29: error: no matching function for call to 'size_zero(const Eigen::Matrix<double, -1, 1>&, const int&, const double&)'
   if (size_zero(y, mu, sigma))
                             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_lpdf.hpp:53:29: note: candidates are:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note: template<class T> bool stan::math::size_zero(T&)
 inline bool size_zero(T& x) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:238,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/double_exponential_lpdf.hpp:53:29: note:   candidate expects 1 argument, 3 provided
   if (size_zero(y, mu, sigma))
                             ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note: template<class T, class ... Ts> bool stan::math::size_zero(T&, <type error>)
 inline bool size_zero(T& x, Ts&&... xs) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp: In instantiation of 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = false; T_y = double; T_loc = int; T_scale = double; typename stan::return_type<T_x, T_beta, T_alpha>::type = double]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:34:63:   required from 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_log(const T_y&, const T_loc&, const T_scale&) [with bool propto = false; T_y = double; T_loc = int; T_scale = double; typename stan::return_type<T_x, T_beta, T_alpha>::type = double]'
file20b4c39955db4.cpp:687:66:   required from 'T__ model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet::log_prob(std::vector<T_l>&, std::vector<int>&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T__ = double; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/optimize/newton.hpp:61:14:   required from 'int stan::services::optimize::newton(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, bool, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:485:68:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: error: no matching function for call to 'size_zero(const double&, const int&, const double&)'
   if (size_zero(y, mu, sigma))
                             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note: candidates are:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note: template<class T> bool stan::math::size_zero(T&)
 inline bool size_zero(T& x) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note:   candidate expects 1 argument, 3 provided
   if (size_zero(y, mu, sigma))
                             ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note: template<class T, class ... Ts> bool stan::math::size_zero(T&, <type error>)
 inline bool size_zero(T& x, Ts&&... xs) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp: In instantiation of 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = false; T_y = Eigen::Matrix<double, -1, 1>; T_loc = int; T_scale = Eigen::Matrix<double, -1, 1>; typename stan::return_type<T_x, T_beta, T_alpha>::type = double]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:34:63:   required from 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_log(const T_y&, const T_loc&, const T_scale&) [with bool propto = false; T_y = Eigen::Matrix<double, -1, 1>; T_loc = int; T_scale = Eigen::Matrix<double, -1, 1>; typename stan::return_type<T_x, T_beta, T_alpha>::type = double]'
file20b4c39955db4.cpp:689:64:   required from 'T__ model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet::log_prob(std::vector<T_l>&, std::vector<int>&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T__ = double; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/optimize/newton.hpp:61:14:   required from 'int stan::services::optimize::newton(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, bool, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:485:68:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: error: no matching function for call to 'size_zero(const Eigen::Matrix<double, -1, 1>&, const int&, const Eigen::Matrix<double, -1, 1>&)'
   if (size_zero(y, mu, sigma))
                             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note: candidates are:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note: template<class T> bool stan::math::size_zero(T&)
 inline bool size_zero(T& x) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note:   candidate expects 1 argument, 3 provided
   if (size_zero(y, mu, sigma))
                             ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note: template<class T, class ... Ts> bool stan::math::size_zero(T&, <type error>)
 inline bool size_zero(T& x, Ts&&... xs) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp: In instantiation of 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = false; T_y = Eigen::Matrix<double, -1, 1>; T_loc = Eigen::Matrix<double, -1, 1>; T_scale = double; typename stan::return_type<T_x, T_beta, T_alpha>::type = double]':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:34:63:   required from 'typename stan::return_type<T_x, T_beta, T_alpha>::type stan::math::normal_log(const T_y&, const T_loc&, const T_scale&) [with bool propto = false; T_y = Eigen::Matrix<double, -1, 1>; T_loc = Eigen::Matrix<double, -1, 1>; T_scale = double; typename stan::return_type<T_x, T_beta, T_alpha>::type = double]'
file20b4c39955db4.cpp:694:210:   required from 'T__ model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet::log_prob(std::vector<T_l>&, std::vector<int>&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T__ = double; std::ostream = std::basic_ostream<char>]'
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/services/optimize/newton.hpp:61:14:   required from 'int stan::services::optimize::newton(Model&, stan::io::var_context&, unsigned int, unsigned int, double, int, bool, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:485:68:   required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<unsigned int>&, const std::vector<std::basic_string<char> >&, RNG_t&) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; Rcpp::List = Rcpp::Vector<19>]'
d:/RCompile/CRANpkg/lib/3.5/rstan/include/rstan/stan_fit.hpp:1197:39:   required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> >; SEXP = SEXPREC*]'
file20b4c39955db4.cpp:920:124:   required from here
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: error: no matching function for call to 'size_zero(const Eigen::Matrix<double, -1, 1>&, const Eigen::Matrix<double, -1, 1>&, const double&)'
   if (size_zero(y, mu, sigma))
                             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note: candidates are:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note: template<class T> bool stan::math::size_zero(T&)
 inline bool size_zero(T& x) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:18:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_log.hpp:5:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal.hpp:340,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/arr.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:325,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/prob/normal_lpdf.hpp:55:29: note:   candidate expects 1 argument, 3 provided
   if (size_zero(y, mu, sigma))
                             ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp:15:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/mat.hpp:267,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note: template<class T, class ... Ts> bool stan::math::size_zero(T&, <type error>)
 inline bool size_zero(T& x, Ts&&... xs) {
             ^
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/size_zero.hpp:31:13: note:   template argument deduction/substitution failed:
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat/fun/sum.hpp:7:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:49,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/fun/sum.hpp: In static member function 'static double stan::math::sum_v_vari::sum_of_val(const std::vector<stan::math::var>&)':
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/arr/fun/sum.hpp:24:3: warning: control reaches end of non-void function [-Wreturn-type]
   }
   ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/operator_unary_plus.hpp:7:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:36,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/constants.hpp: At global scope:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/prim/scal/fun/constants.hpp:63:14: warning: 'stan::math::NEGATIVE_EPSILON' defined but not used [-Wunused-variable]
 const double NEGATIVE_EPSILON = -std::numeric_limits<double>::epsilon();
              ^
In file included from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:44:0,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file20b4c39955db4.cpp:8:
d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:13: warning: 'void stan::math::set_zero_all_adjoints()' defined but not used [-Wunused-function]
 static void set_zero_all_adjoints() {
             ^
make[1]: *** [file20b4c39955db4.o] Error 1

ERROR(s) during compilation: source code errors or compiler configuration errors!

Program source:
  1: 
  2: // includes from the plugin
  3: 
  4: 
  5: // user includes
  6: #define STAN__SERVICES__COMMAND_HPP// Code generated by Stan version 2.18.0
  7: 
  8: #include <stan/model/model_header.hpp>
  9: 
 10: namespace model20b4c57783cbb_prophet_namespace {
 11: 
 12: using std::istream;
 13: using std::string;
 14: using std::stringstream;
 15: using std::vector;
 16: using stan::io::dump;
 17: using stan::math::lgamma;
 18: using stan::model::prob_grad;
 19: using namespace stan::math;
 20: 
 21: static int current_statement_begin__;
 22: 
 23: stan::io::program_reader prog_reader__() {
 24:     stan::io::program_reader reader;
 25:     reader.add_event(0, 0, "start", "model20b4c57783cbb_prophet");
 26:     reader.add_event(128, 126, "end", "model20b4c57783cbb_prophet");
 27:     return reader;
 28: }
 29: 
 30: template <typename T0__, typename T1__>
 31: Eigen::Matrix<typename boost::math::tools::promote_args<T0__, T1__>::type, Eigen::Dynamic,Eigen::Dynamic>
 32: get_changepoint_matrix(const Eigen::Matrix<T0__, Eigen::Dynamic,1>& t,
 33:                            const Eigen::Matrix<T1__, Eigen::Dynamic,1>& t_change,
 34:                            const int& T,
 35:                            const int& S, std::ostream* pstream__) {
 36:     typedef typename boost::math::tools::promote_args<T0__, T1__>::type local_scalar_t__;
 37:     typedef local_scalar_t__ fun_return_scalar_t__;
 38:     const static bool propto__ = true;
 39:     (void) propto__;
 40:         local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
 41:         (void) DUMMY_VAR__;  // suppress unused var warning
 42: 
 43:     int current_statement_begin__ = -1;
 44:     try {
 45:         {
 46:         current_statement_begin__ = 4;
 47:         validate_non_negative_index("A", "T", T);
 48:         validate_non_negative_index("A", "S", S);
 49:         Eigen::Matrix<local_scalar_t__,Eigen::Dynamic,Eigen::Dynamic>  A(static_cast<Eigen::VectorXd::Index>(T),static_cast<Eigen::VectorXd::Index>(S));
 50:         (void) A;  // dummy to suppress unused var warning
 51: 
 52:         stan::math::initialize(A, DUMMY_VAR__);
 53:         stan::math::fill(A,DUMMY_VAR__);
 54:         current_statement_begin__ = 5;
 55:         validate_non_negative_index("a_row", "S", S);
 56:         Eigen::Matrix<local_scalar_t__,1,Eigen::Dynamic>  a_row(static_cast<Eigen::VectorXd::Index>(S));
 57:         (void) a_row;  // dummy to suppress unused var warning
 58: 
 59:         stan::math::initialize(a_row, DUMMY_VAR__);
 60:         stan::math::fill(a_row,DUMMY_VAR__);
 61:         current_statement_begin__ = 6;
 62:         int cp_idx(0);
 63:         (void) cp_idx;  // dummy to suppress unused var warning
 64: 
 65:         stan::math::fill(cp_idx, std::numeric_limits<int>::min());
 66: 
 67: 
 68:         current_statement_begin__ = 9;
 69:         stan::math::assign(A, rep_matrix(0,T,S));
 70:         current_statement_begin__ = 10;
 71:         stan::math::assign(a_row, rep_row_vector(0,S));
 72:         current_statement_begin__ = 11;
 73:         stan::math::assign(cp_idx, 1);
 74:         current_statement_begin__ = 14;
 75:         for (int i = 1; i <= T; ++i) {
 76: 
 77:             current_statement_begin__ = 15;
 78:             while (as_bool((primitive_value(logical_lte(cp_idx,S)) && primitive_value(logical_gte(get_base1(t,i,"t",1),get_base1(t_change,cp_idx,"t_change",1)))))) {
 79: 
 80:                 current_statement_begin__ = 16;
 81:                 stan::model::assign(a_row, 
 82:                             stan::model::cons_list(stan::model::index_uni(cp_idx), stan::model::nil_index_list()), 
 83:                             1, 
 84:                             "assigning variable a_row");
 85:                 current_statement_begin__ = 17;
 86:                 stan::math::assign(cp_idx, stan::model::deep_copy((cp_idx + 1)));
 87:             }
 88:             current_statement_begin__ = 19;
 89:             stan::model::assign(A, 
 90:                         stan::model::cons_list(stan::model::index_uni(i), stan::model::nil_index_list()), 
 91:                         a_row, 
 92:                         "assigning variable A");
 93:         }
 94:         current_statement_begin__ = 21;
 95:         return stan::math::promote_scalar<fun_return_scalar_t__>(A);
 96:         }
 97:     } catch (const std::exception& e) {
 98:         stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
 99:         // Next line prevents compiler griping about no return
100:         throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
101:     }
102: }
103: 
104: 
105: struct get_changepoint_matrix_functor__ {
106:     template <typename T0__, typename T1__>
107:         Eigen::Matrix<typename boost::math::tools::promote_args<T0__, T1__>::type, Eigen::Dynamic,Eigen::Dynamic>
108:     operator()(const Eigen::Matrix<T0__, Eigen::Dynamic,1>& t,
109:                            const Eigen::Matrix<T1__, Eigen::Dynamic,1>& t_change,
110:                            const int& T,
111:                            const int& S, std::ostream* pstream__) const {
112:         return get_changepoint_matrix(t, t_change, T, S, pstream__);
113:     }
114: };
115: 
116: template <typename T0__, typename T1__, typename T2__, typename T3__>
117: Eigen::Matrix<typename boost::math::tools::promote_args<T0__, T1__, T2__, T3__>::type, Eigen::Dynamic,1>
118: logistic_gamma(const T0__& k,
119:                    const T1__& m,
120:                    const Eigen::Matrix<T2__, Eigen::Dynamic,1>& delta,
121:                    const Eigen::Matrix<T3__, Eigen::Dynamic,1>& t_change,
122:                    const int& S, std::ostream* pstream__) {
123:     typedef typename boost::math::tools::promote_args<T0__, T1__, T2__, T3__>::type local_scalar_t__;
124:     typedef local_scalar_t__ fun_return_scalar_t__;
125:     const static bool propto__ = true;
126:     (void) propto__;
127:         local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
128:         (void) DUMMY_VAR__;  // suppress unused var warning
129: 
130:     int current_statement_begin__ = -1;
131:     try {
132:         {
133:         current_statement_begin__ = 27;
134:         validate_non_negative_index("gamma", "S", S);
135:         Eigen::Matrix<local_scalar_t__,Eigen::Dynamic,1>  gamma(static_cast<Eigen::VectorXd::Index>(S));
136:         (void) gamma;  // dummy to suppress unused var warning
137: 
138:         stan::math::initialize(gamma, DUMMY_VAR__);
139:         stan::math::fill(gamma,DUMMY_VAR__);
140:         current_statement_begin__ = 28;
141:         validate_non_negative_index("k_s", "(S + 1)", (S + 1));
142:         Eigen::Matrix<local_scalar_t__,Eigen::Dynamic,1>  k_s(static_cast<Eigen::VectorXd::Index>((S + 1)));
143:         (void) k_s;  // dummy to suppress unused var warning
144: 
145:         stan::math::initialize(k_s, DUMMY_VAR__);
146:         stan::math::fill(k_s,DUMMY_VAR__);
147:         current_statement_begin__ = 29;
148:         local_scalar_t__ m_pr;
149:         (void) m_pr;  // dummy to suppress unused var warning
150: 
151:         stan::math::initialize(m_pr, DUMMY_VAR__);
152:         stan::math::fill(m_pr,DUMMY_VAR__);
153: 
154: 
155:         current_statement_begin__ = 32;
156:         stan::math::assign(k_s, append_row(k,add(k,cumulative_sum(delta))));
157:         current_statement_begin__ = 35;
158:         stan::math::assign(m_pr, m);
159:         current_statement_begin__ = 36;
160:         for (int i = 1; i <= S; ++i) {
161: 
162:             current_statement_begin__ = 37;
163:             stan::model::assign(gamma, 
164:                         stan::model::cons_list(stan::model::index_uni(i), stan::model::nil_index_list()), 
165:                         ((get_base1(t_change,i,"t_change",1) - m_pr) * (1 - (get_base1(k_s,i,"k_s",1) / get_base1(k_s,(i + 1),"k_s",1)))), 
166:                         "assigning variable gamma");
167:             current_statement_begin__ = 38;
168:             stan::math::assign(m_pr, stan::model::deep_copy((m_pr + get_base1(gamma,i,"gamma",1))));
169:         }
170:         current_statement_begin__ = 40;
171:         return stan::math::promote_scalar<fun_return_scalar_t__>(gamma);
172:         }
173:     } catch (const std::exception& e) {
174:         stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
175:         // Next line prevents compiler griping about no return
176:         throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
177:     }
178: }
179: 
180: 
181: struct logistic_gamma_functor__ {
182:     template <typename T0__, typename T1__, typename T2__, typename T3__>
183:         Eigen::Matrix<typename boost::math::tools::promote_args<T0__, T1__, T2__, T3__>::type, Eigen::Dynamic,1>
184:     operator()(const T0__& k,
185:                    const T1__& m,
186:                    const Eigen::Matrix<T2__, Eigen::Dynamic,1>& delta,
187:                    const Eigen::Matrix<T3__, Eigen::Dynamic,1>& t_change,
188:                    const int& S, std::ostream* pstream__) const {
189:         return logistic_gamma(k, m, delta, t_change, S, pstream__);
190:     }
191: };
192: 
193: template <typename T0__, typename T1__, typename T2__, typename T3__, typename T4__, typename T5__, typename T6__>
194: Eigen::Matrix<typename boost::math::tools::promote_args<T0__, T1__, T2__, T3__, typename boost::math::tools::promote_args<T4__, T5__, T6__>::type>::type, Eigen::Dynamic,1>
195: logistic_trend(const T0__& k,
196:                    const T1__& m,
197:                    const Eigen::Matrix<T2__, Eigen::Dynamic,1>& delta,
198:                    const Eigen::Matrix<T3__, Eigen::Dynamic,1>& t,
199:                    const Eigen::Matrix<T4__, Eigen::Dynamic,1>& cap,
200:                    const Eigen::Matrix<T5__, Eigen::Dynamic,Eigen::Dynamic>& A,
201:                    const Eigen::Matrix<T6__, Eigen::Dynamic,1>& t_change,
202:                    const int& S, std::ostream* pstream__) {
203:     typedef typename boost::math::tools::promote_args<T0__, T1__, T2__, T3__, typename boost::math::tools::promote_args<T4__, T5__, T6__>::type>::type local_scalar_t__;
204:     typedef local_scalar_t__ fun_return_scalar_t__;
205:     const static bool propto__ = true;
206:     (void) propto__;
207:         local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
208:         (void) DUMMY_VAR__;  // suppress unused var warning
209: 
210:     int current_statement_begin__ = -1;
211:     try {
212:         {
213:         current_statement_begin__ = 53;
214:         validate_non_negative_index("gamma", "S", S);
215:         Eigen::Matrix<local_scalar_t__,Eigen::Dynamic,1>  gamma(static_cast<Eigen::VectorXd::Index>(S));
216:         (void) gamma;  // dummy to suppress unused var warning
217: 
218:         stan::math::initialize(gamma, DUMMY_VAR__);
219:         stan::math::fill(gamma,DUMMY_VAR__);
220: 
221: 
222:         current_statement_begin__ = 55;
223:         stan::math::assign(gamma, logistic_gamma(k,m,delta,t_change,S, pstream__));
224:         current_statement_begin__ = 56;
225:         return stan::math::promote_scalar<fun_return_scalar_t__>(elt_multiply(cap,inv_logit(elt_multiply(add(k,multiply(A,delta)),subtract(t,add(m,multiply(A,gamma)))))));
226:         }
227:     } catch (const std::exception& e) {
228:         stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
229:         // Next line prevents compiler griping about no return
230:         throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
231:     }
232: }
233: 
234: 
235: struct logistic_trend_functor__ {
236:     template <typename T0__, typename T1__, typename T2__, typename T3__, typename T4__, typename T5__, typename T6__>
237:         Eigen::Matrix<typename boost::math::tools::promote_args<T0__, T1__, T2__, T3__, typename boost::math::tools::promote_args<T4__, T5__, T6__>::type>::type, Eigen::Dynamic,1>
238:     operator()(const T0__& k,
239:                    const T1__& m,
240:                    const Eigen::Matrix<T2__, Eigen::Dynamic,1>& delta,
241:                    const Eigen::Matrix<T3__, Eigen::Dynamic,1>& t,
242:                    const Eigen::Matrix<T4__, Eigen::Dynamic,1>& cap,
243:                    const Eigen::Matrix<T5__, Eigen::Dynamic,Eigen::Dynamic>& A,
244:                    const Eigen::Matrix<T6__, Eigen::Dynamic,1>& t_change,
245:                    const int& S, std::ostream* pstream__) const {
246:         return logistic_trend(k, m, delta, t, cap, A, t_change, S, pstream__);
247:     }
248: };
249: 
250: template <typename T0__, typename T1__, typename T2__, typename T3__, typename T4__, typename T5__>
251: Eigen::Matrix<typename boost::math::tools::promote_args<T0__, T1__, T2__, T3__, typename boost::math::tools::promote_args<T4__, T5__>::type>::type, Eigen::Dynamic,1>
252: linear_trend(const T0__& k,
253:                  const T1__& m,
254:                  const Eigen::Matrix<T2__, Eigen::Dynamic,1>& delta,
255:                  const Eigen::Matrix<T3__, Eigen::Dynamic,1>& t,
256:                  const Eigen::Matrix<T4__, Eigen::Dynamic,Eigen::Dynamic>& A,
257:                  const Eigen::Matrix<T5__, Eigen::Dynamic,1>& t_change, std::ostream* pstream__) {
258:     typedef typename boost::math::tools::promote_args<T0__, T1__, T2__, T3__, typename boost::math::tools::promote_args<T4__, T5__>::type>::type local_scalar_t__;
259:     typedef local_scalar_t__ fun_return_scalar_t__;
260:     const static bool propto__ = true;
261:     (void) propto__;
262:         local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
263:         (void) DUMMY_VAR__;  // suppress unused var warning
264: 
265:     int current_statement_begin__ = -1;
266:     try {
267: 
268:         current_statement_begin__ = 69;
269:         return stan::math::promote_scalar<fun_return_scalar_t__>(add(elt_multiply(add(k,multiply(A,delta)),t),add(m,multiply(A,elt_multiply(minus(t_change),delta)))));
270:     } catch (const std::exception& e) {
271:         stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
272:         // Next line prevents compiler griping about no return
273:         throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
274:     }
275: }
276: 
277: 
278: struct linear_trend_functor__ {
279:     template <typename T0__, typename T1__, typename T2__, typename T3__, typename T4__, typename T5__>
280:         Eigen::Matrix<typename boost::math::tools::promote_args<T0__, T1__, T2__, T3__, typename boost::math::tools::promote_args<T4__, T5__>::type>::type, Eigen::Dynamic,1>
281:     operator()(const T0__& k,
282:                  const T1__& m,
283:                  const Eigen::Matrix<T2__, Eigen::Dynamic,1>& delta,
284:                  const Eigen::Matrix<T3__, Eigen::Dynamic,1>& t,
285:                  const Eigen::Matrix<T4__, Eigen::Dynamic,Eigen::Dynamic>& A,
286:                  const Eigen::Matrix<T5__, Eigen::Dynamic,1>& t_change, std::ostream* pstream__) const {
287:         return linear_trend(k, m, delta, t, A, t_change, pstream__);
288:     }
289: };
290: 
291: class model20b4c57783cbb_prophet : public prob_grad {
292: private:
293:     int T;
294:     int K;
295:     vector_d t;
296:     vector_d cap;
297:     vector_d y;
298:     int S;
299:     vector_d t_change;
300:     matrix_d X;
301:     vector_d sigmas;
302:     double tau;
303:     int trend_indicator;
304:     vector_d s_a;
305:     vector_d s_m;
306:     matrix_d A;
307: public:
308:     model20b4c57783cbb_prophet(stan::io::var_context& context__,
309:         std::ostream* pstream__ = 0)
310:         : prob_grad(0) {
311:         ctor_body(context__, 0, pstream__);
312:     }
313: 
314:     model20b4c57783cbb_prophet(stan::io::var_context& context__,
315:         unsigned int random_seed__,
316:         std::ostream* pstream__ = 0)
317:         : prob_grad(0) {
318:         ctor_body(context__, random_seed__, pstream__);
319:     }
320: 
321:     void ctor_body(stan::io::var_context& context__,
322:                    unsigned int random_seed__,
323:                    std::ostream* pstream__) {
324:         typedef double local_scalar_t__;
325: 
326:         boost::ecuyer1988 base_rng__ =
327:           stan::services::util::create_rng(random_seed__, 0);
328:         (void) base_rng__;  // suppress unused var warning
329: 
330:         current_statement_begin__ = -1;
331: 
332:         static const char* function__ = "model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet";
333:         (void) function__;  // dummy to suppress unused var warning
334:         size_t pos__;
335:         (void) pos__;  // dummy to suppress unused var warning
336:         std::vector<int> vals_i__;
337:         std::vector<double> vals_r__;
338:         local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
339:         (void) DUMMY_VAR__;  // suppress unused var warning
340: 
341:         // initialize member variables
342:         try {
343:             current_statement_begin__ = 74;
344:             context__.validate_dims("data initialization", "T", "int", context__.to_vec());
345:             T = int(0);
346:             vals_i__ = context__.vals_i("T");
347:             pos__ = 0;
348:             T = vals_i__[pos__++];
349:             current_statement_begin__ = 75;
350:             context__.validate_dims("data initialization", "K", "int", context__.to_vec());
351:             K = int(0);
352:             vals_i__ = context__.vals_i("K");
353:             pos__ = 0;
354:             K = vals_i__[pos__++];
355:             current_statement_begin__ = 76;
356:             validate_non_negative_index("t", "T", T);
357:             context__.validate_dims("data initialization", "t", "vector_d", context__.to_vec(T));
358:             validate_non_negative_index("t", "T", T);
359:             t = vector_d(static_cast<Eigen::VectorXd::Index>(T));
360:             vals_r__ = context__.vals_r("t");
361:             pos__ = 0;
362:             size_t t_i_vec_lim__ = T;
363:             for (size_t i_vec__ = 0; i_vec__ < t_i_vec_lim__; ++i_vec__) {
364:                 t[i_vec__] = vals_r__[pos__++];
365:             }
366:             current_statement_begin__ = 77;
367:             validate_non_negative_index("cap", "T", T);
368:             context__.validate_dims("data initialization", "cap", "vector_d", context__.to_vec(T));
369:             validate_non_negative_index("cap", "T", T);
370:             cap = vector_d(static_cast<Eigen::VectorXd::Index>(T));
371:             vals_r__ = context__.vals_r("cap");
372:             pos__ = 0;
373:             size_t cap_i_vec_lim__ = T;
374:             for (size_t i_vec__ = 0; i_vec__ < cap_i_vec_lim__; ++i_vec__) {
375:                 cap[i_vec__] = vals_r__[pos__++];
376:             }
377:             current_statement_begin__ = 78;
378:             validate_non_negative_index("y", "T", T);
379:             context__.validate_dims("data initialization", "y", "vector_d", context__.to_vec(T));
380:             validate_non_negative_index("y", "T", T);
381:             y = vector_d(static_cast<Eigen::VectorXd::Index>(T));
382:             vals_r__ = context__.vals_r("y");
383:             pos__ = 0;
384:             size_t y_i_vec_lim__ = T;
385:             for (size_t i_vec__ = 0; i_vec__ < y_i_vec_lim__; ++i_vec__) {
386:                 y[i_vec__] = vals_r__[pos__++];
387:             }
388:             current_statement_begin__ = 79;
389:             context__.validate_dims("data initialization", "S", "int", context__.to_vec());
390:             S = int(0);
391:             vals_i__ = context__.vals_i("S");
392:             pos__ = 0;
393:             S = vals_i__[pos__++];
394:             current_statement_begin__ = 80;
395:             validate_non_negative_index("t_change", "S", S);
396:             context__.validate_dims("data initialization", "t_change", "vector_d", context__.to_vec(S));
397:             validate_non_negative_index("t_change", "S", S);
398:             t_change = vector_d(static_cast<Eigen::VectorXd::Index>(S));
399:             vals_r__ = context__.vals_r("t_change");
400:             pos__ = 0;
401:             size_t t_change_i_vec_lim__ = S;
402:             for (size_t i_vec__ = 0; i_vec__ < t_change_i_vec_lim__; ++i_vec__) {
403:                 t_change[i_vec__] = vals_r__[pos__++];
404:             }
405:             current_statement_begin__ = 81;
406:             validate_non_negative_index("X", "T", T);
407:             validate_non_negative_index("X", "K", K);
408:             context__.validate_dims("data initialization", "X", "matrix_d", context__.to_vec(T,K));
409:             validate_non_negative_index("X", "T", T);
410:             validate_non_negative_index("X", "K", K);
411:             X = matrix_d(static_cast<Eigen::VectorXd::Index>(T),static_cast<Eigen::VectorXd::Index>(K));
412:             vals_r__ = context__.vals_r("X");
413:             pos__ = 0;
414:             size_t X_m_mat_lim__ = T;
415:             size_t X_n_mat_lim__ = K;
416:             for (size_t n_mat__ = 0; n_mat__ < X_n_mat_lim__; ++n_mat__) {
417:                 for (size_t m_mat__ = 0; m_mat__ < X_m_mat_lim__; ++m_mat__) {
418:                     X(m_mat__,n_mat__) = vals_r__[pos__++];
419:                 }
420:             }
421:             current_statement_begin__ = 82;
422:             validate_non_negative_index("sigmas", "K", K);
423:             context__.validate_dims("data initialization", "sigmas", "vector_d", context__.to_vec(K));
424:             validate_non_negative_index("sigmas", "K", K);
425:             sigmas = vector_d(static_cast<Eigen::VectorXd::Index>(K));
426:             vals_r__ = context__.vals_r("sigmas");
427:             pos__ = 0;
428:             size_t sigmas_i_vec_lim__ = K;
429:             for (size_t i_vec__ = 0; i_vec__ < sigmas_i_vec_lim__; ++i_vec__) {
430:                 sigmas[i_vec__] = vals_r__[pos__++];
431:             }
432:             current_statement_begin__ = 83;
433:             context__.validate_dims("data initialization", "tau", "double", context__.to_vec());
434:             tau = double(0);
435:             vals_r__ = context__.vals_r("tau");
436:             pos__ = 0;
437:             tau = vals_r__[pos__++];
438:             current_statement_begin__ = 84;
439:             context__.validate_dims("data initialization", "trend_indicator", "int", context__.to_vec());
440:             trend_indicator = int(0);
441:             vals_i__ = context__.vals_i("trend_indicator");
442:             pos__ = 0;
443:             trend_indicator = vals_i__[pos__++];
444:             current_statement_begin__ = 85;
445:             validate_non_negative_index("s_a", "K", K);
446:             context__.validate_dims("data initialization", "s_a", "vector_d", context__.to_vec(K));
447:             validate_non_negative_index("s_a", "K", K);
448:             s_a = vector_d(static_cast<Eigen::VectorXd::Index>(K));
449:             vals_r__ = context__.vals_r("s_a");
450:             pos__ = 0;
451:             size_t s_a_i_vec_lim__ = K;
452:             for (size_t i_vec__ = 0; i_vec__ < s_a_i_vec_lim__; ++i_vec__) {
453:                 s_a[i_vec__] = vals_r__[pos__++];
454:             }
455:             current_statement_begin__ = 86;
456:             validate_non_negative_index("s_m", "K", K);
457:             context__.validate_dims("data initialization", "s_m", "vector_d", context__.to_vec(K));
458:             validate_non_negative_index("s_m", "K", K);
459:             s_m = vector_d(static_cast<Eigen::VectorXd::Index>(K));
460:             vals_r__ = context__.vals_r("s_m");
461:             pos__ = 0;
462:             size_t s_m_i_vec_lim__ = K;
463:             for (size_t i_vec__ = 0; i_vec__ < s_m_i_vec_lim__; ++i_vec__) {
464:                 s_m[i_vec__] = vals_r__[pos__++];
465:             }
466: 
467:             // validate, data variables
468:             current_statement_begin__ = 74;
469:             current_statement_begin__ = 75;
470:             check_greater_or_equal(function__,"K",K,1);
471:             current_statement_begin__ = 76;
472:             current_statement_begin__ = 77;
473:             current_statement_begin__ = 78;
474:             current_statement_begin__ = 79;
475:             current_statement_begin__ = 80;
476:             current_statement_begin__ = 81;
477:             current_statement_begin__ = 82;
478:             current_statement_begin__ = 83;
479:             check_greater_or_equal(function__,"tau",tau,0);
480:             current_statement_begin__ = 84;
481:             current_statement_begin__ = 85;
482:             current_statement_begin__ = 86;
483:             // initialize data variables
484:             current_statement_begin__ = 90;
485:             validate_non_negative_index("A", "T", T);
486:             validate_non_negative_index("A", "S", S);
487:             A = matrix_d(static_cast<Eigen::VectorXd::Index>(T),static_cast<Eigen::VectorXd::Index>(S));
488:             stan::math::fill(A,DUMMY_VAR__);
489: 
490:             current_statement_begin__ = 91;
491:             stan::math::assign(A, get_changepoint_matrix(t,t_change,T,S, pstream__));
492: 
493:             // validate transformed data
494:             current_statement_begin__ = 90;
495: 
496:             // validate, set parameter ranges
497:             num_params_r__ = 0U;
498:             param_ranges_i__.clear();
499:             current_statement_begin__ = 95;
500:             ++num_params_r__;
501:             current_statement_begin__ = 96;
502:             ++num_params_r__;
503:             current_statement_begin__ = 97;
504:             validate_non_negative_index("delta", "S", S);
505:             num_params_r__ += S;
506:             current_statement_begin__ = 98;
507:             ++num_params_r__;
508:             current_statement_begin__ = 99;
509:             validate_non_negative_index("beta", "K", K);
510:             num_params_r__ += K;
511:         } catch (const std::exception& e) {
512:             stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
513:             // Next line prevents compiler griping about no return
514:             throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
515:         }
516:     }
517: 
518:     ~model20b4c57783cbb_prophet() { }
519: 
520: 
521:     void transform_inits(const stan::io::var_context& context__,
522:                          std::vector<int>& params_i__,
523:                          std::vector<double>& params_r__,
524:                          std::ostream* pstream__) const {
525:         stan::io::writer<double> writer__(params_r__,params_i__);
526:         size_t pos__;
527:         (void) pos__; // dummy call to supress warning
528:         std::vector<double> vals_r__;
529:         std::vector<int> vals_i__;
530: 
531:         if (!(context__.contains_r("k")))
532:             throw std::runtime_error("variable k missing");
533:         vals_r__ = context__.vals_r("k");
534:         pos__ = 0U;
535:         context__.validate_dims("initialization", "k", "double", context__.to_vec());
536:         double k(0);
537:         k = vals_r__[pos__++];
538:         try {
539:             writer__.scalar_unconstrain(k);
540:         } catch (const std::exception& e) { 
541:             throw std::runtime_error(std::string("Error transforming variable k: ") + e.what());
542:         }
543: 
544:         if (!(context__.contains_r("m")))
545:             throw std::runtime_error("variable m missing");
546:         vals_r__ = context__.vals_r("m");
547:         pos__ = 0U;
548:         context__.validate_dims("initialization", "m", "double", context__.to_vec());
549:         double m(0);
550:         m = vals_r__[pos__++];
551:         try {
552:             writer__.scalar_unconstrain(m);
553:         } catch (const std::exception& e) { 
554:             throw std::runtime_error(std::string("Error transforming variable m: ") + e.what());
555:         }
556: 
557:         if (!(context__.contains_r("delta")))
558:             throw std::runtime_error("variable delta missing");
559:         vals_r__ = context__.vals_r("delta");
560:         pos__ = 0U;
561:         validate_non_negative_index("delta", "S", S);
562:         context__.validate_dims("initialization", "delta", "vector_d", context__.to_vec(S));
563:         vector_d delta(static_cast<Eigen::VectorXd::Index>(S));
564:         for (int j1__ = 0U; j1__ < S; ++j1__)
565:             delta(j1__) = vals_r__[pos__++];
566:         try {
567:             writer__.vector_unconstrain(delta);
568:         } catch (const std::exception& e) { 
569:             throw std::runtime_error(std::string("Error transforming variable delta: ") + e.what());
570:         }
571: 
572:         if (!(context__.contains_r("sigma_obs")))
573:             throw std::runtime_error("variable sigma_obs missing");
574:         vals_r__ = context__.vals_r("sigma_obs");
575:         pos__ = 0U;
576:         context__.validate_dims("initialization", "sigma_obs", "double", context__.to_vec());
577:         double sigma_obs(0);
578:         sigma_obs = vals_r__[pos__++];
579:         try {
580:             writer__.scalar_lb_unconstrain(0,sigma_obs);
581:         } catch (const std::exception& e) { 
582:             throw std::runtime_error(std::string("Error transforming variable sigma_obs: ") + e.what());
583:         }
584: 
585:         if (!(context__.contains_r("beta")))
586:             throw std::runtime_error("variable beta missing");
587:         vals_r__ = context__.vals_r("beta");
588:         pos__ = 0U;
589:         validate_non_negative_index("beta", "K", K);
590:         context__.validate_dims("initialization", "beta", "vector_d", context__.to_vec(K));
591:         vector_d beta(static_cast<Eigen::VectorXd::Index>(K));
592:         for (int j1__ = 0U; j1__ < K; ++j1__)
593:             beta(j1__) = vals_r__[pos__++];
594:         try {
595:             writer__.vector_unconstrain(beta);
596:         } catch (const std::exception& e) { 
597:             throw std::runtime_error(std::string("Error transforming variable beta: ") + e.what());
598:         }
599: 
600:         params_r__ = writer__.data_r();
601:         params_i__ = writer__.data_i();
602:     }
603: 
604:     void transform_inits(const stan::io::var_context& context,
605:                          Eigen::Matrix<double,Eigen::Dynamic,1>& params_r,
606:                          std::ostream* pstream__) const {
607:       std::vector<double> params_r_vec;
608:       std::vector<int> params_i_vec;
609:       transform_inits(context, params_i_vec, params_r_vec, pstream__);
610:       params_r.resize(params_r_vec.size());
611:       for (int i = 0; i < params_r.size(); ++i)
612:         params_r(i) = params_r_vec[i];
613:     }
614: 
615: 
616:     template <bool propto__, bool jacobian__, typename T__>
617:     T__ log_prob(vector<T__>& params_r__,
618:                  vector<int>& params_i__,
619:                  std::ostream* pstream__ = 0) const {
620: 
621:         typedef T__ local_scalar_t__;
622: 
623:         local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
624:         (void) DUMMY_VAR__;  // suppress unused var warning
625: 
626:         T__ lp__(0.0);
627:         stan::math::accumulator<T__> lp_accum__;
628: 
629:         try {
630:             // model parameters
631:             stan::io::reader<local_scalar_t__> in__(params_r__,params_i__);
632: 
633:             local_scalar_t__ k;
634:             (void) k;  // dummy to suppress unused var warning
635:             if (jacobian__)
636:                 k = in__.scalar_constrain(lp__);
637:             else
638:                 k = in__.scalar_constrain();
639: 
640:             local_scalar_t__ m;
641:             (void) m;  // dummy to suppress unused var warning
642:             if (jacobian__)
643:                 m = in__.scalar_constrain(lp__);
644:             else
645:                 m = in__.scalar_constrain();
646: 
647:             Eigen::Matrix<local_scalar_t__,Eigen::Dynamic,1>  delta;
648:             (void) delta;  // dummy to suppress unused var warning
649:             if (jacobian__)
650:                 delta = in__.vector_constrain(S,lp__);
651:             else
652:                 delta = in__.vector_constrain(S);
653: 
654:             local_scalar_t__ sigma_obs;
655:             (void) sigma_obs;  // dummy to suppress unused var warning
656:             if (jacobian__)
657:                 sigma_obs = in__.scalar_lb_constrain(0,lp__);
658:             else
659:                 sigma_obs = in__.scalar_lb_constrain(0);
660: 
661:             Eigen::Matrix<local_scalar_t__,Eigen::Dynamic,1>  beta;
662:             (void) beta;  // dummy to suppress unused var warning
663:             if (jacobian__)
664:                 beta = in__.vector_constrain(K,lp__);
665:             else
666:                 beta = in__.vector_constrain(K);
667: 
668: 
669:             // transformed parameters
670: 
671: 
672: 
673:             // validate transformed parameters
674: 
675:             const char* function__ = "validate transformed params";
676:             (void) function__;  // dummy to suppress unused var warning
677: 
678:             // model body
679: 
680:             current_statement_begin__ = 104;
681:             lp_accum__.add(normal_log<propto__>(k, 0, 5));
682:             current_statement_begin__ = 105;
683:             lp_accum__.add(normal_log<propto__>(m, 0, 5));
684:             current_statement_begin__ = 106;
685:             lp_accum__.add(double_exponential_log<propto__>(delta, 0, tau));
686:             current_statement_begin__ = 107;
687:             lp_accum__.add(normal_log<propto__>(sigma_obs, 0, 0.5));
688:             current_statement_begin__ = 108;
689:             lp_accum__.add(normal_log<propto__>(beta, 0, sigmas));
690:             current_statement_begin__ = 111;
691:             if (as_bool(logical_eq(trend_indicator,0))) {
692: 
693:                 current_statement_begin__ = 112;
694:                 lp_accum__.add(normal_log<propto__>(y, add(elt_multiply(linear_trend(k,m,delta,t,A,t_change, pstream__),add(1,multiply(X,elt_multiply(beta,s_m)))),multiply(X,elt_multiply(beta,s_a))), sigma_obs));
695:             } else if (as_bool(logical_eq(trend_indicator,1))) {
696: 
697:                 current_statement_begin__ = 119;
698:                 lp_accum__.add(normal_log<propto__>(y, add(elt_multiply(logistic_trend(k,m,delta,t,cap,A,t_change,S, pstream__),add(1,multiply(X,elt_multiply(beta,s_m)))),multiply(X,elt_multiply(beta,s_a))), sigma_obs));
699:             }
700: 
701:         } catch (const std::exception& e) {
702:             stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
703:             // Next line prevents compiler griping about no return
704:             throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
705:         }
706: 
707:         lp_accum__.add(lp__);
708:         return lp_accum__.sum();
709: 
710:     } // log_prob()
711: 
712:     template <bool propto, bool jacobian, typename T_>
713:     T_ log_prob(Eigen::Matrix<T_,Eigen::Dynamic,1>& params_r,
714:                std::ostream* pstream = 0) const {
715:       std::vector<T_> vec_params_r;
716:       vec_params_r.reserve(params_r.size());
717:       for (int i = 0; i < params_r.size(); ++i)
718:         vec_params_r.push_back(params_r(i));
719:       std::vector<int> vec_params_i;
720:       return log_prob<propto,jacobian,T_>(vec_params_r, vec_params_i, pstream);
721:     }
722: 
723: 
724:     void get_param_names(std::vector<std::string>& names__) const {
725:         names__.resize(0);
726:         names__.push_back("k");
727:         names__.push_back("m");
728:         names__.push_back("delta");
729:         names__.push_back("sigma_obs");
730:         names__.push_back("beta");
731:     }
732: 
733: 
734:     void get_dims(std::vector<std::vector<size_t> >& dimss__) const {
735:         dimss__.resize(0);
736:         std::vector<size_t> dims__;
737:         dims__.resize(0);
738:         dimss__.push_back(dims__);
739:         dims__.resize(0);
740:         dimss__.push_back(dims__);
741:         dims__.resize(0);
742:         dims__.push_back(S);
743:         dimss__.push_back(dims__);
744:         dims__.resize(0);
745:         dimss__.push_back(dims__);
746:         dims__.resize(0);
747:         dims__.push_back(K);
748:         dimss__.push_back(dims__);
749:     }
750: 
751:     template <typename RNG>
752:     void write_array(RNG& base_rng__,
753:                      std::vector<double>& params_r__,
754:                      std::vector<int>& params_i__,
755:                      std::vector<double>& vars__,
756:                      bool include_tparams__ = true,
757:                      bool include_gqs__ = true,
758:                      std::ostream* pstream__ = 0) const {
759:         typedef double local_scalar_t__;
760: 
761:         vars__.resize(0);
762:         stan::io::reader<local_scalar_t__> in__(params_r__,params_i__);
763:         static const char* function__ = "model20b4c57783cbb_prophet_namespace::write_array";
764:         (void) function__;  // dummy to suppress unused var warning
765:         // read-transform, write parameters
766:         double k = in__.scalar_constrain();
767:         double m = in__.scalar_constrain();
768:         vector_d delta = in__.vector_constrain(S);
769:         double sigma_obs = in__.scalar_lb_constrain(0);
770:         vector_d beta = in__.vector_constrain(K);
771:         vars__.push_back(k);
772:         vars__.push_back(m);
773:             for (int k_0__ = 0; k_0__ < S; ++k_0__) {
774:             vars__.push_back(delta[k_0__]);
775:             }
776:         vars__.push_back(sigma_obs);
777:             for (int k_0__ = 0; k_0__ < K; ++k_0__) {
778:             vars__.push_back(beta[k_0__]);
779:             }
780: 
781:         // declare and define transformed parameters
782:         double lp__ = 0.0;
783:         (void) lp__;  // dummy to suppress unused var warning
784:         stan::math::accumulator<double> lp_accum__;
785: 
786:         local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
787:         (void) DUMMY_VAR__;  // suppress unused var warning
788: 
789:         try {
790: 
791: 
792: 
793:             // validate transformed parameters
794: 
795:             // write transformed parameters
796:             if (include_tparams__) {
797:             }
798:             if (!include_gqs__) return;
799:             // declare and define generated quantities
800: 
801: 
802: 
803:             // validate generated quantities
804: 
805:             // write generated quantities
806:         } catch (const std::exception& e) {
807:             stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
808:             // Next line prevents compiler griping about no return
809:             throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
810:         }
811:     }
812: 
813:     template <typename RNG>
814:     void write_array(RNG& base_rng,
815:                      Eigen::Matrix<double,Eigen::Dynamic,1>& params_r,
816:                      Eigen::Matrix<double,Eigen::Dynamic,1>& vars,
817:                      bool include_tparams = true,
818:                      bool include_gqs = true,
819:                      std::ostream* pstream = 0) const {
820:       std::vector<double> params_r_vec(params_r.size());
821:       for (int i = 0; i < params_r.size(); ++i)
822:         params_r_vec[i] = params_r(i);
823:       std::vector<double> vars_vec;
824:       std::vector<int> params_i_vec;
825:       write_array(base_rng,params_r_vec,params_i_vec,vars_vec,include_tparams,include_gqs,pstream);
826:       vars.resize(vars_vec.size());
827:       for (int i = 0; i < vars.size(); ++i)
828:         vars(i) = vars_vec[i];
829:     }
830: 
831:     static std::string model_name() {
832:         return "model20b4c57783cbb_prophet";
833:     }
834: 
835: 
836:     void constrained_param_names(std::vector<std::string>& param_names__,
837:                                  bool include_tparams__ = true,
838:                                  bool include_gqs__ = true) const {
839:         std::stringstream param_name_stream__;
840:         param_name_stream__.str(std::string());
841:         param_name_stream__ << "k";
842:         param_names__.push_back(param_name_stream__.str());
843:         param_name_stream__.str(std::string());
844:         param_name_stream__ << "m";
845:         param_names__.push_back(param_name_stream__.str());
846:         for (int k_0__ = 1; k_0__ <= S; ++k_0__) {
847:             param_name_stream__.str(std::string());
848:             param_name_stream__ << "delta" << '.' << k_0__;
849:             param_names__.push_back(param_name_stream__.str());
850:         }
851:         param_name_stream__.str(std::string());
852:         param_name_stream__ << "sigma_obs";
853:         param_names__.push_back(param_name_stream__.str());
854:         for (int k_0__ = 1; k_0__ <= K; ++k_0__) {
855:             param_name_stream__.str(std::string());
856:             param_name_stream__ << "beta" << '.' << k_0__;
857:             param_names__.push_back(param_name_stream__.str());
858:         }
859: 
860:         if (!include_gqs__ && !include_tparams__) return;
861: 
862:         if (include_tparams__) {
863:         }
864: 
865: 
866:         if (!include_gqs__) return;
867:     }
868: 
869: 
870:     void unconstrained_param_names(std::vector<std::string>& param_names__,
871:                                    bool include_tparams__ = true,
872:                                    bool include_gqs__ = true) const {
873:         std::stringstream param_name_stream__;
874:         param_name_stream__.str(std::string());
875:         param_name_stream__ << "k";
876:         param_names__.push_back(param_name_stream__.str());
877:         param_name_stream__.str(std::string());
878:         param_name_stream__ << "m";
879:         param_names__.push_back(param_name_stream__.str());
880:         for (int k_0__ = 1; k_0__ <= S; ++k_0__) {
881:             param_name_stream__.str(std::string());
882:             param_name_stream__ << "delta" << '.' << k_0__;
883:             param_names__.push_back(param_name_stream__.str());
884:         }
885:         param_name_stream__.str(std::string());
886:         param_name_stream__ << "sigma_obs";
887:         param_names__.push_back(param_name_stream__.str());
888:         for (int k_0__ = 1; k_0__ <= K; ++k_0__) {
889:             param_name_stream__.str(std::string());
890:             param_name_stream__ << "beta" << '.' << k_0__;
891:             param_names__.push_back(param_name_stream__.str());
892:         }
893: 
894:         if (!include_gqs__ && !include_tparams__) return;
895: 
896:         if (include_tparams__) {
897:         }
898: 
899: 
900:         if (!include_gqs__) return;
901:     }
902: 
903: }; // model
904: 
905: }
906: 
907: typedef model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet stan_model;
908: 
909: #include <rstan/rstaninc.hpp>
910: /**
911:  * Define Rcpp Module to expose stan_fit's functions to R.
912:  */
913: RCPP_MODULE(stan_fit4model20b4c57783cbb_prophet_mod){
914:   Rcpp::class_<rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet,
915:                boost::random::ecuyer1988> >("stan_fit4model20b4c57783cbb_prophet")
916:     // .constructor<Rcpp::List>()
917:     .constructor<SEXP, SEXP, SEXP>()
918:     // .constructor<SEXP, SEXP>()
919:     .method("call_sampler",
920:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::call_sampler)
921:     .method("param_names",
922:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::param_names)
923:     .method("param_names_oi",
924:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::param_names_oi)
925:     .method("param_fnames_oi",
926:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::param_fnames_oi)
927:     .method("param_dims",
928:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::param_dims)
929:     .method("param_dims_oi",
930:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::param_dims_oi)
931:     .method("update_param_oi",
932:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::update_param_oi)
933:     .method("param_oi_tidx",
934:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::param_oi_tidx)
935:     .method("grad_log_prob",
936:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::grad_log_prob)
937:     .method("log_prob",
938:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::log_prob)
939:     .method("unconstrain_pars",
940:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::unconstrain_pars)
941:     .method("constrain_pars",
942:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::constrain_pars)
943:     .method("num_pars_unconstrained",
944:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::num_pars_unconstrained)
945:     .method("unconstrained_param_names",
946:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::unconstrained_param_names)
947:     .method("constrained_param_names",
948:             &rstan::stan_fit<model20b4c57783cbb_prophet_namespace::model20b4c57783cbb_prophet, boost::random::ecuyer1988>::constrained_param_names)
949:     ;
950: }
951: 
952: // declarations
953: extern "C" {
954: SEXP file20b4c39955db4( ) ;
955: }
956: 
957: // definition
958: 
959: SEXP file20b4c39955db4(  ){
960:  return Rcpp::wrap("prophet");
961: }
962: 
963: 
Error: package or namespace load failed for 'prophet':
 .onLoad failed in loadNamespace() for 'prophet', details:
  call: compileCode(f, code, language = language, verbose = verbose)
  error: Compilation ERROR, function(s)/method(s) not created! In file included from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/config.hpp:39:0,
                 from d:/RCompile/CRANpkg/lib/3.5/BH/include/boost/math/tools/config.hpp:13,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/var.hpp:7,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/core.hpp:12,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/stan/math.hpp:4,
                 from d:/RCompile/CRANpkg/lib/3.5/StanHeaders/include/src/stan/model/mo
In addition: Warning messages:
1: In rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model") :
  StanHeaders version is ahead of rstan version; update to latest rstan
2: In system(cmd, intern = !verbose) :
  running command 'D:/RCompile/recent/R-35~1.1/bin/i386/R CMD SHLIB file20b4c39955db4.cpp 2> file20b4c39955db4.cpp.err.txt' had status 1
Execution halted
** DONE