Running 'rstan.R' [27s]
Running the tests in 'tests/rstan.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(rstan)
  Loading required package: StanHeaders
  Loading required package: ggplot2
  rstan (Version 2.19.2, GitRev: 2e1f913d3ca3)
  For execution on a local, multicore CPU with excess RAM we recommend calling
  options(mc.cores = parallel::detectCores()).
  To avoid recompilation of unchanged Stan programs, we recommend calling
  rstan_options(auto_write = TRUE)
  For improved execution time, we recommend calling
  Sys.setenv(LOCAL_CPPFLAGS = '-march=native')
  although this causes Stan to throw an error on a few processors.
  > stancode <- 'data {real y_mean;} parameters {real y;} model {y ~ normal(y_mean,1);}'
  > mod <- stan_model(model_code = stancode, verbose = TRUE)
  
  TRANSLATING MODEL '73fc79f8b1915e8208c736914c86d1a1' FROM Stan CODE TO C++ CODE NOW.
  successful in parsing the Stan model '73fc79f8b1915e8208c736914c86d1a1'.
  OS: x86_64, mingw32; rstan: 2.19.2; Rcpp: 1.0.3; inline: 0.3.15 
   >> setting environment variables: 
  PKG_LIBS =  -L"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/libs/x64" -lStanHeaders
  PKG_CPPFLAGS =   -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/Rcpp/include/"  -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/RcppEigen/include/"  -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/RcppEigen/include/unsupported"  -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/BH/include" -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/src/"  -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/"  -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/rstan/include" -DEIGEN_NO_DEBUG  -DBOOST_DISABLE_ASSERTS -std=c++1y
   >> Program source :
  
     1 : 
     2 : // includes from the plugin
     3 : // [[Rcpp::plugins(cpp14)]]
     4 : 
     5 : // user includes
     6 : #define STAN__SERVICES__COMMAND_HPP// Code generated by Stan version 2.21.0
     7 : 
     8 : #include <stan/model/model_header.hpp>
     9 : 
    10 : namespace model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_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", "model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1");
    26 :     reader.add_event(3, 1, "end", "model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1");
    27 :     return reader;
    28 : }
    29 : 
    30 : class model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1
    31 :   : public stan::model::model_base_crtp<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1> {
    32 : private:
    33 :         double y_mean;
    34 : public:
    35 :     model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1(stan::io::var_context& context__,
    36 :         std::ostream* pstream__ = 0)
    37 :         : model_base_crtp(0) {
    38 :         ctor_body(context__, 0, pstream__);
    39 :     }
    40 : 
    41 :     model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1(stan::io::var_context& context__,
    42 :         unsigned int random_seed__,
    43 :         std::ostream* pstream__ = 0)
    44 :         : model_base_crtp(0) {
    45 :         ctor_body(context__, random_seed__, pstream__);
    46 :     }
    47 : 
    48 :     void ctor_body(stan::io::var_context& context__,
    49 :                    unsigned int random_seed__,
    50 :                    std::ostream* pstream__) {
    51 :         typedef double local_scalar_t__;
    52 : 
    53 :         boost::ecuyer1988 base_rng__ =
    54 :           stan::services::util::create_rng(random_seed__, 0);
    55 :         (void) base_rng__;  // suppress unused var warning
    56 : 
    57 :         current_statement_begin__ = -1;
    58 : 
    59 :         static const char* function__ = "model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1";
    60 :         (void) function__;  // dummy to suppress unused var warning
    61 :         size_t pos__;
    62 :         (void) pos__;  // dummy to suppress unused var warning
    63 :         std::vector<int> vals_i__;
    64 :         std::vector<double> vals_r__;
    65 :         local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
    66 :         (void) DUMMY_VAR__;  // suppress unused var warning
    67 : 
    68 :         try {
    69 :             // initialize data block variables from context__
    70 :             current_statement_begin__ = 1;
    71 :             context__.validate_dims("data initialization", "y_mean", "double", context__.to_vec());
    72 :             y_mean = double(0);
    73 :             vals_r__ = context__.vals_r("y_mean");
    74 :             pos__ = 0;
    75 :             y_mean = vals_r__[pos__++];
    76 : 
    77 : 
    78 :             // initialize transformed data variables
    79 :             // execute transformed data statements
    80 : 
    81 :             // validate transformed data
    82 : 
    83 :             // validate, set parameter ranges
    84 :             num_params_r__ = 0U;
    85 :             param_ranges_i__.clear();
    86 :             current_statement_begin__ = 1;
    87 :             num_params_r__ += 1;
    88 :         } catch (const std::exception& e) {
    89 :             stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
    90 :             // Next line prevents compiler griping about no return
    91 :             throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
    92 :         }
    93 :     }
    94 : 
    95 :     ~model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1() { }
    96 : 
    97 : 
    98 :     void transform_inits(const stan::io::var_context& context__,
    99 :                          std::vector<int>& params_i__,
   100 :                          std::vector<double>& params_r__,
   101 :                          std::ostream* pstream__) const {
   102 :         typedef double local_scalar_t__;
   103 :         stan::io::writer<double> writer__(params_r__, params_i__);
   104 :         size_t pos__;
   105 :         (void) pos__; // dummy call to supress warning
   106 :         std::vector<double> vals_r__;
   107 :         std::vector<int> vals_i__;
   108 : 
   109 :         current_statement_begin__ = 1;
   110 :         if (!(context__.contains_r("y")))
   111 :             stan::lang::rethrow_located(std::runtime_error(std::string("Variable y missing")), current_statement_begin__, prog_reader__());
   112 :         vals_r__ = context__.vals_r("y");
   113 :         pos__ = 0U;
   114 :         context__.validate_dims("parameter initialization", "y", "double", context__.to_vec());
   115 :         double y(0);
   116 :         y = vals_r__[pos__++];
   117 :         try {
   118 :             writer__.scalar_unconstrain(y);
   119 :         } catch (const std::exception& e) {
   120 :             stan::lang::rethrow_located(std::runtime_error(std::string("Error transforming variable y: ") + e.what()), current_statement_begin__, prog_reader__());
   121 :         }
   122 : 
   123 :         params_r__ = writer__.data_r();
   124 :         params_i__ = writer__.data_i();
   125 :     }
   126 : 
   127 :     void transform_inits(const stan::io::var_context& context,
   128 :                          Eigen::Matrix<double, Eigen::Dynamic, 1>& params_r,
   129 :                          std::ostream* pstream__) const {
   130 :       std::vector<double> params_r_vec;
   131 :       std::vector<int> params_i_vec;
   132 :       transform_inits(context, params_i_vec, params_r_vec, pstream__);
   133 :       params_r.resize(params_r_vec.size());
   134 :       for (int i = 0; i < params_r.size(); ++i)
   135 :         params_r(i) = params_r_vec[i];
   136 :     }
   137 : 
   138 : 
   139 :     template <bool propto__, bool jacobian__, typename T__>
   140 :     T__ log_prob(std::vector<T__>& params_r__,
   141 :                  std::vector<int>& params_i__,
   142 :                  std::ostream* pstream__ = 0) const {
   143 : 
   144 :         typedef T__ local_scalar_t__;
   145 : 
   146 :         local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
   147 :         (void) DUMMY_VAR__;  // dummy to suppress unused var warning
   148 : 
   149 :         T__ lp__(0.0);
   150 :         stan::math::accumulator<T__> lp_accum__;
   151 :         try {
   152 :             stan::io::reader<local_scalar_t__> in__(params_r__, params_i__);
   153 : 
   154 :             // model parameters
   155 :             current_statement_begin__ = 1;
   156 :             local_scalar_t__ y;
   157 :             (void) y;  // dummy to suppress unused var warning
   158 :             if (jacobian__)
   159 :                 y = in__.scalar_constrain(lp__);
   160 :             else
   161 :                 y = in__.scalar_constrain();
   162 : 
   163 :             // model body
   164 : 
   165 :             current_statement_begin__ = 1;
   166 :             lp_accum__.add(normal_log<propto__>(y, y_mean, 1));
   167 : 
   168 :         } catch (const std::exception& e) {
   169 :             stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
   170 :             // Next line prevents compiler griping about no return
   171 :             throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
   172 :         }
   173 : 
   174 :         lp_accum__.add(lp__);
   175 :         return lp_accum__.sum();
   176 : 
   177 :     } // log_prob()
   178 : 
   179 :     template <bool propto, bool jacobian, typename T_>
   180 :     T_ log_prob(Eigen::Matrix<T_,Eigen::Dynamic,1>& params_r,
   181 :                std::ostream* pstream = 0) const {
   182 :       std::vector<T_> vec_params_r;
   183 :       vec_params_r.reserve(params_r.size());
   184 :       for (int i = 0; i < params_r.size(); ++i)
   185 :         vec_params_r.push_back(params_r(i));
   186 :       std::vector<int> vec_params_i;
   187 :       return log_prob<propto,jacobian,T_>(vec_params_r, vec_params_i, pstream);
   188 :     }
   189 : 
   190 : 
   191 :     void get_param_names(std::vector<std::string>& names__) const {
   192 :         names__.resize(0);
   193 :         names__.push_back("y");
   194 :     }
   195 : 
   196 : 
   197 :     void get_dims(std::vector<std::vector<size_t> >& dimss__) const {
   198 :         dimss__.resize(0);
   199 :         std::vector<size_t> dims__;
   200 :         dims__.resize(0);
   201 :         dimss__.push_back(dims__);
   202 :     }
   203 : 
   204 :     template <typename RNG>
   205 :     void write_array(RNG& base_rng__,
   206 :                      std::vector<double>& params_r__,
   207 :                      std::vector<int>& params_i__,
   208 :                      std::vector<double>& vars__,
   209 :                      bool include_tparams__ = true,
   210 :                      bool include_gqs__ = true,
   211 :                      std::ostream* pstream__ = 0) const {
   212 :         typedef double local_scalar_t__;
   213 : 
   214 :         vars__.resize(0);
   215 :         stan::io::reader<local_scalar_t__> in__(params_r__, params_i__);
   216 :         static const char* function__ = "model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::write_array";
   217 :         (void) function__;  // dummy to suppress unused var warning
   218 : 
   219 :         // read-transform, write parameters
   220 :         double y = in__.scalar_constrain();
   221 :         vars__.push_back(y);
   222 : 
   223 :         double lp__ = 0.0;
   224 :         (void) lp__;  // dummy to suppress unused var warning
   225 :         stan::math::accumulator<double> lp_accum__;
   226 : 
   227 :         local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
   228 :         (void) DUMMY_VAR__;  // suppress unused var warning
   229 : 
   230 :         if (!include_tparams__ && !include_gqs__) return;
   231 : 
   232 :         try {
   233 :             if (!include_gqs__ && !include_tparams__) return;
   234 :             if (!include_gqs__) return;
   235 :         } catch (const std::exception& e) {
   236 :             stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
   237 :             // Next line prevents compiler griping about no return
   238 :             throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
   239 :         }
   240 :     }
   241 : 
   242 :     template <typename RNG>
   243 :     void write_array(RNG& base_rng,
   244 :                      Eigen::Matrix<double,Eigen::Dynamic,1>& params_r,
   245 :                      Eigen::Matrix<double,Eigen::Dynamic,1>& vars,
   246 :                      bool include_tparams = true,
   247 :                      bool include_gqs = true,
   248 :                      std::ostream* pstream = 0) const {
   249 :       std::vector<double> params_r_vec(params_r.size());
   250 :       for (int i = 0; i < params_r.size(); ++i)
   251 :         params_r_vec[i] = params_r(i);
   252 :       std::vector<double> vars_vec;
   253 :       std::vector<int> params_i_vec;
   254 :       write_array(base_rng, params_r_vec, params_i_vec, vars_vec, include_tparams, include_gqs, pstream);
   255 :       vars.resize(vars_vec.size());
   256 :       for (int i = 0; i < vars.size(); ++i)
   257 :         vars(i) = vars_vec[i];
   258 :     }
   259 : 
   260 :     std::string model_name() const {
   261 :         return "model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1";
   262 :     }
   263 : 
   264 : 
   265 :     void constrained_param_names(std::vector<std::string>& param_names__,
   266 :                                  bool include_tparams__ = true,
   267 :                                  bool include_gqs__ = true) const {
   268 :         std::stringstream param_name_stream__;
   269 :         param_name_stream__.str(std::string());
   270 :         param_name_stream__ << "y";
   271 :         param_names__.push_back(param_name_stream__.str());
   272 : 
   273 :         if (!include_gqs__ && !include_tparams__) return;
   274 : 
   275 :         if (include_tparams__) {
   276 :         }
   277 : 
   278 :         if (!include_gqs__) return;
   279 :     }
   280 : 
   281 : 
   282 :     void unconstrained_param_names(std::vector<std::string>& param_names__,
   283 :                                    bool include_tparams__ = true,
   284 :                                    bool include_gqs__ = true) const {
   285 :         std::stringstream param_name_stream__;
   286 :         param_name_stream__.str(std::string());
   287 :         param_name_stream__ << "y";
   288 :         param_names__.push_back(param_name_stream__.str());
   289 : 
   290 :         if (!include_gqs__ && !include_tparams__) return;
   291 : 
   292 :         if (include_tparams__) {
   293 :         }
   294 : 
   295 :         if (!include_gqs__) return;
   296 :     }
   297 : 
   298 : }; // model
   299 : 
   300 : }  // namespace
   301 : 
   302 : typedef model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1 stan_model;
   303 : 
   304 : #ifndef USING_R
   305 : 
   306 : stan::model::model_base& new_model(
   307 :         stan::io::var_context& data_context,
   308 :         unsigned int seed,
   309 :         std::ostream* msg_stream) {
   310 :   stan_model* m = new stan_model(data_context, seed, msg_stream);
   311 :   return *m;
   312 : }
   313 : 
   314 : #endif
   315 : 
   316 : #include <rstan/rstaninc.hpp>
   317 : /**
   318 :  * Define Rcpp Module to expose stan_fit's functions to R.
   319 :  */
   320 : RCPP_MODULE(stan_fit4model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_mod){
   321 :   Rcpp::class_<rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1,
   322 :                boost::random::ecuyer1988> >("stan_fit4model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1")
   323 :     // .constructor<Rcpp::List>()
   324 :     .constructor<SEXP, SEXP, SEXP>()
   325 :     // .constructor<SEXP, SEXP>()
   326 :     .method("call_sampler",
   327 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::call_sampler)
   328 :     .method("param_names",
   329 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::param_names)
   330 :     .method("param_names_oi",
   331 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::param_names_oi)
   332 :     .method("param_fnames_oi",
   333 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::param_fnames_oi)
   334 :     .method("param_dims",
   335 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::param_dims)
   336 :     .method("param_dims_oi",
   337 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::param_dims_oi)
   338 :     .method("update_param_oi",
   339 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::update_param_oi)
   340 :     .method("param_oi_tidx",
   341 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::param_oi_tidx)
   342 :     .method("grad_log_prob",
   343 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::grad_log_prob)
   344 :     .method("log_prob",
   345 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::log_prob)
   346 :     .method("unconstrain_pars",
   347 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::unconstrain_pars)
   348 :     .method("constrain_pars",
   349 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::constrain_pars)
   350 :     .method("num_pars_unconstrained",
   351 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::num_pars_unconstrained)
   352 :     .method("unconstrained_param_names",
   353 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::unconstrained_param_names)
   354 :     .method("constrained_param_names",
   355 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::constrained_param_names)
   356 :     .method("standalone_gqs",
   357 :             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::standalone_gqs)
   358 :   ;
   359 : }
   360 : 
   361 : // declarations
   362 : extern "C" {
   363 : SEXP file5ce4491efa3( ) ;
   364 : }
   365 : 
   366 : // definition
   367 : 
   368 : SEXP file5ce4491efa3(  ){
   369 :  return Rcpp::wrap("73fc79f8b1915e8208c736914c86d1a1");
   370 : }
   371 : 
   372 : 
  Compilation argument:
   D:/RCompile/recent/R-36~1.2/bin/x64/R CMD SHLIB file5ce4491efa3.cpp 2> file5ce4491efa3.cpp.err.txt 
  make[1]: Entering directory `/cygdrive/d/temp/RtmpgTEcVV'
  d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -std=gnu++11 -I"D:/RCompile/recent/R-36~1.2/include" -DNDEBUG   -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/Rcpp/include/"  -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/RcppEigen/include/"  -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/RcppEigen/include/unsupported"  -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/BH/include" -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/src/"  -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/"  -I"D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/rstan/include" -DEIGEN_NO_DEBUG  -DBOOST_DISABLE_ASSERTS -std=c++1y    -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c file5ce4491efa3.cpp -o file5ce4491efa3.o
  make[1]: Leaving directory `/cygdrive/d/temp/RtmpgTEcVV'
  In file included from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_log.hpp:5:0,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math/prim/mat.hpp:336,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file5ce4491efa3.cpp:8:
  D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp: In function 'typename stan::return_type<T_x, T_alpha, T_beta>::type stan::math::poisson_log_glm_lpmf(const T_y&, const T_x&, const T_alpha&, const T_beta&)':
  D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp:64:59: warning: typedef 'T_alpha_val' locally defined but not used [-Wunused-local-typedefs]
         typename partials_return_type<T_alpha>::type>::type T_alpha_val;
                                                             ^
  file5ce4491efa3.cpp: At global scope:
  file5ce4491efa3.cpp:31:40: error: expected template-name before '<' token
     : public stan::model::model_base_crtp<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1> {
                                          ^
  file5ce4491efa3.cpp:31:40: error: expected '{' before '<' token
  file5ce4491efa3.cpp:31:40: error: expected unqualified-id before '<' token
  In file included from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/BH/include/boost/winapi/time.hpp:13:0,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/BH/include/boost/date_time/microsec_time_clock.hpp:24,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/BH/include/boost/date_time/posix_time/posix_time_types.hpp:11,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/rstan/include/rstan/stan_fit.hpp:13,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/rstan/include/rstan/rstaninc.hpp:3,
                   from file5ce4491efa3.cpp:316:
  D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/BH/include/boost/winapi/basic_types.hpp:161:28: error: expected '}' before end of line
   #pragma GCC diagnostic push
                              ^
  D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/BH/include/boost/winapi/basic_types.hpp:161:28: error: expected declaration before end of line
  file5ce4491efa3.cpp:21:12: warning: 'model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::current_statement_begin__' defined but not used [-Wunused-variable]
   static int current_statement_begin__;
              ^
  In file included from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math/rev/core.hpp:45:0,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math/rev/mat.hpp:4,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file5ce4491efa3.cpp:8:
  D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/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]: *** [file5ce4491efa3.o] Error 1
  
  ERROR(s) during compilation: source code errors or compiler configuration errors!
  
  Program source:
    1: 
    2: // includes from the plugin
    3: // [[Rcpp::plugins(cpp14)]]
    4: 
    5: // user includes
    6: #define STAN__SERVICES__COMMAND_HPP// Code generated by Stan version 2.21.0
    7: 
    8: #include <stan/model/model_header.hpp>
    9: 
   10: namespace model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_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", "model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1");
   26:     reader.add_event(3, 1, "end", "model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1");
   27:     return reader;
   28: }
   29: 
   30: class model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1
   31:   : public stan::model::model_base_crtp<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1> {
   32: private:
   33:         double y_mean;
   34: public:
   35:     model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1(stan::io::var_context& context__,
   36:         std::ostream* pstream__ = 0)
   37:         : model_base_crtp(0) {
   38:         ctor_body(context__, 0, pstream__);
   39:     }
   40: 
   41:     model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1(stan::io::var_context& context__,
   42:         unsigned int random_seed__,
   43:         std::ostream* pstream__ = 0)
   44:         : model_base_crtp(0) {
   45:         ctor_body(context__, random_seed__, pstream__);
   46:     }
   47: 
   48:     void ctor_body(stan::io::var_context& context__,
   49:                    unsigned int random_seed__,
   50:                    std::ostream* pstream__) {
   51:         typedef double local_scalar_t__;
   52: 
   53:         boost::ecuyer1988 base_rng__ =
   54:           stan::services::util::create_rng(random_seed__, 0);
   55:         (void) base_rng__;  // suppress unused var warning
   56: 
   57:         current_statement_begin__ = -1;
   58: 
   59:         static const char* function__ = "model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1";
   60:         (void) function__;  // dummy to suppress unused var warning
   61:         size_t pos__;
   62:         (void) pos__;  // dummy to suppress unused var warning
   63:         std::vector<int> vals_i__;
   64:         std::vector<double> vals_r__;
   65:         local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
   66:         (void) DUMMY_VAR__;  // suppress unused var warning
   67: 
   68:         try {
   69:             // initialize data block variables from context__
   70:             current_statement_begin__ = 1;
   71:             context__.validate_dims("data initialization", "y_mean", "double", context__.to_vec());
   72:             y_mean = double(0);
   73:             vals_r__ = context__.vals_r("y_mean");
   74:             pos__ = 0;
   75:             y_mean = vals_r__[pos__++];
   76: 
   77: 
   78:             // initialize transformed data variables
   79:             // execute transformed data statements
   80: 
   81:             // validate transformed data
   82: 
   83:             // validate, set parameter ranges
   84:             num_params_r__ = 0U;
   85:             param_ranges_i__.clear();
   86:             current_statement_begin__ = 1;
   87:             num_params_r__ += 1;
   88:         } catch (const std::exception& e) {
   89:             stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
   90:             // Next line prevents compiler griping about no return
   91:             throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
   92:         }
   93:     }
   94: 
   95:     ~model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1() { }
   96: 
   97: 
   98:     void transform_inits(const stan::io::var_context& context__,
   99:                          std::vector<int>& params_i__,
  100:                          std::vector<double>& params_r__,
  101:                          std::ostream* pstream__) const {
  102:         typedef double local_scalar_t__;
  103:         stan::io::writer<double> writer__(params_r__, params_i__);
  104:         size_t pos__;
  105:         (void) pos__; // dummy call to supress warning
  106:         std::vector<double> vals_r__;
  107:         std::vector<int> vals_i__;
  108: 
  109:         current_statement_begin__ = 1;
  110:         if (!(context__.contains_r("y")))
  111:             stan::lang::rethrow_located(std::runtime_error(std::string("Variable y missing")), current_statement_begin__, prog_reader__());
  112:         vals_r__ = context__.vals_r("y");
  113:         pos__ = 0U;
  114:         context__.validate_dims("parameter initialization", "y", "double", context__.to_vec());
  115:         double y(0);
  116:         y = vals_r__[pos__++];
  117:         try {
  118:             writer__.scalar_unconstrain(y);
  119:         } catch (const std::exception& e) {
  120:             stan::lang::rethrow_located(std::runtime_error(std::string("Error transforming variable y: ") + e.what()), current_statement_begin__, prog_reader__());
  121:         }
  122: 
  123:         params_r__ = writer__.data_r();
  124:         params_i__ = writer__.data_i();
  125:     }
  126: 
  127:     void transform_inits(const stan::io::var_context& context,
  128:                          Eigen::Matrix<double, Eigen::Dynamic, 1>& params_r,
  129:                          std::ostream* pstream__) const {
  130:       std::vector<double> params_r_vec;
  131:       std::vector<int> params_i_vec;
  132:       transform_inits(context, params_i_vec, params_r_vec, pstream__);
  133:       params_r.resize(params_r_vec.size());
  134:       for (int i = 0; i < params_r.size(); ++i)
  135:         params_r(i) = params_r_vec[i];
  136:     }
  137: 
  138: 
  139:     template <bool propto__, bool jacobian__, typename T__>
  140:     T__ log_prob(std::vector<T__>& params_r__,
  141:                  std::vector<int>& params_i__,
  142:                  std::ostream* pstream__ = 0) const {
  143: 
  144:         typedef T__ local_scalar_t__;
  145: 
  146:         local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
  147:         (void) DUMMY_VAR__;  // dummy to suppress unused var warning
  148: 
  149:         T__ lp__(0.0);
  150:         stan::math::accumulator<T__> lp_accum__;
  151:         try {
  152:             stan::io::reader<local_scalar_t__> in__(params_r__, params_i__);
  153: 
  154:             // model parameters
  155:             current_statement_begin__ = 1;
  156:             local_scalar_t__ y;
  157:             (void) y;  // dummy to suppress unused var warning
  158:             if (jacobian__)
  159:                 y = in__.scalar_constrain(lp__);
  160:             else
  161:                 y = in__.scalar_constrain();
  162: 
  163:             // model body
  164: 
  165:             current_statement_begin__ = 1;
  166:             lp_accum__.add(normal_log<propto__>(y, y_mean, 1));
  167: 
  168:         } catch (const std::exception& e) {
  169:             stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
  170:             // Next line prevents compiler griping about no return
  171:             throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
  172:         }
  173: 
  174:         lp_accum__.add(lp__);
  175:         return lp_accum__.sum();
  176: 
  177:     } // log_prob()
  178: 
  179:     template <bool propto, bool jacobian, typename T_>
  180:     T_ log_prob(Eigen::Matrix<T_,Eigen::Dynamic,1>& params_r,
  181:                std::ostream* pstream = 0) const {
  182:       std::vector<T_> vec_params_r;
  183:       vec_params_r.reserve(params_r.size());
  184:       for (int i = 0; i < params_r.size(); ++i)
  185:         vec_params_r.push_back(params_r(i));
  186:       std::vector<int> vec_params_i;
  187:       return log_prob<propto,jacobian,T_>(vec_params_r, vec_params_i, pstream);
  188:     }
  189: 
  190: 
  191:     void get_param_names(std::vector<std::string>& names__) const {
  192:         names__.resize(0);
  193:         names__.push_back("y");
  194:     }
  195: 
  196: 
  197:     void get_dims(std::vector<std::vector<size_t> >& dimss__) const {
  198:         dimss__.resize(0);
  199:         std::vector<size_t> dims__;
  200:         dims__.resize(0);
  201:         dimss__.push_back(dims__);
  202:     }
  203: 
  204:     template <typename RNG>
  205:     void write_array(RNG& base_rng__,
  206:                      std::vector<double>& params_r__,
  207:                      std::vector<int>& params_i__,
  208:                      std::vector<double>& vars__,
  209:                      bool include_tparams__ = true,
  210:                      bool include_gqs__ = true,
  211:                      std::ostream* pstream__ = 0) const {
  212:         typedef double local_scalar_t__;
  213: 
  214:         vars__.resize(0);
  215:         stan::io::reader<local_scalar_t__> in__(params_r__, params_i__);
  216:         static const char* function__ = "model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::write_array";
  217:         (void) function__;  // dummy to suppress unused var warning
  218: 
  219:         // read-transform, write parameters
  220:         double y = in__.scalar_constrain();
  221:         vars__.push_back(y);
  222: 
  223:         double lp__ = 0.0;
  224:         (void) lp__;  // dummy to suppress unused var warning
  225:         stan::math::accumulator<double> lp_accum__;
  226: 
  227:         local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
  228:         (void) DUMMY_VAR__;  // suppress unused var warning
  229: 
  230:         if (!include_tparams__ && !include_gqs__) return;
  231: 
  232:         try {
  233:             if (!include_gqs__ && !include_tparams__) return;
  234:             if (!include_gqs__) return;
  235:         } catch (const std::exception& e) {
  236:             stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
  237:             // Next line prevents compiler griping about no return
  238:             throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
  239:         }
  240:     }
  241: 
  242:     template <typename RNG>
  243:     void write_array(RNG& base_rng,
  244:                      Eigen::Matrix<double,Eigen::Dynamic,1>& params_r,
  245:                      Eigen::Matrix<double,Eigen::Dynamic,1>& vars,
  246:                      bool include_tparams = true,
  247:                      bool include_gqs = true,
  248:                      std::ostream* pstream = 0) const {
  249:       std::vector<double> params_r_vec(params_r.size());
  250:       for (int i = 0; i < params_r.size(); ++i)
  251:         params_r_vec[i] = params_r(i);
  252:       std::vector<double> vars_vec;
  253:       std::vector<int> params_i_vec;
  254:       write_array(base_rng, params_r_vec, params_i_vec, vars_vec, include_tparams, include_gqs, pstream);
  255:       vars.resize(vars_vec.size());
  256:       for (int i = 0; i < vars.size(); ++i)
  257:         vars(i) = vars_vec[i];
  258:     }
  259: 
  260:     std::string model_name() const {
  261:         return "model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1";
  262:     }
  263: 
  264: 
  265:     void constrained_param_names(std::vector<std::string>& param_names__,
  266:                                  bool include_tparams__ = true,
  267:                                  bool include_gqs__ = true) const {
  268:         std::stringstream param_name_stream__;
  269:         param_name_stream__.str(std::string());
  270:         param_name_stream__ << "y";
  271:         param_names__.push_back(param_name_stream__.str());
  272: 
  273:         if (!include_gqs__ && !include_tparams__) return;
  274: 
  275:         if (include_tparams__) {
  276:         }
  277: 
  278:         if (!include_gqs__) return;
  279:     }
  280: 
  281: 
  282:     void unconstrained_param_names(std::vector<std::string>& param_names__,
  283:                                    bool include_tparams__ = true,
  284:                                    bool include_gqs__ = true) const {
  285:         std::stringstream param_name_stream__;
  286:         param_name_stream__.str(std::string());
  287:         param_name_stream__ << "y";
  288:         param_names__.push_back(param_name_stream__.str());
  289: 
  290:         if (!include_gqs__ && !include_tparams__) return;
  291: 
  292:         if (include_tparams__) {
  293:         }
  294: 
  295:         if (!include_gqs__) return;
  296:     }
  297: 
  298: }; // model
  299: 
  300: }  // namespace
  301: 
  302: typedef model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1 stan_model;
  303: 
  304: #ifndef USING_R
  305: 
  306: stan::model::model_base& new_model(
  307:         stan::io::var_context& data_context,
  308:         unsigned int seed,
  309:         std::ostream* msg_stream) {
  310:   stan_model* m = new stan_model(data_context, seed, msg_stream);
  311:   return *m;
  312: }
  313: 
  314: #endif
  315: 
  316: #include <rstan/rstaninc.hpp>
  317: /**
  318:  * Define Rcpp Module to expose stan_fit's functions to R.
  319:  */
  320: RCPP_MODULE(stan_fit4model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_mod){
  321:   Rcpp::class_<rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1,
  322:                boost::random::ecuyer1988> >("stan_fit4model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1")
  323:     // .constructor<Rcpp::List>()
  324:     .constructor<SEXP, SEXP, SEXP>()
  325:     // .constructor<SEXP, SEXP>()
  326:     .method("call_sampler",
  327:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::call_sampler)
  328:     .method("param_names",
  329:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::param_names)
  330:     .method("param_names_oi",
  331:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::param_names_oi)
  332:     .method("param_fnames_oi",
  333:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::param_fnames_oi)
  334:     .method("param_dims",
  335:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::param_dims)
  336:     .method("param_dims_oi",
  337:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::param_dims_oi)
  338:     .method("update_param_oi",
  339:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::update_param_oi)
  340:     .method("param_oi_tidx",
  341:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::param_oi_tidx)
  342:     .method("grad_log_prob",
  343:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::grad_log_prob)
  344:     .method("log_prob",
  345:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::log_prob)
  346:     .method("unconstrain_pars",
  347:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::unconstrain_pars)
  348:     .method("constrain_pars",
  349:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::constrain_pars)
  350:     .method("num_pars_unconstrained",
  351:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::num_pars_unconstrained)
  352:     .method("unconstrained_param_names",
  353:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::unconstrained_param_names)
  354:     .method("constrained_param_names",
  355:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::constrained_param_names)
  356:     .method("standalone_gqs",
  357:             &rstan::stan_fit<model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1_namespace::model5ce4728a32d2_73fc79f8b1915e8208c736914c86d1a1, boost::random::ecuyer1988>::standalone_gqs)
  358:   ;
  359: }
  360: 
  361: // declarations
  362: extern "C" {
  363: SEXP file5ce4491efa3( ) ;
  364: }
  365: 
  366: // definition
  367: 
  368: SEXP file5ce4491efa3(  ){
  369:  return Rcpp::wrap("73fc79f8b1915e8208c736914c86d1a1");
  370: }
  371: 
  372: 
  Error in compileCode(f, code, language = language, verbose = verbose) : 
    Compilation ERROR, function(s)/method(s) not created! In file included from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_log.hpp:5:0,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math/prim/mat.hpp:336,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file5ce4491efa3.cpp:8:
  D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp: In function 'typename stan::return_type<T_x, T_alpha, T_beta>::type stan::math::poisson_log_glm_lpmf(const T_y&, const T_x&, const T_alpha&, const T_beta&)':
  D:/temp/RtmpwdVpH0/RLIBS_114a418a33ffa/StanHeaders/include/s
  Calls: stan_model ... <Anonymous> -> <Anonymous> -> force -> cxxfunction -> compileCode
  Execution halted