{\rtf1\ansi\ansicpg1252\cocoartf2511 \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0 \f0\fs24 \cf0 \ stn_md> stancode <- 'data \{real y_mean;\} parameters \{real y;\} model \{y ~ normal(y_mean,1);\}'\ \ stn_md> mod <- stan_model(model_code = stancode, verbose = TRUE)\ \ TRANSLATING MODEL '16a540c6086086816528e4524def24d9' FROM Stan CODE TO C++ CODE NOW.\ successful in parsing the Stan model '16a540c6086086816528e4524def24d9'.\ COMPILING THE C++ CODE FOR MODEL '16a540c6086086816528e4524def24d9' NOW.\ OS: x86_64, darwin15.6.0; rstan: 2.19.2; Rcpp: 1.0.3; inline: 0.3.15 \ >> setting environment variables: \ PKG_LIBS = -L'/Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/lib/' -lStanHeaders\ PKG_CPPFLAGS = -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp/include/" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/unsupported" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include" -DEIGEN_NO_DEBUG -DBOOST_DISABLE_ASSERTS\ >> 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.19.1\ 7 : \ 8 : #include \ 9 : \ 10 : namespace model4177051dce4_16a540c6086086816528e4524def24d9_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", "model4177051dce4_16a540c6086086816528e4524def24d9");\ 26 : reader.add_event(3, 1, "end", "model4177051dce4_16a540c6086086816528e4524def24d9");\ 27 : return reader;\ 28 : \}\ 29 : \ 30 : class model4177051dce4_16a540c6086086816528e4524def24d9 : public prob_grad \{\ 31 : private:\ 32 : double y_mean;\ 33 : public:\ 34 : model4177051dce4_16a540c6086086816528e4524def24d9(stan::io::var_context& context__,\ 35 : std::ostream* pstream__ = 0)\ 36 : : prob_grad(0) \{\ 37 : ctor_body(context__, 0, pstream__);\ 38 : \}\ 39 : \ 40 : model4177051dce4_16a540c6086086816528e4524def24d9(stan::io::var_context& context__,\ 41 : unsigned int random_seed__,\ 42 : std::ostream* pstream__ = 0)\ 43 : : prob_grad(0) \{\ 44 : ctor_body(context__, random_seed__, pstream__);\ 45 : \}\ 46 : \ 47 : void ctor_body(stan::io::var_context& context__,\ 48 : unsigned int random_seed__,\ 49 : std::ostream* pstream__) \{\ 50 : typedef double local_scalar_t__;\ 51 : \ 52 : boost::ecuyer1988 base_rng__ =\ 53 : stan::services::util::create_rng(random_seed__, 0);\ 54 : (void) base_rng__; // suppress unused var warning\ 55 : \ 56 : current_statement_begin__ = -1;\ 57 : \ 58 : static const char* function__ = "model4177051dce4_16a540c6086086816528e4524def24d9_namespace::model4177051dce4_16a540c6086086816528e4524def24d9";\ 59 : (void) function__; // dummy to suppress unused var warning\ 60 : size_t pos__;\ 61 : (void) pos__; // dummy to suppress unused var warning\ 62 : std::vector vals_i__;\ 63 : std::vector vals_r__;\ 64 : local_scalar_t__ DUMMY_VAR__(std::numeric_limits::quiet_NaN());\ 65 : (void) DUMMY_VAR__; // suppress unused var warning\ 66 : \ 67 : try \{\ 68 : // initialize data block variables from context__\ 69 : current_statement_begin__ = 1;\ 70 : context__.validate_dims("data initialization", "y_mean", "double", context__.to_vec());\ 71 : y_mean = double(0);\ 72 : vals_r__ = context__.vals_r("y_mean");\ 73 : pos__ = 0;\ 74 : y_mean = vals_r__[pos__++];\ 75 : \ 76 : \ 77 : // initialize transformed data variables\ 78 : // execute transformed data statements\ 79 : \ 80 : // validate transformed data\ 81 : \ 82 : // validate, set parameter ranges\ 83 : num_params_r__ = 0U;\ 84 : param_ranges_i__.clear();\ 85 : current_statement_begin__ = 1;\ 86 : num_params_r__ += 1;\ 87 : \} catch (const std::exception& e) \{\ 88 : stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());\ 89 : // Next line prevents compiler griping about no return\ 90 : throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");\ 91 : \}\ 92 : \}\ 93 : \ 94 : ~model4177051dce4_16a540c6086086816528e4524def24d9() \{ \}\ 95 : \ 96 : \ 97 : void transform_inits(const stan::io::var_context& context__,\ 98 : std::vector& params_i__,\ 99 : std::vector& params_r__,\ 100 : std::ostream* pstream__) const \{\ 101 : typedef double local_scalar_t__;\ 102 : stan::io::writer writer__(params_r__, params_i__);\ 103 : size_t pos__;\ 104 : (void) pos__; // dummy call to supress warning\ 105 : std::vector vals_r__;\ 106 : std::vector vals_i__;\ 107 : \ 108 : current_statement_begin__ = 1;\ 109 : if (!(context__.contains_r("y")))\ 110 : stan::lang::rethrow_located(std::runtime_error(std::string("Variable y missing")), current_statement_begin__, prog_reader__());\ 111 : vals_r__ = context__.vals_r("y");\ 112 : pos__ = 0U;\ 113 : context__.validate_dims("parameter initialization", "y", "double", context__.to_vec());\ 114 : double y(0);\ 115 : y = vals_r__[pos__++];\ 116 : try \{\ 117 : writer__.scalar_unconstrain(y);\ 118 : \} catch (const std::exception& e) \{\ 119 : stan::lang::rethrow_located(std::runtime_error(std::string("Error transforming variable y: ") + e.what()), current_statement_begin__, prog_reader__());\ 120 : \}\ 121 : \ 122 : params_r__ = writer__.data_r();\ 123 : params_i__ = writer__.data_i();\ 124 : \}\ 125 : \ 126 : void transform_inits(const stan::io::var_context& context,\ 127 : Eigen::Matrix& params_r,\ 128 : std::ostream* pstream__) const \{\ 129 : std::vector params_r_vec;\ 130 : std::vector params_i_vec;\ 131 : transform_inits(context, params_i_vec, params_r_vec, pstream__);\ 132 : params_r.resize(params_r_vec.size());\ 133 : for (int i = 0; i < params_r.size(); ++i)\ 134 : params_r(i) = params_r_vec[i];\ 135 : \}\ 136 : \ 137 : \ 138 : template \ 139 : T__ log_prob(std::vector& params_r__,\ 140 : std::vector& params_i__,\ 141 : std::ostream* pstream__ = 0) const \{\ 142 : \ 143 : typedef T__ local_scalar_t__;\ 144 : \ 145 : local_scalar_t__ DUMMY_VAR__(std::numeric_limits::quiet_NaN());\ 146 : (void) DUMMY_VAR__; // dummy to suppress unused var warning\ 147 : \ 148 : T__ lp__(0.0);\ 149 : stan::math::accumulator lp_accum__;\ 150 : try \{\ 151 : stan::io::reader in__(params_r__, params_i__);\ 152 : \ 153 : // model parameters\ 154 : current_statement_begin__ = 1;\ 155 : local_scalar_t__ y;\ 156 : (void) y; // dummy to suppress unused var warning\ 157 : if (jacobian__)\ 158 : y = in__.scalar_constrain(lp__);\ 159 : else\ 160 : y = in__.scalar_constrain();\ 161 : \ 162 : // model body\ 163 : \ 164 : current_statement_begin__ = 1;\ 165 : lp_accum__.add(normal_log(y, y_mean, 1));\ 166 : \ 167 : \} catch (const std::exception& e) \{\ 168 : stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());\ 169 : // Next line prevents compiler griping about no return\ 170 : throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");\ 171 : \}\ 172 : \ 173 : lp_accum__.add(lp__);\ 174 : return lp_accum__.sum();\ 175 : \ 176 : \} // log_prob()\ 177 : \ 178 : template \ 179 : T_ log_prob(Eigen::Matrix& params_r,\ 180 : std::ostream* pstream = 0) const \{\ 181 : std::vector vec_params_r;\ 182 : vec_params_r.reserve(params_r.size());\ 183 : for (int i = 0; i < params_r.size(); ++i)\ 184 : vec_params_r.push_back(params_r(i));\ 185 : std::vector vec_params_i;\ 186 : return log_prob(vec_params_r, vec_params_i, pstream);\ 187 : \}\ 188 : \ 189 : \ 190 : void get_param_names(std::vector& names__) const \{\ 191 : names__.resize(0);\ 192 : names__.push_back("y");\ 193 : \}\ 194 : \ 195 : \ 196 : void get_dims(std::vector >& dimss__) const \{\ 197 : dimss__.resize(0);\ 198 : std::vector dims__;\ 199 : dims__.resize(0);\ 200 : dimss__.push_back(dims__);\ 201 : \}\ 202 : \ 203 : template \ 204 : void write_array(RNG& base_rng__,\ 205 : std::vector& params_r__,\ 206 : std::vector& params_i__,\ 207 : std::vector& vars__,\ 208 : bool include_tparams__ = true,\ 209 : bool include_gqs__ = true,\ 210 : std::ostream* pstream__ = 0) const \{\ 211 : typedef double local_scalar_t__;\ 212 : \ 213 : vars__.resize(0);\ 214 : stan::io::reader in__(params_r__, params_i__);\ 215 : static const char* function__ = "model4177051dce4_16a540c6086086816528e4524def24d9_namespace::write_array";\ 216 : (void) function__; // dummy to suppress unused var warning\ 217 : \ 218 : // read-transform, write parameters\ 219 : double y = in__.scalar_constrain();\ 220 : vars__.push_back(y);\ 221 : \ 222 : double lp__ = 0.0;\ 223 : (void) lp__; // dummy to suppress unused var warning\ 224 : stan::math::accumulator lp_accum__;\ 225 : \ 226 : local_scalar_t__ DUMMY_VAR__(std::numeric_limits::quiet_NaN());\ 227 : (void) DUMMY_VAR__; // suppress unused var warning\ 228 : \ 229 : if (!include_tparams__ && !include_gqs__) return;\ 230 : \ 231 : try \{\ 232 : if (!include_gqs__ && !include_tparams__) return;\ 233 : if (!include_gqs__) return;\ 234 : \} catch (const std::exception& e) \{\ 235 : stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());\ 236 : // Next line prevents compiler griping about no return\ 237 : throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");\ 238 : \}\ 239 : \}\ 240 : \ 241 : template \ 242 : void write_array(RNG& base_rng,\ 243 : Eigen::Matrix& params_r,\ 244 : Eigen::Matrix& vars,\ 245 : bool include_tparams = true,\ 246 : bool include_gqs = true,\ 247 : std::ostream* pstream = 0) const \{\ 248 : std::vector params_r_vec(params_r.size());\ 249 : for (int i = 0; i < params_r.size(); ++i)\ 250 : params_r_vec[i] = params_r(i);\ 251 : std::vector vars_vec;\ 252 : std::vector params_i_vec;\ 253 : write_array(base_rng, params_r_vec, params_i_vec, vars_vec, include_tparams, include_gqs, pstream);\ 254 : vars.resize(vars_vec.size());\ 255 : for (int i = 0; i < vars.size(); ++i)\ 256 : vars(i) = vars_vec[i];\ 257 : \}\ 258 : \ 259 : static std::string model_name() \{\ 260 : return "model4177051dce4_16a540c6086086816528e4524def24d9";\ 261 : \}\ 262 : \ 263 : \ 264 : void constrained_param_names(std::vector& param_names__,\ 265 : bool include_tparams__ = true,\ 266 : bool include_gqs__ = true) const \{\ 267 : std::stringstream param_name_stream__;\ 268 : param_name_stream__.str(std::string());\ 269 : param_name_stream__ << "y";\ 270 : param_names__.push_back(param_name_stream__.str());\ 271 : \ 272 : if (!include_gqs__ && !include_tparams__) return;\ 273 : \ 274 : if (include_tparams__) \{\ 275 : \}\ 276 : \ 277 : if (!include_gqs__) return;\ 278 : \}\ 279 : \ 280 : \ 281 : void unconstrained_param_names(std::vector& param_names__,\ 282 : bool include_tparams__ = true,\ 283 : bool include_gqs__ = true) const \{\ 284 : std::stringstream param_name_stream__;\ 285 : param_name_stream__.str(std::string());\ 286 : param_name_stream__ << "y";\ 287 : param_names__.push_back(param_name_stream__.str());\ 288 : \ 289 : if (!include_gqs__ && !include_tparams__) return;\ 290 : \ 291 : if (include_tparams__) \{\ 292 : \}\ 293 : \ 294 : if (!include_gqs__) return;\ 295 : \}\ 296 : \ 297 : \}; // model\ 298 : \ 299 : \} // namespace\ 300 : \ 301 : typedef model4177051dce4_16a540c6086086816528e4524def24d9_namespace::model4177051dce4_16a540c6086086816528e4524def24d9 stan_model;\ 302 : \ 303 : #include \ 304 : /**\ 305 : * Define Rcpp Module to expose stan_fit's functions to R.\ 306 : */\ 307 : RCPP_MODULE(stan_fit4model4177051dce4_16a540c6086086816528e4524def24d9_mod)\{\ 308 : Rcpp::class_ >("stan_fit4model4177051dce4_16a540c6086086816528e4524def24d9")\ 310 : // .constructor()\ 311 : .constructor()\ 312 : // .constructor()\ 313 : .method("call_sampler",\ 314 : &rstan::stan_fit::call_sampler)\ 315 : .method("param_names",\ 316 : &rstan::stan_fit::param_names)\ 317 : .method("param_names_oi",\ 318 : &rstan::stan_fit::param_names_oi)\ 319 : .method("param_fnames_oi",\ 320 : &rstan::stan_fit::param_fnames_oi)\ 321 : .method("param_dims",\ 322 : &rstan::stan_fit::param_dims)\ 323 : .method("param_dims_oi",\ 324 : &rstan::stan_fit::param_dims_oi)\ 325 : .method("update_param_oi",\ 326 : &rstan::stan_fit::update_param_oi)\ 327 : .method("param_oi_tidx",\ 328 : &rstan::stan_fit::param_oi_tidx)\ 329 : .method("grad_log_prob",\ 330 : &rstan::stan_fit::grad_log_prob)\ 331 : .method("log_prob",\ 332 : &rstan::stan_fit::log_prob)\ 333 : .method("unconstrain_pars",\ 334 : &rstan::stan_fit::unconstrain_pars)\ 335 : .method("constrain_pars",\ 336 : &rstan::stan_fit::constrain_pars)\ 337 : .method("num_pars_unconstrained",\ 338 : &rstan::stan_fit::num_pars_unconstrained)\ 339 : .method("unconstrained_param_names",\ 340 : &rstan::stan_fit::unconstrained_param_names)\ 341 : .method("constrained_param_names",\ 342 : &rstan::stan_fit::constrained_param_names)\ 343 : .method("standalone_gqs",\ 344 : &rstan::stan_fit::standalone_gqs)\ 345 : ;\ 346 : \}\ 347 : \ 348 : // declarations\ 349 : extern "C" \{\ 350 : SEXP file41771a7ffa5( ) ;\ 351 : \}\ 352 : \ 353 : // definition\ 354 : \ 355 : SEXP file41771a7ffa5( )\{\ 356 : return Rcpp::wrap("16a540c6086086816528e4524def24d9");\ 357 : \}\ 358 : \ 359 : \ Compilation argument:\ /Library/Frameworks/R.framework/Resources/bin/R CMD SHLIB file41771a7ffa5.cpp 2> file41771a7ffa5.cpp.err.txt \ /usr/local/clang7/bin/clang++ -stdlib=libc++ -nostdinc++ -I/usr/local/clang7/include/c++/v1 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp/include/" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/unsupported" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include" -DEIGEN_NO_DEBUG -DBOOST_DISABLE_ASSERTS -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -fPIC -Wall -g -O2 -c file41771a7ffa5.cpp -o file41771a7ffa5.o\ /usr/local/clang7/bin/clang++ -L/usr/local/clang7/lib/ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -Wl,-rpath,/Library/Frameworks/R.framework/Resources/lib /Library/Frameworks/R.framework/Resources/lib/libc++abi.1.dylib -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o file41771a7ffa5.so file41771a7ffa5.o -L/Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/lib/ -lStanHeaders -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:5:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core/build_vari_array.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:1:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Core:535:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:5:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core/build_vari_array.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:2:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/LU:47:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:5:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core/build_vari_array.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:3:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Cholesky:12:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Jacobi:29:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:5:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core/build_vari_array.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:3:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Cholesky:43:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:5:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core/build_vari_array.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/QR:17:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Householder:27:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:5:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core/build_vari_array.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:5:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/SVD:48:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:5:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core/build_vari_array.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:6:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Geometry:58:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:5:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core/build_vari_array.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:7:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Eigenvalues:58:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:109:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/csr_extract_u.hpp:6:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Sparse:26:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/SparseCore:66:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:109:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/csr_extract_u.hpp:6:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Sparse:27:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/OrderingMethods:71:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:109:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/csr_extract_u.hpp:6:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Sparse:29:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/SparseCholesky:43:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:109:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/csr_extract_u.hpp:6:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Sparse:32:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/SparseQR:35:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:109:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/fun/csr_extract_u.hpp:6:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Sparse:33:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/IterativeLinearSolvers:46:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:303:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:32:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/CholmodSupport:45:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:303:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:35:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:303:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:39:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/unsupported/Eigen/Polynomials:135:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:303:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:40:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/unsupported/Eigen/SparseExtra:51:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]\ #pragma clang diagnostic pop\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:45:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:13: warning: unused function 'set_zero_all_adjoints' [-Wunused-function]\ static void set_zero_all_adjoints() \{\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:46:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints_nested.hpp:17:13: warning: 'static' function 'set_zero_all_adjoints_nested' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration]\ static void set_zero_all_adjoints_nested() \{\ ^\ In file included from file41771a7ffa5.cpp:8:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math.hpp:4:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:336:\ In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_log.hpp:5:\ /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp:64:59: warning: unused typedef 'T_alpha_val' [-Wunused-local-typedef]\ typename partials_return_type::type>::type T_alpha_val;\ ^\ file41771a7ffa5.cpp:101:24: warning: unused typedef 'local_scalar_t__' [-Wunused-local-typedef]\ typedef double local_scalar_t__;\ ^\ 21 warnings generated.\ \ stn_md> fit <- sampling(mod, data = list(y_mean = 0))\ \ SAMPLING FOR MODEL '16a540c6086086816528e4524def24d9' NOW (CHAIN 1).\ Chain 1: \ Chain 1: Gradient evaluation took 7e-06 seconds\ Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.07 seconds.\ Chain 1: Adjust your expectations accordingly!\ Chain 1: \ Chain 1: \ Chain 1: Iteration: 1 / 2000 [ 0%] (Warmup)\ Chain 1: Iteration: 200 / 2000 [ 10%] (Warmup)\ Chain 1: Iteration: 400 / 2000 [ 20%] (Warmup)\ Chain 1: Iteration: 600 / 2000 [ 30%] (Warmup)\ Chain 1: Iteration: 800 / 2000 [ 40%] (Warmup)\ Chain 1: Iteration: 1000 / 2000 [ 50%] (Warmup)\ Chain 1: Iteration: 1001 / 2000 [ 50%] (Sampling)\ Chain 1: Iteration: 1200 / 2000 [ 60%] (Sampling)\ Chain 1: Iteration: 1400 / 2000 [ 70%] (Sampling)\ Chain 1: Iteration: 1600 / 2000 [ 80%] (Sampling)\ Chain 1: Iteration: 1800 / 2000 [ 90%] (Sampling)\ Chain 1: Iteration: 2000 / 2000 [100%] (Sampling)\ Chain 1: \ Chain 1: Elapsed Time: 0.017738 seconds (Warm-up)\ Chain 1: 0.016466 seconds (Sampling)\ Chain 1: 0.034204 seconds (Total)\ Chain 1: \ \ SAMPLING FOR MODEL '16a540c6086086816528e4524def24d9' NOW (CHAIN 2).\ Chain 2: \ Chain 2: Gradient evaluation took 8e-06 seconds\ Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.08 seconds.\ Chain 2: Adjust your expectations accordingly!\ Chain 2: \ Chain 2: \ Chain 2: Iteration: 1 / 2000 [ 0%] (Warmup)\ Chain 2: Iteration: 200 / 2000 [ 10%] (Warmup)\ Chain 2: Iteration: 400 / 2000 [ 20%] (Warmup)\ Chain 2: Iteration: 600 / 2000 [ 30%] (Warmup)\ Chain 2: Iteration: 800 / 2000 [ 40%] (Warmup)\ Chain 2: Iteration: 1000 / 2000 [ 50%] (Warmup)\ Chain 2: Iteration: 1001 / 2000 [ 50%] (Sampling)\ Chain 2: Iteration: 1200 / 2000 [ 60%] (Sampling)\ Chain 2: Iteration: 1400 / 2000 [ 70%] (Sampling)\ Chain 2: Iteration: 1600 / 2000 [ 80%] (Sampling)\ Chain 2: Iteration: 1800 / 2000 [ 90%] (Sampling)\ Chain 2: Iteration: 2000 / 2000 [100%] (Sampling)\ Chain 2: \ Chain 2: Elapsed Time: 0.017255 seconds (Warm-up)\ Chain 2: 0.014333 seconds (Sampling)\ Chain 2: 0.031588 seconds (Total)\ Chain 2: \ \ SAMPLING FOR MODEL '16a540c6086086816528e4524def24d9' NOW (CHAIN 3).\ Chain 3: \ Chain 3: Gradient evaluation took 4e-06 seconds\ Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 0.04 seconds.\ Chain 3: Adjust your expectations accordingly!\ Chain 3: \ Chain 3: \ Chain 3: Iteration: 1 / 2000 [ 0%] (Warmup)\ Chain 3: Iteration: 200 / 2000 [ 10%] (Warmup)\ Chain 3: Iteration: 400 / 2000 [ 20%] (Warmup)\ Chain 3: Iteration: 600 / 2000 [ 30%] (Warmup)\ Chain 3: Iteration: 800 / 2000 [ 40%] (Warmup)\ Chain 3: Iteration: 1000 / 2000 [ 50%] (Warmup)\ Chain 3: Iteration: 1001 / 2000 [ 50%] (Sampling)\ Chain 3: Iteration: 1200 / 2000 [ 60%] (Sampling)\ Chain 3: Iteration: 1400 / 2000 [ 70%] (Sampling)\ Chain 3: Iteration: 1600 / 2000 [ 80%] (Sampling)\ Chain 3: Iteration: 1800 / 2000 [ 90%] (Sampling)\ Chain 3: Iteration: 2000 / 2000 [100%] (Sampling)\ Chain 3: \ Chain 3: Elapsed Time: 0.01651 seconds (Warm-up)\ Chain 3: 0.016165 seconds (Sampling)\ Chain 3: 0.032675 seconds (Total)\ Chain 3: \ \ SAMPLING FOR MODEL '16a540c6086086816528e4524def24d9' NOW (CHAIN 4).\ Chain 4: \ Chain 4: Gradient evaluation took 4e-06 seconds\ Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 0.04 seconds.\ Chain 4: Adjust your expectations accordingly!\ Chain 4: \ Chain 4: \ Chain 4: Iteration: 1 / 2000 [ 0%] (Warmup)\ Chain 4: Iteration: 200 / 2000 [ 10%] (Warmup)\ Chain 4: Iteration: 400 / 2000 [ 20%] (Warmup)\ Chain 4: Iteration: 600 / 2000 [ 30%] (Warmup)\ Chain 4: Iteration: 800 / 2000 [ 40%] (Warmup)\ Chain 4: Iteration: 1000 / 2000 [ 50%] (Warmup)\ Chain 4: Iteration: 1001 / 2000 [ 50%] (Sampling)\ Chain 4: Iteration: 1200 / 2000 [ 60%] (Sampling)\ Chain 4: Iteration: 1400 / 2000 [ 70%] (Sampling)\ Chain 4: Iteration: 1600 / 2000 [ 80%] (Sampling)\ Chain 4: Iteration: 1800 / 2000 [ 90%] (Sampling)\ Chain 4: Iteration: 2000 / 2000 [100%] (Sampling)\ Chain 4: \ Chain 4: Elapsed Time: 0.014813 seconds (Warm-up)\ Chain 4: 0.016077 seconds (Sampling)\ Chain 4: 0.03089 seconds (Total)\ Chain 4: \ \ stn_md> fit2 <- sampling(mod, data = list(y_mean = 5))\ \ SAMPLING FOR MODEL '16a540c6086086816528e4524def24d9' NOW (CHAIN 1).\ Chain 1: \ Chain 1: Gradient evaluation took 6e-06 seconds\ Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.06 seconds.\ Chain 1: Adjust your expectations accordingly!\ Chain 1: \ Chain 1: \ Chain 1: Iteration: 1 / 2000 [ 0%] (Warmup)\ Chain 1: Iteration: 200 / 2000 [ 10%] (Warmup)\ Chain 1: Iteration: 400 / 2000 [ 20%] (Warmup)\ Chain 1: Iteration: 600 / 2000 [ 30%] (Warmup)\ Chain 1: Iteration: 800 / 2000 [ 40%] (Warmup)\ Chain 1: Iteration: 1000 / 2000 [ 50%] (Warmup)\ Chain 1: Iteration: 1001 / 2000 [ 50%] (Sampling)\ Chain 1: Iteration: 1200 / 2000 [ 60%] (Sampling)\ Chain 1: Iteration: 1400 / 2000 [ 70%] (Sampling)\ Chain 1: Iteration: 1600 / 2000 [ 80%] (Sampling)\ Chain 1: Iteration: 1800 / 2000 [ 90%] (Sampling)\ Chain 1: Iteration: 2000 / 2000 [100%] (Sampling)\ Chain 1: \ Chain 1: Elapsed Time: 0.016513 seconds (Warm-up)\ Chain 1: 0.016452 seconds (Sampling)\ Chain 1: 0.032965 seconds (Total)\ Chain 1: \ \ SAMPLING FOR MODEL '16a540c6086086816528e4524def24d9' NOW (CHAIN 2).\ Chain 2: \ Chain 2: Gradient evaluation took 5e-06 seconds\ Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.05 seconds.\ Chain 2: Adjust your expectations accordingly!\ Chain 2: \ Chain 2: \ Chain 2: Iteration: 1 / 2000 [ 0%] (Warmup)\ Chain 2: Iteration: 200 / 2000 [ 10%] (Warmup)\ Chain 2: Iteration: 400 / 2000 [ 20%] (Warmup)\ Chain 2: Iteration: 600 / 2000 [ 30%] (Warmup)\ Chain 2: Iteration: 800 / 2000 [ 40%] (Warmup)\ Chain 2: Iteration: 1000 / 2000 [ 50%] (Warmup)\ Chain 2: Iteration: 1001 / 2000 [ 50%] (Sampling)\ Chain 2: Iteration: 1200 / 2000 [ 60%] (Sampling)\ Chain 2: Iteration: 1400 / 2000 [ 70%] (Sampling)\ Chain 2: Iteration: 1600 / 2000 [ 80%] (Sampling)\ Chain 2: Iteration: 1800 / 2000 [ 90%] (Sampling)\ Chain 2: Iteration: 2000 / 2000 [100%] (Sampling)\ Chain 2: \ Chain 2: Elapsed Time: 0.014733 seconds (Warm-up)\ Chain 2: 0.014879 seconds (Sampling)\ Chain 2: 0.029612 seconds (Total)\ Chain 2: \ \ SAMPLING FOR MODEL '16a540c6086086816528e4524def24d9' NOW (CHAIN 3).\ Chain 3: \ Chain 3: Gradient evaluation took 5e-06 seconds\ Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 0.05 seconds.\ Chain 3: Adjust your expectations accordingly!\ Chain 3: \ Chain 3: \ Chain 3: Iteration: 1 / 2000 [ 0%] (Warmup)\ Chain 3: Iteration: 200 / 2000 [ 10%] (Warmup)\ Chain 3: Iteration: 400 / 2000 [ 20%] (Warmup)\ Chain 3: Iteration: 600 / 2000 [ 30%] (Warmup)\ Chain 3: Iteration: 800 / 2000 [ 40%] (Warmup)\ Chain 3: Iteration: 1000 / 2000 [ 50%] (Warmup)\ Chain 3: Iteration: 1001 / 2000 [ 50%] (Sampling)\ Chain 3: Iteration: 1200 / 2000 [ 60%] (Sampling)\ Chain 3: Iteration: 1400 / 2000 [ 70%] (Sampling)\ Chain 3: Iteration: 1600 / 2000 [ 80%] (Sampling)\ Chain 3: Iteration: 1800 / 2000 [ 90%] (Sampling)\ Chain 3: Iteration: 2000 / 2000 [100%] (Sampling)\ Chain 3: \ Chain 3: Elapsed Time: 0.016099 seconds (Warm-up)\ Chain 3: 0.014491 seconds (Sampling)\ Chain 3: 0.03059 seconds (Total)\ Chain 3: \ \ SAMPLING FOR MODEL '16a540c6086086816528e4524def24d9' NOW (CHAIN 4).\ Chain 4: \ Chain 4: Gradient evaluation took 4e-06 seconds\ Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 0.04 seconds.\ Chain 4: Adjust your expectations accordingly!\ Chain 4: \ Chain 4: \ Chain 4: Iteration: 1 / 2000 [ 0%] (Warmup)\ Chain 4: Iteration: 200 / 2000 [ 10%] (Warmup)\ Chain 4: Iteration: 400 / 2000 [ 20%] (Warmup)\ Chain 4: Iteration: 600 / 2000 [ 30%] (Warmup)\ Chain 4: Iteration: 800 / 2000 [ 40%] (Warmup)\ Chain 4: Iteration: 1000 / 2000 [ 50%] (Warmup)\ Chain 4: Iteration: 1001 / 2000 [ 50%] (Sampling)\ Chain 4: Iteration: 1200 / 2000 [ 60%] (Sampling)\ Chain 4: Iteration: 1400 / 2000 [ 70%] (Sampling)\ Chain 4: Iteration: 1600 / 2000 [ 80%] (Sampling)\ Chain 4: Iteration: 1800 / 2000 [ 90%] (Sampling)\ Chain 4: Iteration: 2000 / 2000 [100%] (Sampling)\ Chain 4: \ Chain 4: Elapsed Time: 0.015531 seconds (Warm-up)\ Chain 4: 0.014875 seconds (Sampling)\ Chain 4: 0.030406 seconds (Total)\ Chain 4: }