Error in re-building vignettes:
  ...
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
trying deprecated constructor; please alert package maintainer
trying deprecated constructor; please alert package maintainer
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Creating a 'stanmodel' object schools_mod_cp
Warning: running command '/home/ripley/R/gcc/bin/R CMD SHLIB file4ca047bf7cce.cpp 2> file4ca047bf7cce.cpp.err.txt' had status 1 and error message 'Illegal seek'
In file included from /home/ripley/R/Lib32/BH/include/boost/config.hpp:39:0,
                 from /home/ripley/R/Lib32/BH/include/boost/math/tools/config.hpp:13,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core/var.hpp:7,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core.hpp:12,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/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 /usr/include/sys/ucontext.h:20:0,
                 from /usr/include/sys/signal.h:231,
                 from /usr/include/sys/procset.h:23,
                 from /usr/include/sys/wait.h:25,
                 from /usr/include/stdlib.h:21,
                 from /opt/csw/include/c++/5.2.0/cstdlib:72,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/memory/stack_alloc.hpp:8,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:97:24: error: expected nested-name-specifier before numeric constant
     template <typename FS, typename F, typename T0, typename T1>
                        ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:97:24: error: expected ‘>’ before numeric constant
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:100:7: error: expected unqualified-id before numeric constant
       FS fs_;
       ^
In file included from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:4:0,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:55,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:106:28: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
       hybrj_functor_solver(const FS& fs,
                            ^
In file included from /usr/include/sys/ucontext.h:20:0,
                 from /usr/include/sys/signal.h:231,
                 from /usr/include/sys/procset.h:23,
                 from /usr/include/sys/wait.h:25,
                 from /usr/include/stdlib.h:21,
                 from /opt/csw/include/c++/5.2.0/cstdlib:72,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/memory/stack_alloc.hpp:8,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:106:34: error: expected ‘,’ or ‘...’ before numeric constant
       hybrj_functor_solver(const FS& fs,
                                  ^
In file included from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:4:0,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:55,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp: In constructor ‘stan::math::hybrj_functor_solver<<anonymous> >::hybrj_functor_solver(int)’:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:113:11: error: class ‘stan::math::hybrj_functor_solver<<anonymous> >’ does not have any field named ‘fs_’
         : fs_(f, x, y, dat, dat_int, msgs),
           ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:113:15: error: ‘f’ was not declared in this scope
         : fs_(f, x, y, dat, dat_int, msgs),
               ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:113:18: error: ‘x’ was not declared in this scope
         : fs_(f, x, y, dat, dat_int, msgs),
                  ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:113:21: error: ‘y’ was not declared in this scope
         : fs_(f, x, y, dat, dat_int, msgs),
                     ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:113:24: error: ‘dat’ was not declared in this scope
         : fs_(f, x, y, dat, dat_int, msgs),
                        ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:113:29: error: ‘dat_int’ was not declared in this scope
         : fs_(f, x, y, dat, dat_int, msgs),
                             ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:113:38: error: ‘msgs’ was not declared in this scope
         : fs_(f, x, y, dat, dat_int, msgs),
                                      ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp: In member function ‘int stan::math::hybrj_functor_solver<<anonymous> >::operator()(const VectorXd&, Eigen::VectorXd&)’:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:124:18: error: ‘fs_’ was not declared in this scope
         jacobian(fs_, iv, fvec, J_);
                  ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp: In member function ‘Eigen::MatrixXd stan::math::hybrj_functor_solver<<anonymous> >::get_jacobian(const VectorXd&)’:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:147:18: error: ‘fs_’ was not declared in this scope
         jacobian(fs_, iv, fvec, J_);
                  ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp: In member function ‘Eigen::VectorXd stan::math::hybrj_functor_solver<<anonymous> >::get_value(const VectorXd&) const’:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:158:22: error: there are no arguments to ‘fs_’ that depend on a template parameter, so a declaration of ‘fs_’ must be available [-fpermissive]
         return fs_(iv);
                      ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:158:22: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /usr/include/sys/ucontext.h:20:0,
                 from /usr/include/sys/signal.h:231,
                 from /usr/include/sys/procset.h:23,
                 from /usr/include/sys/wait.h:25,
                 from /usr/include/stdlib.h:21,
                 from /opt/csw/include/c++/5.2.0/cstdlib:72,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/memory/stack_alloc.hpp:8,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp: At global scope:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:26:24: error: expected nested-name-specifier before numeric constant
     template <typename FS, typename F, typename T, typename FX>
                        ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:26:24: error: expected ‘>’ before numeric constant
In file included from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:55:0,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:39:27: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
       algebra_solver_vari(const FS& fs,
                           ^
In file included from /usr/include/sys/ucontext.h:20:0,
                 from /usr/include/sys/signal.h:231,
                 from /usr/include/sys/procset.h:23,
                 from /usr/include/sys/wait.h:25,
                 from /usr/include/stdlib.h:21,
                 from /opt/csw/include/c++/5.2.0/cstdlib:72,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/memory/stack_alloc.hpp:8,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:39:33: error: expected ‘,’ or ‘...’ before numeric constant
       algebra_solver_vari(const FS& fs,
                                 ^
In file included from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:55:0,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp: In constructor ‘stan::math::algebra_solver_vari<<anonymous> >::algebra_solver_vari(int)’:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:48:27: error: there are no arguments to ‘theta_dbl’ that depend on a template parameter, so a declaration of ‘theta_dbl’ must be available [-fpermissive]
         : vari(theta_dbl(0)),
                           ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:49:59: error: ‘y’ was not declared in this scope
           y_(ChainableStack::memalloc_.alloc_array<vari*>(y.size())),
                                                           ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:51:19: error: ‘x’ was not declared in this scope
           x_size_(x.size()),
                   ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:62:43: error: there are no arguments to ‘theta_dbl’ that depend on a template parameter, so a declaration of ‘theta_dbl’ must be available [-fpermissive]
           theta_[i] = new vari(theta_dbl(i), false);
                                           ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:66:42: error: ‘F’ was not declared in this scope
         typedef hybrj_functor_solver<FS, F, double, double> f_y;
                                          ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:66:59: error: wrong number of template arguments (4, should be 1)
         typedef hybrj_functor_solver<FS, F, double, double> f_y;
                                                           ^
In file included from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:4:0,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:55,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:98:12: note: provided for ‘template<int <anonymous> > struct stan::math::hybrj_functor_solver’
     struct hybrj_functor_solver : nlo_functor<double> {
            ^
In file included from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:55:0,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:68:28: error: ‘fx’ was not declared in this scope
           = - mdivide_left(fx.get_jacobian(theta_dbl),
                            ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:68:44: error: ‘theta_dbl’ was not declared in this scope
           = - mdivide_left(fx.get_jacobian(theta_dbl),
                                            ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:69:32: error: ‘fs’ was not declared in this scope
                            f_y(fs, f, theta_dbl, value_of(y),
                                ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:69:36: error: ‘f’ was not declared in this scope
                            f_y(fs, f, theta_dbl, value_of(y),
                                    ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:70:32: error: ‘dat’ was not declared in this scope
                                dat, dat_int, msgs).get_jacobian(value_of(y)));
                                ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:70:37: error: ‘dat_int’ was not declared in this scope
                                dat, dat_int, msgs).get_jacobian(value_of(y)));
                                     ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:70:46: error: ‘msgs’ was not declared in this scope
                                dat, dat_int, msgs).get_jacobian(value_of(y)));
                                              ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:70:52: error: request for member ‘get_jacobian’ in ‘f_y(<expression error>, <expression error>, theta_dbl, <expression error>, <expression error>, <expression error>, <expression error>)’, which is of non-class type ‘f_y {aka int}’
                                dat, dat_int, msgs).get_jacobian(value_of(y)));
                                                    ^
In file included from /usr/include/sys/ucontext.h:20:0,
                 from /usr/include/sys/signal.h:231,
                 from /usr/include/sys/procset.h:23,
                 from /usr/include/sys/wait.h:25,
                 from /usr/include/stdlib.h:21,
                 from /opt/csw/include/c++/5.2.0/cstdlib:72,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/memory/stack_alloc.hpp:8,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp: In function ‘Eigen::VectorXd stan::math::algebra_solver(const F&, const VectorXd&, const VectorXd&, const std::vector<double>&, const std::vector<int>&, std::ostream*, double, double, long int)’:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:160:55: error: expected unqualified-id before numeric constant
       typedef system_functor<F, double, double, true> FS;
                                                       ^
In file included from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:55:0,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:161:57: error: wrong number of template arguments (4, should be 1)
       typedef hybrj_functor_solver<FS, F, double, double> FX;
                                                         ^
In file included from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:4:0,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:55,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:98:12: note: provided for ‘template<int <anonymous> > struct stan::math::hybrj_functor_solver’
     struct hybrj_functor_solver : nlo_functor<double> {
            ^
In file included from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:55:0,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:162:16: error: expression cannot be used as a function
       FX fx(FS(), f, x, y, dat, dat_int, msgs);
                ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:162:46: error: expression list treated as compound expression in initializer [-fpermissive]
       FX fx(FS(), f, x, y, dat, dat_int, msgs);
                                              ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:168:31: error: request for member ‘get_value’ in ‘fx’, which is of non-class type ‘FX {aka int}’
                            fx.get_value(x),
                               ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:186:31: error: request for member ‘get_value’ in ‘fx’, which is of non-class type ‘FX {aka int}’
       double system_norm = fx.get_value(theta_dbl).stableNorm();
                               ^
In file included from /usr/include/sys/ucontext.h:20:0,
                 from /usr/include/sys/signal.h:231,
                 from /usr/include/sys/procset.h:23,
                 from /usr/include/sys/wait.h:25,
                 from /usr/include/stdlib.h:21,
                 from /opt/csw/include/c++/5.2.0/cstdlib:72,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/memory/stack_alloc.hpp:8,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp: In function ‘Eigen::Matrix<RhsScalar, -1, 1> stan::math::algebra_solver(const F&, const VectorXd&, const Eigen::Matrix<RhsScalar, -1, 1>&, const std::vector<double>&, const std::vector<int>&, std::ostream*, double, double, long int)’:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:265:55: error: expected unqualified-id before numeric constant
       typedef system_functor<F, double, double, true> FS;
                                                       ^
In file included from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:55:0,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:266:57: error: wrong number of template arguments (4, should be 1)
       typedef hybrj_functor_solver<FS, F, double, double> FX;
                                                         ^
In file included from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:4:0,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:55,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_system.hpp:98:12: note: provided for ‘template<int <anonymous> > struct stan::math::hybrj_functor_solver’
     struct hybrj_functor_solver : nlo_functor<double> {
            ^
In file included from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:55:0,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:267:16: error: expression cannot be used as a function
       FX fx(FS(), f, x, value_of(y), dat, dat_int, msgs);
                ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:267:56: error: expression list treated as compound expression in initializer [-fpermissive]
       FX fx(FS(), f, x, value_of(y), dat, dat_int, msgs);
                                                        ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:270:40: error: wrong number of template arguments (4, should be 1)
       algebra_solver_vari<FY, F,  T, FX>* vi0
                                        ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:27:12: note: provided for ‘template<int <anonymous> > struct stan::math::algebra_solver_vari’
     struct algebra_solver_vari : public vari {
            ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:271:47: error: wrong number of template arguments (4, should be 1)
         = new algebra_solver_vari<FY, F, T, FX>(FY(), f, x, y, dat, dat_int,
                                               ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:27:12: note: provided for ‘template<int <anonymous> > struct stan::math::algebra_solver_vari’
     struct algebra_solver_vari : public vari {
            ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:274:27: error: request for member ‘theta_’ in ‘vi0->’, which is of non-class type ‘int’
       theta(0) = var(vi0->theta_[0]);
                           ^
/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/functor/algebra_solver.hpp:276:29: error: request for member ‘theta_’ in ‘vi0->’, which is of non-class type ‘int’
         theta(i) = var(vi0->theta_[i]);
                             ^
make: Fatal error: Command failed for target `file4ca047bf7cce.o'
Current working directory /tmp/Rtmp.IaauM

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.17.0
  7: 
  8: #include <stan/model/model_header.hpp>
  9: 
 10: namespace model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_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: typedef Eigen::Matrix<double,Eigen::Dynamic,1> vector_d;
 22: typedef Eigen::Matrix<double,1,Eigen::Dynamic> row_vector_d;
 23: typedef Eigen::Matrix<double,Eigen::Dynamic,Eigen::Dynamic> matrix_d;
 24: 
 25: static int current_statement_begin__;
 26: 
 27: stan::io::program_reader prog_reader__() {
 28:     stan::io::program_reader reader;
 29:     reader.add_event(0, 0, "start", "model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85");
 30:     reader.add_event(17, 17, "end", "model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85");
 31:     return reader;
 32: }
 33: 
 34: class model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85 : public prob_grad {
 35: private:
 36:     int J;
 37:     vector_d y;
 38:     vector_d sigma;
 39: public:
 40:     model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85(stan::io::var_context& context__,
 41:         std::ostream* pstream__ = 0)
 42:         : prob_grad(0) {
 43:         ctor_body(context__, 0, pstream__);
 44:     }
 45: 
 46:     model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85(stan::io::var_context& context__,
 47:         unsigned int random_seed__,
 48:         std::ostream* pstream__ = 0)
 49:         : prob_grad(0) {
 50:         ctor_body(context__, random_seed__, pstream__);
 51:     }
 52: 
 53:     void ctor_body(stan::io::var_context& context__,
 54:                    unsigned int random_seed__,
 55:                    std::ostream* pstream__) {
 56:         boost::ecuyer1988 base_rng__ =
 57:           stan::services::util::create_rng(random_seed__, 0);
 58:         (void) base_rng__;  // suppress unused var warning
 59: 
 60:         current_statement_begin__ = -1;
 61: 
 62:         static const char* function__ = "model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85";
 63:         (void) function__;  // dummy to suppress unused var warning
 64:         size_t pos__;
 65:         (void) pos__;  // dummy to suppress unused var warning
 66:         std::vector<int> vals_i__;
 67:         std::vector<double> vals_r__;
 68:         double DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
 69:         (void) DUMMY_VAR__;  // suppress unused var warning
 70: 
 71:         // initialize member variables
 72:         try {
 73:             current_statement_begin__ = 3;
 74:             context__.validate_dims("data initialization", "J", "int", context__.to_vec());
 75:             J = int(0);
 76:             vals_i__ = context__.vals_i("J");
 77:             pos__ = 0;
 78:             J = vals_i__[pos__++];
 79:             current_statement_begin__ = 4;
 80:             validate_non_negative_index("y", "J", J);
 81:             context__.validate_dims("data initialization", "y", "vector_d", context__.to_vec(J));
 82:             validate_non_negative_index("y", "J", J);
 83:             y = vector_d(static_cast<Eigen::VectorXd::Index>(J));
 84:             vals_r__ = context__.vals_r("y");
 85:             pos__ = 0;
 86:             size_t y_i_vec_lim__ = J;
 87:             for (size_t i_vec__ = 0; i_vec__ < y_i_vec_lim__; ++i_vec__) {
 88:                 y[i_vec__] = vals_r__[pos__++];
 89:             }
 90:             current_statement_begin__ = 5;
 91:             validate_non_negative_index("sigma", "J", J);
 92:             context__.validate_dims("data initialization", "sigma", "vector_d", context__.to_vec(J));
 93:             validate_non_negative_index("sigma", "J", J);
 94:             sigma = vector_d(static_cast<Eigen::VectorXd::Index>(J));
 95:             vals_r__ = context__.vals_r("sigma");
 96:             pos__ = 0;
 97:             size_t sigma_i_vec_lim__ = J;
 98:             for (size_t i_vec__ = 0; i_vec__ < sigma_i_vec_lim__; ++i_vec__) {
 99:                 sigma[i_vec__] = vals_r__[pos__++];
100:             }
101: 
102:             // validate, data variables
103:             current_statement_begin__ = 3;
104:             check_greater_or_equal(function__,"J",J,0);
105:             current_statement_begin__ = 4;
106:             current_statement_begin__ = 5;
107:             check_greater_or_equal(function__,"sigma",sigma,0);
108:             // initialize data variables
109: 
110: 
111:             // validate transformed data
112: 
113:             // validate, set parameter ranges
114:             num_params_r__ = 0U;
115:             param_ranges_i__.clear();
116:             current_statement_begin__ = 8;
117:             ++num_params_r__;
118:             current_statement_begin__ = 9;
119:             ++num_params_r__;
120:             current_statement_begin__ = 10;
121:             validate_non_negative_index("theta", "J", J);
122:             num_params_r__ += J;
123:         } catch (const std::exception& e) {
124:             stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
125:             // Next line prevents compiler griping about no return
126:             throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
127:         }
128:     }
129: 
130:     ~model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85() { }
131: 
132: 
133:     void transform_inits(const stan::io::var_context& context__,
134:                          std::vector<int>& params_i__,
135:                          std::vector<double>& params_r__,
136:                          std::ostream* pstream__) const {
137:         stan::io::writer<double> writer__(params_r__,params_i__);
138:         size_t pos__;
139:         (void) pos__; // dummy call to supress warning
140:         std::vector<double> vals_r__;
141:         std::vector<int> vals_i__;
142: 
143:         if (!(context__.contains_r("mu")))
144:             throw std::runtime_error("variable mu missing");
145:         vals_r__ = context__.vals_r("mu");
146:         pos__ = 0U;
147:         context__.validate_dims("initialization", "mu", "double", context__.to_vec());
148:         double mu(0);
149:         mu = vals_r__[pos__++];
150:         try {
151:             writer__.scalar_unconstrain(mu);
152:         } catch (const std::exception& e) { 
153:             throw std::runtime_error(std::string("Error transforming variable mu: ") + e.what());
154:         }
155: 
156:         if (!(context__.contains_r("tau")))
157:             throw std::runtime_error("variable tau missing");
158:         vals_r__ = context__.vals_r("tau");
159:         pos__ = 0U;
160:         context__.validate_dims("initialization", "tau", "double", context__.to_vec());
161:         double tau(0);
162:         tau = vals_r__[pos__++];
163:         try {
164:             writer__.scalar_lb_unconstrain(0,tau);
165:         } catch (const std::exception& e) { 
166:             throw std::runtime_error(std::string("Error transforming variable tau: ") + e.what());
167:         }
168: 
169:         if (!(context__.contains_r("theta")))
170:             throw std::runtime_error("variable theta missing");
171:         vals_r__ = context__.vals_r("theta");
172:         pos__ = 0U;
173:         validate_non_negative_index("theta", "J", J);
174:         context__.validate_dims("initialization", "theta", "vector_d", context__.to_vec(J));
175:         vector_d theta(static_cast<Eigen::VectorXd::Index>(J));
176:         for (int j1__ = 0U; j1__ < J; ++j1__)
177:             theta(j1__) = vals_r__[pos__++];
178:         try {
179:             writer__.vector_unconstrain(theta);
180:         } catch (const std::exception& e) { 
181:             throw std::runtime_error(std::string("Error transforming variable theta: ") + e.what());
182:         }
183: 
184:         params_r__ = writer__.data_r();
185:         params_i__ = writer__.data_i();
186:     }
187: 
188:     void transform_inits(const stan::io::var_context& context,
189:                          Eigen::Matrix<double,Eigen::Dynamic,1>& params_r,
190:                          std::ostream* pstream__) const {
191:       std::vector<double> params_r_vec;
192:       std::vector<int> params_i_vec;
193:       transform_inits(context, params_i_vec, params_r_vec, pstream__);
194:       params_r.resize(params_r_vec.size());
195:       for (int i = 0; i < params_r.size(); ++i)
196:         params_r(i) = params_r_vec[i];
197:     }
198: 
199: 
200:     template <bool propto__, bool jacobian__, typename T__>
201:     T__ log_prob(vector<T__>& params_r__,
202:                  vector<int>& params_i__,
203:                  std::ostream* pstream__ = 0) const {
204: 
205:         T__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
206:         (void) DUMMY_VAR__;  // suppress unused var warning
207: 
208:         T__ lp__(0.0);
209:         stan::math::accumulator<T__> lp_accum__;
210: 
211:         try {
212:             // model parameters
213:             stan::io::reader<T__> in__(params_r__,params_i__);
214: 
215:             T__ mu;
216:             (void) mu;  // dummy to suppress unused var warning
217:             if (jacobian__)
218:                 mu = in__.scalar_constrain(lp__);
219:             else
220:                 mu = in__.scalar_constrain();
221: 
222:             T__ tau;
223:             (void) tau;  // dummy to suppress unused var warning
224:             if (jacobian__)
225:                 tau = in__.scalar_lb_constrain(0,lp__);
226:             else
227:                 tau = in__.scalar_lb_constrain(0);
228: 
229:             Eigen::Matrix<T__,Eigen::Dynamic,1>  theta;
230:             (void) theta;  // dummy to suppress unused var warning
231:             if (jacobian__)
232:                 theta = in__.vector_constrain(J,lp__);
233:             else
234:                 theta = in__.vector_constrain(J);
235: 
236: 
237:             // transformed parameters
238: 
239: 
240: 
241:             // validate transformed parameters
242: 
243:             const char* function__ = "validate transformed params";
244:             (void) function__;  // dummy to suppress unused var warning
245: 
246:             // model body
247: 
248:             current_statement_begin__ = 13;
249:             lp_accum__.add(normal_log<propto__>(mu, 0, 10));
250:             current_statement_begin__ = 14;
251:             lp_accum__.add(cauchy_log<propto__>(tau, 0, 10));
252:             current_statement_begin__ = 15;
253:             lp_accum__.add(normal_log<propto__>(theta, mu, tau));
254:             current_statement_begin__ = 16;
255:             lp_accum__.add(normal_log<propto__>(y, theta, sigma));
256: 
257:         } catch (const std::exception& e) {
258:             stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
259:             // Next line prevents compiler griping about no return
260:             throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
261:         }
262: 
263:         lp_accum__.add(lp__);
264:         return lp_accum__.sum();
265: 
266:     } // log_prob()
267: 
268:     template <bool propto, bool jacobian, typename T_>
269:     T_ log_prob(Eigen::Matrix<T_,Eigen::Dynamic,1>& params_r,
270:                std::ostream* pstream = 0) const {
271:       std::vector<T_> vec_params_r;
272:       vec_params_r.reserve(params_r.size());
273:       for (int i = 0; i < params_r.size(); ++i)
274:         vec_params_r.push_back(params_r(i));
275:       std::vector<int> vec_params_i;
276:       return log_prob<propto,jacobian,T_>(vec_params_r, vec_params_i, pstream);
277:     }
278: 
279: 
280:     void get_param_names(std::vector<std::string>& names__) const {
281:         names__.resize(0);
282:         names__.push_back("mu");
283:         names__.push_back("tau");
284:         names__.push_back("theta");
285:     }
286: 
287: 
288:     void get_dims(std::vector<std::vector<size_t> >& dimss__) const {
289:         dimss__.resize(0);
290:         std::vector<size_t> dims__;
291:         dims__.resize(0);
292:         dimss__.push_back(dims__);
293:         dims__.resize(0);
294:         dimss__.push_back(dims__);
295:         dims__.resize(0);
296:         dims__.push_back(J);
297:         dimss__.push_back(dims__);
298:     }
299: 
300:     template <typename RNG>
301:     void write_array(RNG& base_rng__,
302:                      std::vector<double>& params_r__,
303:                      std::vector<int>& params_i__,
304:                      std::vector<double>& vars__,
305:                      bool include_tparams__ = true,
306:                      bool include_gqs__ = true,
307:                      std::ostream* pstream__ = 0) const {
308:         vars__.resize(0);
309:         stan::io::reader<double> in__(params_r__,params_i__);
310:         static const char* function__ = "model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::write_array";
311:         (void) function__;  // dummy to suppress unused var warning
312:         // read-transform, write parameters
313:         double mu = in__.scalar_constrain();
314:         double tau = in__.scalar_lb_constrain(0);
315:         vector_d theta = in__.vector_constrain(J);
316:         vars__.push_back(mu);
317:         vars__.push_back(tau);
318:             for (int k_0__ = 0; k_0__ < J; ++k_0__) {
319:             vars__.push_back(theta[k_0__]);
320:             }
321: 
322:         if (!include_tparams__) return;
323:         // declare and define transformed parameters
324:         double lp__ = 0.0;
325:         (void) lp__;  // dummy to suppress unused var warning
326:         stan::math::accumulator<double> lp_accum__;
327: 
328:         double DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
329:         (void) DUMMY_VAR__;  // suppress unused var warning
330: 
331:         try {
332: 
333: 
334: 
335:             // validate transformed parameters
336: 
337:             // write transformed parameters
338: 
339:             if (!include_gqs__) return;
340:             // declare and define generated quantities
341: 
342: 
343: 
344:             // validate generated quantities
345: 
346:             // write generated quantities
347:         } catch (const std::exception& e) {
348:             stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
349:             // Next line prevents compiler griping about no return
350:             throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
351:         }
352:     }
353: 
354:     template <typename RNG>
355:     void write_array(RNG& base_rng,
356:                      Eigen::Matrix<double,Eigen::Dynamic,1>& params_r,
357:                      Eigen::Matrix<double,Eigen::Dynamic,1>& vars,
358:                      bool include_tparams = true,
359:                      bool include_gqs = true,
360:                      std::ostream* pstream = 0) const {
361:       std::vector<double> params_r_vec(params_r.size());
362:       for (int i = 0; i < params_r.size(); ++i)
363:         params_r_vec[i] = params_r(i);
364:       std::vector<double> vars_vec;
365:       std::vector<int> params_i_vec;
366:       write_array(base_rng,params_r_vec,params_i_vec,vars_vec,include_tparams,include_gqs,pstream);
367:       vars.resize(vars_vec.size());
368:       for (int i = 0; i < vars.size(); ++i)
369:         vars(i) = vars_vec[i];
370:     }
371: 
372:     static std::string model_name() {
373:         return "model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85";
374:     }
375: 
376: 
377:     void constrained_param_names(std::vector<std::string>& param_names__,
378:                                  bool include_tparams__ = true,
379:                                  bool include_gqs__ = true) const {
380:         std::stringstream param_name_stream__;
381:         param_name_stream__.str(std::string());
382:         param_name_stream__ << "mu";
383:         param_names__.push_back(param_name_stream__.str());
384:         param_name_stream__.str(std::string());
385:         param_name_stream__ << "tau";
386:         param_names__.push_back(param_name_stream__.str());
387:         for (int k_0__ = 1; k_0__ <= J; ++k_0__) {
388:             param_name_stream__.str(std::string());
389:             param_name_stream__ << "theta" << '.' << k_0__;
390:             param_names__.push_back(param_name_stream__.str());
391:         }
392: 
393:         if (!include_gqs__ && !include_tparams__) return;
394: 
395:         if (!include_gqs__) return;
396:     }
397: 
398: 
399:     void unconstrained_param_names(std::vector<std::string>& param_names__,
400:                                    bool include_tparams__ = true,
401:                                    bool include_gqs__ = true) const {
402:         std::stringstream param_name_stream__;
403:         param_name_stream__.str(std::string());
404:         param_name_stream__ << "mu";
405:         param_names__.push_back(param_name_stream__.str());
406:         param_name_stream__.str(std::string());
407:         param_name_stream__ << "tau";
408:         param_names__.push_back(param_name_stream__.str());
409:         for (int k_0__ = 1; k_0__ <= J; ++k_0__) {
410:             param_name_stream__.str(std::string());
411:             param_name_stream__ << "theta" << '.' << k_0__;
412:             param_names__.push_back(param_name_stream__.str());
413:         }
414: 
415:         if (!include_gqs__ && !include_tparams__) return;
416: 
417:         if (!include_gqs__) return;
418:     }
419: 
420: }; // model
421: 
422: }
423: 
424: typedef model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85 stan_model;
425: 
426: #include <rstan/rstaninc.hpp>
427: /**
428:  * Define Rcpp Module to expose stan_fit's functions to R.
429:  */
430: RCPP_MODULE(stan_fit4model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_mod){
431:   Rcpp::class_<rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85,
432:                boost::random::ecuyer1988> >("stan_fit4model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85")
433:     // .constructor<Rcpp::List>()
434:     .constructor<SEXP, SEXP, SEXP>()
435:     // .constructor<SEXP, SEXP>()
436:     .method("call_sampler",
437:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::call_sampler)
438:     .method("param_names",
439:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::param_names)
440:     .method("param_names_oi",
441:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::param_names_oi)
442:     .method("param_fnames_oi",
443:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::param_fnames_oi)
444:     .method("param_dims",
445:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::param_dims)
446:     .method("param_dims_oi",
447:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::param_dims_oi)
448:     .method("update_param_oi",
449:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::update_param_oi)
450:     .method("param_oi_tidx",
451:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::param_oi_tidx)
452:     .method("grad_log_prob",
453:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::grad_log_prob)
454:     .method("log_prob",
455:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::log_prob)
456:     .method("unconstrain_pars",
457:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::unconstrain_pars)
458:     .method("constrain_pars",
459:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::constrain_pars)
460:     .method("num_pars_unconstrained",
461:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::num_pars_unconstrained)
462:     .method("unconstrained_param_names",
463:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::unconstrained_param_names)
464:     .method("constrained_param_names",
465:             &rstan::stan_fit<model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85_namespace::model4ca079c39fb_900a545aeaa595fc46a251e5ba88bc85, boost::random::ecuyer1988>::constrained_param_names)
466:     ;
467: }
468: 
469: // declarations
470: extern "C" {
471: SEXP file4ca047bf7cce( ) ;
472: }
473: 
474: // definition
475: 
476: SEXP file4ca047bf7cce(  ){
477:  return Rcpp::wrap("900a545aeaa595fc46a251e5ba88bc85");
478: }
479: 
480: 
Quitting from lines 74-91 (visual-mcmc-diagnostics.Rmd) 
Error: processing vignette 'visual-mcmc-diagnostics.Rmd' failed with diagnostics:
Compilation ERROR, function(s)/method(s) not created! In file included from /home/ripley/R/Lib32/BH/include/boost/config.hpp:39:0,
                 from /home/ripley/R/Lib32/BH/include/boost/math/tools/config.hpp:13,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core/var.hpp:7,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/core.hpp:12,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/stan/math.hpp:4,
                 from /home/ripley/R/Lib32/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from file4ca047bf7cce.cpp:8:
/home/ripley/R/Lib32/BH/include/boost/config/compiler/gcc.hpp:186:0: warning: "BOOST_NO_CXX11_RVALUE_R
Execution halted