Instantly share code, notes, and snippets.

Embed
What would you like to do?
Error in compile code
``` r
library(rstan)
#> Loading required package: ggplot2
#> Loading required package: StanHeaders
#> rstan (Version 2.18.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.
m <- stan_model(model_code = 'parameters {real y;} model {y ~ normal(0,1);}',
verbose = TRUE)
#>
#> TRANSLATING MODEL 'ea675482ff536c9af991981f83a71da2' FROM Stan CODE TO C++ CODE NOW.
#> successful in parsing the Stan model 'ea675482ff536c9af991981f83a71da2'.
#> OS: x86_64, mingw32; rstan: 2.18.2; Rcpp: 1.0.0; inline: 0.3.15
#> >> setting environment variables:
#> PKG_LIBS = -L"C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/libs/x64" -lStanHeaders
#> PKG_CPPFLAGS = -I"C:/Users/inp099/Documents/R/win-library/3.6/Rcpp/include/" -I"C:/Users/inp099/Documents/R/win-library/3.6/RcppEigen/include/" -I"C:/Users/inp099/Documents/R/win-library/3.6/RcppEigen/include/unsupported" -I"C:/Users/inp099/Documents/R/win-library/3.6/BH/include" -I"C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/include/src/" -I"C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/include/" -I"C:/Users/inp099/Documents/R/win-library/3.6/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.18.0
#> 7 :
#> 8 : #include <stan/model/model_header.hpp>
#> 9 :
#> 10 : namespace model2be85b6e85_ea675482ff536c9af991981f83a71da2_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", "model2be85b6e85_ea675482ff536c9af991981f83a71da2");
#> 26 : reader.add_event(3, 1, "end", "model2be85b6e85_ea675482ff536c9af991981f83a71da2");
#> 27 : return reader;
#> 28 : }
#> 29 :
#> 30 : class model2be85b6e85_ea675482ff536c9af991981f83a71da2 : public prob_grad {
#> 31 : private:
#> 32 : public:
#> 33 : model2be85b6e85_ea675482ff536c9af991981f83a71da2(stan::io::var_context& context__,
#> 34 : std::ostream* pstream__ = 0)
#> 35 : : prob_grad(0) {
#> 36 : ctor_body(context__, 0, pstream__);
#> 37 : }
#> 38 :
#> 39 : model2be85b6e85_ea675482ff536c9af991981f83a71da2(stan::io::var_context& context__,
#> 40 : unsigned int random_seed__,
#> 41 : std::ostream* pstream__ = 0)
#> 42 : : prob_grad(0) {
#> 43 : ctor_body(context__, random_seed__, pstream__);
#> 44 : }
#> 45 :
#> 46 : void ctor_body(stan::io::var_context& context__,
#> 47 : unsigned int random_seed__,
#> 48 : std::ostream* pstream__) {
#> 49 : typedef double local_scalar_t__;
#> 50 :
#> 51 : boost::ecuyer1988 base_rng__ =
#> 52 : stan::services::util::create_rng(random_seed__, 0);
#> 53 : (void) base_rng__; // suppress unused var warning
#> 54 :
#> 55 : current_statement_begin__ = -1;
#> 56 :
#> 57 : static const char* function__ = "model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2";
#> 58 : (void) function__; // dummy to suppress unused var warning
#> 59 : size_t pos__;
#> 60 : (void) pos__; // dummy to suppress unused var warning
#> 61 : std::vector<int> vals_i__;
#> 62 : std::vector<double> vals_r__;
#> 63 : local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
#> 64 : (void) DUMMY_VAR__; // suppress unused var warning
#> 65 :
#> 66 : // initialize member variables
#> 67 : try {
#> 68 :
#> 69 : // validate, data variables
#> 70 : // initialize data variables
#> 71 :
#> 72 :
#> 73 : // validate transformed data
#> 74 :
#> 75 : // validate, set parameter ranges
#> 76 : num_params_r__ = 0U;
#> 77 : param_ranges_i__.clear();
#> 78 : current_statement_begin__ = 1;
#> 79 : ++num_params_r__;
#> 80 : } catch (const std::exception& e) {
#> 81 : stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
#> 82 : // Next line prevents compiler griping about no return
#> 83 : throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
#> 84 : }
#> 85 : }
#> 86 :
#> 87 : ~model2be85b6e85_ea675482ff536c9af991981f83a71da2() { }
#> 88 :
#> 89 :
#> 90 : void transform_inits(const stan::io::var_context& context__,
#> 91 : std::vector<int>& params_i__,
#> 92 : std::vector<double>& params_r__,
#> 93 : std::ostream* pstream__) const {
#> 94 : stan::io::writer<double> writer__(params_r__,params_i__);
#> 95 : size_t pos__;
#> 96 : (void) pos__; // dummy call to supress warning
#> 97 : std::vector<double> vals_r__;
#> 98 : std::vector<int> vals_i__;
#> 99 :
#> 100 : if (!(context__.contains_r("y")))
#> 101 : throw std::runtime_error("variable y missing");
#> 102 : vals_r__ = context__.vals_r("y");
#> 103 : pos__ = 0U;
#> 104 : context__.validate_dims("initialization", "y", "double", context__.to_vec());
#> 105 : double y(0);
#> 106 : y = vals_r__[pos__++];
#> 107 : try {
#> 108 : writer__.scalar_unconstrain(y);
#> 109 : } catch (const std::exception& e) {
#> 110 : throw std::runtime_error(std::string("Error transforming variable y: ") + e.what());
#> 111 : }
#> 112 :
#> 113 : params_r__ = writer__.data_r();
#> 114 : params_i__ = writer__.data_i();
#> 115 : }
#> 116 :
#> 117 : void transform_inits(const stan::io::var_context& context,
#> 118 : Eigen::Matrix<double,Eigen::Dynamic,1>& params_r,
#> 119 : std::ostream* pstream__) const {
#> 120 : std::vector<double> params_r_vec;
#> 121 : std::vector<int> params_i_vec;
#> 122 : transform_inits(context, params_i_vec, params_r_vec, pstream__);
#> 123 : params_r.resize(params_r_vec.size());
#> 124 : for (int i = 0; i < params_r.size(); ++i)
#> 125 : params_r(i) = params_r_vec[i];
#> 126 : }
#> 127 :
#> 128 :
#> 129 : template <bool propto__, bool jacobian__, typename T__>
#> 130 : T__ log_prob(vector<T__>& params_r__,
#> 131 : vector<int>& params_i__,
#> 132 : std::ostream* pstream__ = 0) const {
#> 133 :
#> 134 : typedef T__ local_scalar_t__;
#> 135 :
#> 136 : local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
#> 137 : (void) DUMMY_VAR__; // suppress unused var warning
#> 138 :
#> 139 : T__ lp__(0.0);
#> 140 : stan::math::accumulator<T__> lp_accum__;
#> 141 :
#> 142 : try {
#> 143 : // model parameters
#> 144 : stan::io::reader<local_scalar_t__> in__(params_r__,params_i__);
#> 145 :
#> 146 : local_scalar_t__ y;
#> 147 : (void) y; // dummy to suppress unused var warning
#> 148 : if (jacobian__)
#> 149 : y = in__.scalar_constrain(lp__);
#> 150 : else
#> 151 : y = in__.scalar_constrain();
#> 152 :
#> 153 :
#> 154 : // transformed parameters
#> 155 :
#> 156 :
#> 157 :
#> 158 : // validate transformed parameters
#> 159 :
#> 160 : const char* function__ = "validate transformed params";
#> 161 : (void) function__; // dummy to suppress unused var warning
#> 162 :
#> 163 : // model body
#> 164 :
#> 165 : current_statement_begin__ = 1;
#> 166 : lp_accum__.add(normal_log<propto__>(y, 0, 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__ = "model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::write_array";
#> 217 : (void) function__; // dummy to suppress unused var warning
#> 218 : // read-transform, write parameters
#> 219 : double y = in__.scalar_constrain();
#> 220 : vars__.push_back(y);
#> 221 :
#> 222 : // declare and define transformed parameters
#> 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 : try {
#> 231 :
#> 232 :
#> 233 :
#> 234 : // validate transformed parameters
#> 235 :
#> 236 : // write transformed parameters
#> 237 : if (include_tparams__) {
#> 238 : }
#> 239 : if (!include_gqs__) return;
#> 240 : // declare and define generated quantities
#> 241 :
#> 242 :
#> 243 :
#> 244 : // validate generated quantities
#> 245 :
#> 246 : // write generated quantities
#> 247 : } catch (const std::exception& e) {
#> 248 : stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
#> 249 : // Next line prevents compiler griping about no return
#> 250 : throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
#> 251 : }
#> 252 : }
#> 253 :
#> 254 : template <typename RNG>
#> 255 : void write_array(RNG& base_rng,
#> 256 : Eigen::Matrix<double,Eigen::Dynamic,1>& params_r,
#> 257 : Eigen::Matrix<double,Eigen::Dynamic,1>& vars,
#> 258 : bool include_tparams = true,
#> 259 : bool include_gqs = true,
#> 260 : std::ostream* pstream = 0) const {
#> 261 : std::vector<double> params_r_vec(params_r.size());
#> 262 : for (int i = 0; i < params_r.size(); ++i)
#> 263 : params_r_vec[i] = params_r(i);
#> 264 : std::vector<double> vars_vec;
#> 265 : std::vector<int> params_i_vec;
#> 266 : write_array(base_rng,params_r_vec,params_i_vec,vars_vec,include_tparams,include_gqs,pstream);
#> 267 : vars.resize(vars_vec.size());
#> 268 : for (int i = 0; i < vars.size(); ++i)
#> 269 : vars(i) = vars_vec[i];
#> 270 : }
#> 271 :
#> 272 : static std::string model_name() {
#> 273 : return "model2be85b6e85_ea675482ff536c9af991981f83a71da2";
#> 274 : }
#> 275 :
#> 276 :
#> 277 : void constrained_param_names(std::vector<std::string>& param_names__,
#> 278 : bool include_tparams__ = true,
#> 279 : bool include_gqs__ = true) const {
#> 280 : std::stringstream param_name_stream__;
#> 281 : param_name_stream__.str(std::string());
#> 282 : param_name_stream__ << "y";
#> 283 : param_names__.push_back(param_name_stream__.str());
#> 284 :
#> 285 : if (!include_gqs__ && !include_tparams__) return;
#> 286 :
#> 287 : if (include_tparams__) {
#> 288 : }
#> 289 :
#> 290 :
#> 291 : if (!include_gqs__) return;
#> 292 : }
#> 293 :
#> 294 :
#> 295 : void unconstrained_param_names(std::vector<std::string>& param_names__,
#> 296 : bool include_tparams__ = true,
#> 297 : bool include_gqs__ = true) const {
#> 298 : std::stringstream param_name_stream__;
#> 299 : param_name_stream__.str(std::string());
#> 300 : param_name_stream__ << "y";
#> 301 : param_names__.push_back(param_name_stream__.str());
#> 302 :
#> 303 : if (!include_gqs__ && !include_tparams__) return;
#> 304 :
#> 305 : if (include_tparams__) {
#> 306 : }
#> 307 :
#> 308 :
#> 309 : if (!include_gqs__) return;
#> 310 : }
#> 311 :
#> 312 : }; // model
#> 313 :
#> 314 : }
#> 315 :
#> 316 : typedef model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2 stan_model;
#> 317 :
#> 318 : #include <rstan/rstaninc.hpp>
#> 319 : /**
#> 320 : * Define Rcpp Module to expose stan_fit's functions to R.
#> 321 : */
#> 322 : RCPP_MODULE(stan_fit4model2be85b6e85_ea675482ff536c9af991981f83a71da2_mod){
#> 323 : Rcpp::class_<rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2,
#> 324 : boost::random::ecuyer1988> >("stan_fit4model2be85b6e85_ea675482ff536c9af991981f83a71da2")
#> 325 : // .constructor<Rcpp::List>()
#> 326 : .constructor<SEXP, SEXP, SEXP>()
#> 327 : // .constructor<SEXP, SEXP>()
#> 328 : .method("call_sampler",
#> 329 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::call_sampler)
#> 330 : .method("param_names",
#> 331 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::param_names)
#> 332 : .method("param_names_oi",
#> 333 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::param_names_oi)
#> 334 : .method("param_fnames_oi",
#> 335 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::param_fnames_oi)
#> 336 : .method("param_dims",
#> 337 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::param_dims)
#> 338 : .method("param_dims_oi",
#> 339 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::param_dims_oi)
#> 340 : .method("update_param_oi",
#> 341 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::update_param_oi)
#> 342 : .method("param_oi_tidx",
#> 343 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::param_oi_tidx)
#> 344 : .method("grad_log_prob",
#> 345 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::grad_log_prob)
#> 346 : .method("log_prob",
#> 347 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::log_prob)
#> 348 : .method("unconstrain_pars",
#> 349 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::unconstrain_pars)
#> 350 : .method("constrain_pars",
#> 351 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::constrain_pars)
#> 352 : .method("num_pars_unconstrained",
#> 353 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::num_pars_unconstrained)
#> 354 : .method("unconstrained_param_names",
#> 355 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::unconstrained_param_names)
#> 356 : .method("constrained_param_names",
#> 357 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::constrained_param_names)
#> 358 : .method("standalone_gqs",
#> 359 : &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::standalone_gqs)
#> 360 : ;
#> 361 : }
#> 362 :
#> 363 : // declarations
#> 364 : extern "C" {
#> 365 : SEXP file2be816781936( ) ;
#> 366 : }
#> 367 :
#> 368 : // definition
#> 369 :
#> 370 : SEXP file2be816781936( ){
#> 371 : return Rcpp::wrap("ea675482ff536c9af991981f83a71da2");
#> 372 : }
#> 373 :
#> 374 :
#> Compilation argument:
#> C:/PROGRA~1/R/R-devel/bin/x64/R CMD SHLIB file2be816781936.cpp 2> file2be816781936.cpp.err.txt
#> In file included from C:/Users/inp099/Documents/R/win-library/3.6/BH/include/boost/random/detail/integer_log2.hpp:19:0,
#> from C:/Users/inp099/Documents/R/win-library/3.6/BH/include/boost/random/detail/int_float_pair.hpp:26,
#> from C:/Users/inp099/Documents/R/win-library/3.6/BH/include/boost/random/exponential_distribution.hpp:27,
#> from C:/Users/inp099/Documents/R/win-library/3.6/BH/include/boost/random/gamma_distribution.hpp:25,
#> from C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_rng.hpp:5,
#> from C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/include/stan/math/prim/mat.hpp:276,
#> from C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/include/stan/math/rev/mat.hpp:12,
#> from C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/include/stan/math.hpp:4,
#> from C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/include/src/stan/model/model_header.hpp:4,
#> from file2be816781936.cpp:8:
#> C:/Users/inp099/Documents/R/win-library/3.6/BH/include/boost/pending/integer_log2.hpp:7:89: note: #pragma message: This header is deprecated. Use <boost/integer/integer_log2.hpp> instead.
#> BOOST_HEADER_DEPRECATED("<boost/integer/integer_log2.hpp>");
#> ^
#> C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/libs/x64/StanHeaders.dll: file not recognized: File format not recognized
#> collect2.exe: error: ld returned 1 exit status
#>
#> 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.18.0
#> 7:
#> 8: #include <stan/model/model_header.hpp>
#> 9:
#> 10: namespace model2be85b6e85_ea675482ff536c9af991981f83a71da2_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", "model2be85b6e85_ea675482ff536c9af991981f83a71da2");
#> 26: reader.add_event(3, 1, "end", "model2be85b6e85_ea675482ff536c9af991981f83a71da2");
#> 27: return reader;
#> 28: }
#> 29:
#> 30: class model2be85b6e85_ea675482ff536c9af991981f83a71da2 : public prob_grad {
#> 31: private:
#> 32: public:
#> 33: model2be85b6e85_ea675482ff536c9af991981f83a71da2(stan::io::var_context& context__,
#> 34: std::ostream* pstream__ = 0)
#> 35: : prob_grad(0) {
#> 36: ctor_body(context__, 0, pstream__);
#> 37: }
#> 38:
#> 39: model2be85b6e85_ea675482ff536c9af991981f83a71da2(stan::io::var_context& context__,
#> 40: unsigned int random_seed__,
#> 41: std::ostream* pstream__ = 0)
#> 42: : prob_grad(0) {
#> 43: ctor_body(context__, random_seed__, pstream__);
#> 44: }
#> 45:
#> 46: void ctor_body(stan::io::var_context& context__,
#> 47: unsigned int random_seed__,
#> 48: std::ostream* pstream__) {
#> 49: typedef double local_scalar_t__;
#> 50:
#> 51: boost::ecuyer1988 base_rng__ =
#> 52: stan::services::util::create_rng(random_seed__, 0);
#> 53: (void) base_rng__; // suppress unused var warning
#> 54:
#> 55: current_statement_begin__ = -1;
#> 56:
#> 57: static const char* function__ = "model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2";
#> 58: (void) function__; // dummy to suppress unused var warning
#> 59: size_t pos__;
#> 60: (void) pos__; // dummy to suppress unused var warning
#> 61: std::vector<int> vals_i__;
#> 62: std::vector<double> vals_r__;
#> 63: local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
#> 64: (void) DUMMY_VAR__; // suppress unused var warning
#> 65:
#> 66: // initialize member variables
#> 67: try {
#> 68:
#> 69: // validate, data variables
#> 70: // initialize data variables
#> 71:
#> 72:
#> 73: // validate transformed data
#> 74:
#> 75: // validate, set parameter ranges
#> 76: num_params_r__ = 0U;
#> 77: param_ranges_i__.clear();
#> 78: current_statement_begin__ = 1;
#> 79: ++num_params_r__;
#> 80: } catch (const std::exception& e) {
#> 81: stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
#> 82: // Next line prevents compiler griping about no return
#> 83: throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
#> 84: }
#> 85: }
#> 86:
#> 87: ~model2be85b6e85_ea675482ff536c9af991981f83a71da2() { }
#> 88:
#> 89:
#> 90: void transform_inits(const stan::io::var_context& context__,
#> 91: std::vector<int>& params_i__,
#> 92: std::vector<double>& params_r__,
#> 93: std::ostream* pstream__) const {
#> 94: stan::io::writer<double> writer__(params_r__,params_i__);
#> 95: size_t pos__;
#> 96: (void) pos__; // dummy call to supress warning
#> 97: std::vector<double> vals_r__;
#> 98: std::vector<int> vals_i__;
#> 99:
#> 100: if (!(context__.contains_r("y")))
#> 101: throw std::runtime_error("variable y missing");
#> 102: vals_r__ = context__.vals_r("y");
#> 103: pos__ = 0U;
#> 104: context__.validate_dims("initialization", "y", "double", context__.to_vec());
#> 105: double y(0);
#> 106: y = vals_r__[pos__++];
#> 107: try {
#> 108: writer__.scalar_unconstrain(y);
#> 109: } catch (const std::exception& e) {
#> 110: throw std::runtime_error(std::string("Error transforming variable y: ") + e.what());
#> 111: }
#> 112:
#> 113: params_r__ = writer__.data_r();
#> 114: params_i__ = writer__.data_i();
#> 115: }
#> 116:
#> 117: void transform_inits(const stan::io::var_context& context,
#> 118: Eigen::Matrix<double,Eigen::Dynamic,1>& params_r,
#> 119: std::ostream* pstream__) const {
#> 120: std::vector<double> params_r_vec;
#> 121: std::vector<int> params_i_vec;
#> 122: transform_inits(context, params_i_vec, params_r_vec, pstream__);
#> 123: params_r.resize(params_r_vec.size());
#> 124: for (int i = 0; i < params_r.size(); ++i)
#> 125: params_r(i) = params_r_vec[i];
#> 126: }
#> 127:
#> 128:
#> 129: template <bool propto__, bool jacobian__, typename T__>
#> 130: T__ log_prob(vector<T__>& params_r__,
#> 131: vector<int>& params_i__,
#> 132: std::ostream* pstream__ = 0) const {
#> 133:
#> 134: typedef T__ local_scalar_t__;
#> 135:
#> 136: local_scalar_t__ DUMMY_VAR__(std::numeric_limits<double>::quiet_NaN());
#> 137: (void) DUMMY_VAR__; // suppress unused var warning
#> 138:
#> 139: T__ lp__(0.0);
#> 140: stan::math::accumulator<T__> lp_accum__;
#> 141:
#> 142: try {
#> 143: // model parameters
#> 144: stan::io::reader<local_scalar_t__> in__(params_r__,params_i__);
#> 145:
#> 146: local_scalar_t__ y;
#> 147: (void) y; // dummy to suppress unused var warning
#> 148: if (jacobian__)
#> 149: y = in__.scalar_constrain(lp__);
#> 150: else
#> 151: y = in__.scalar_constrain();
#> 152:
#> 153:
#> 154: // transformed parameters
#> 155:
#> 156:
#> 157:
#> 158: // validate transformed parameters
#> 159:
#> 160: const char* function__ = "validate transformed params";
#> 161: (void) function__; // dummy to suppress unused var warning
#> 162:
#> 163: // model body
#> 164:
#> 165: current_statement_begin__ = 1;
#> 166: lp_accum__.add(normal_log<propto__>(y, 0, 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__ = "model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::write_array";
#> 217: (void) function__; // dummy to suppress unused var warning
#> 218: // read-transform, write parameters
#> 219: double y = in__.scalar_constrain();
#> 220: vars__.push_back(y);
#> 221:
#> 222: // declare and define transformed parameters
#> 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: try {
#> 231:
#> 232:
#> 233:
#> 234: // validate transformed parameters
#> 235:
#> 236: // write transformed parameters
#> 237: if (include_tparams__) {
#> 238: }
#> 239: if (!include_gqs__) return;
#> 240: // declare and define generated quantities
#> 241:
#> 242:
#> 243:
#> 244: // validate generated quantities
#> 245:
#> 246: // write generated quantities
#> 247: } catch (const std::exception& e) {
#> 248: stan::lang::rethrow_located(e, current_statement_begin__, prog_reader__());
#> 249: // Next line prevents compiler griping about no return
#> 250: throw std::runtime_error("*** IF YOU SEE THIS, PLEASE REPORT A BUG ***");
#> 251: }
#> 252: }
#> 253:
#> 254: template <typename RNG>
#> 255: void write_array(RNG& base_rng,
#> 256: Eigen::Matrix<double,Eigen::Dynamic,1>& params_r,
#> 257: Eigen::Matrix<double,Eigen::Dynamic,1>& vars,
#> 258: bool include_tparams = true,
#> 259: bool include_gqs = true,
#> 260: std::ostream* pstream = 0) const {
#> 261: std::vector<double> params_r_vec(params_r.size());
#> 262: for (int i = 0; i < params_r.size(); ++i)
#> 263: params_r_vec[i] = params_r(i);
#> 264: std::vector<double> vars_vec;
#> 265: std::vector<int> params_i_vec;
#> 266: write_array(base_rng,params_r_vec,params_i_vec,vars_vec,include_tparams,include_gqs,pstream);
#> 267: vars.resize(vars_vec.size());
#> 268: for (int i = 0; i < vars.size(); ++i)
#> 269: vars(i) = vars_vec[i];
#> 270: }
#> 271:
#> 272: static std::string model_name() {
#> 273: return "model2be85b6e85_ea675482ff536c9af991981f83a71da2";
#> 274: }
#> 275:
#> 276:
#> 277: void constrained_param_names(std::vector<std::string>& param_names__,
#> 278: bool include_tparams__ = true,
#> 279: bool include_gqs__ = true) const {
#> 280: std::stringstream param_name_stream__;
#> 281: param_name_stream__.str(std::string());
#> 282: param_name_stream__ << "y";
#> 283: param_names__.push_back(param_name_stream__.str());
#> 284:
#> 285: if (!include_gqs__ && !include_tparams__) return;
#> 286:
#> 287: if (include_tparams__) {
#> 288: }
#> 289:
#> 290:
#> 291: if (!include_gqs__) return;
#> 292: }
#> 293:
#> 294:
#> 295: void unconstrained_param_names(std::vector<std::string>& param_names__,
#> 296: bool include_tparams__ = true,
#> 297: bool include_gqs__ = true) const {
#> 298: std::stringstream param_name_stream__;
#> 299: param_name_stream__.str(std::string());
#> 300: param_name_stream__ << "y";
#> 301: param_names__.push_back(param_name_stream__.str());
#> 302:
#> 303: if (!include_gqs__ && !include_tparams__) return;
#> 304:
#> 305: if (include_tparams__) {
#> 306: }
#> 307:
#> 308:
#> 309: if (!include_gqs__) return;
#> 310: }
#> 311:
#> 312: }; // model
#> 313:
#> 314: }
#> 315:
#> 316: typedef model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2 stan_model;
#> 317:
#> 318: #include <rstan/rstaninc.hpp>
#> 319: /**
#> 320: * Define Rcpp Module to expose stan_fit's functions to R.
#> 321: */
#> 322: RCPP_MODULE(stan_fit4model2be85b6e85_ea675482ff536c9af991981f83a71da2_mod){
#> 323: Rcpp::class_<rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2,
#> 324: boost::random::ecuyer1988> >("stan_fit4model2be85b6e85_ea675482ff536c9af991981f83a71da2")
#> 325: // .constructor<Rcpp::List>()
#> 326: .constructor<SEXP, SEXP, SEXP>()
#> 327: // .constructor<SEXP, SEXP>()
#> 328: .method("call_sampler",
#> 329: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::call_sampler)
#> 330: .method("param_names",
#> 331: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::param_names)
#> 332: .method("param_names_oi",
#> 333: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::param_names_oi)
#> 334: .method("param_fnames_oi",
#> 335: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::param_fnames_oi)
#> 336: .method("param_dims",
#> 337: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::param_dims)
#> 338: .method("param_dims_oi",
#> 339: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::param_dims_oi)
#> 340: .method("update_param_oi",
#> 341: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::update_param_oi)
#> 342: .method("param_oi_tidx",
#> 343: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::param_oi_tidx)
#> 344: .method("grad_log_prob",
#> 345: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::grad_log_prob)
#> 346: .method("log_prob",
#> 347: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::log_prob)
#> 348: .method("unconstrain_pars",
#> 349: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::unconstrain_pars)
#> 350: .method("constrain_pars",
#> 351: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::constrain_pars)
#> 352: .method("num_pars_unconstrained",
#> 353: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::num_pars_unconstrained)
#> 354: .method("unconstrained_param_names",
#> 355: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::unconstrained_param_names)
#> 356: .method("constrained_param_names",
#> 357: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::constrained_param_names)
#> 358: .method("standalone_gqs",
#> 359: &rstan::stan_fit<model2be85b6e85_ea675482ff536c9af991981f83a71da2_namespace::model2be85b6e85_ea675482ff536c9af991981f83a71da2, boost::random::ecuyer1988>::standalone_gqs)
#> 360: ;
#> 361: }
#> 362:
#> 363: // declarations
#> 364: extern "C" {
#> 365: SEXP file2be816781936( ) ;
#> 366: }
#> 367:
#> 368: // definition
#> 369:
#> 370: SEXP file2be816781936( ){
#> 371: return Rcpp::wrap("ea675482ff536c9af991981f83a71da2");
#> 372: }
#> 373:
#> 374:
#> Error in compileCode(f, code, language = language, verbose = verbose): Compilation ERROR, function(s)/method(s) not created! In file included from C:/Users/inp099/Documents/R/win-library/3.6/BH/include/boost/random/detail/integer_log2.hpp:19:0,
#> from C:/Users/inp099/Documents/R/win-library/3.6/BH/include/boost/random/detail/int_float_pair.hpp:26,
#> from C:/Users/inp099/Documents/R/win-library/3.6/BH/include/boost/random/exponential_distribution.hpp:27,
#> from C:/Users/inp099/Documents/R/win-library/3.6/BH/include/boost/random/gamma_distribution.hpp:25,
#> from C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_rng.hpp:5,
#> from C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/include/stan/math/prim/mat.hpp:276,
#> from C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/include/stan/math/rev/mat.hpp:12,
#> from C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/include/stan/math.hpp:4,
#> from C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/include/src/stan/model/model_header.hpp:4,
#> from file2be816781936.cpp:8:
#> C:/Users/inp099/Documents/R/win-library/3.6/BH/include/boost/pending/integer_log2.hpp:7:89: note: #pragma message: This header is deprecated. Use <boost/integer/integer_log2.hpp> instead.
#> BOOST_HEADER_DEPRECATED("<boost/integer/integer_log2.hpp>");
#> ^
#> C:/Users/inp099/Documents/R/win-library/3.6/StanHeaders/libs/x64/StanHeaders.dll: file not recognized: File format not recognized
#> collect2.exe: error: ld returned 1 exit status
```
<sup>Created on 2019-01-10 by the [reprex package](https://reprex.tidyverse.org) (v0.2.1)</sup>
<details>
<summary>Session info</summary>
``` r
devtools::session_info()
#> - Session info ----------------------------------------------------------
#> setting value
#> version R Under development (unstable) (2018-11-30 r75724)
#> os Windows 10 x64
#> system x86_64, mingw32
#> ui RTerm
#> language (EN)
#> collate English_United States.1252
#> ctype English_United States.1252
#> tz Asia/Calcutta
#> date 2019-01-10
#>
#> - Packages --------------------------------------------------------------
#> package * version date lib
#> assertthat 0.2.0 2017-04-11 [1]
#> backports 1.1.3 2018-12-14 [1]
#> callr 3.1.1 2018-12-21 [1]
#> cli 1.0.1.9000 2018-10-30 [1]
#> colorspace 1.3-2 2016-12-14 [1]
#> crayon 1.3.4 2017-09-16 [1]
#> desc 1.2.0 2018-10-30 [1]
#> devtools 2.0.1 2018-10-26 [1]
#> digest 0.6.18 2018-10-10 [1]
#> dplyr 0.8.0 2019-01-06 [1]
#> evaluate 0.12 2018-10-09 [1]
#> fs 1.2.6 2018-08-23 [1]
#> ggplot2 * 3.1.0.9000 2018-12-15 [1]
#> glue 1.3.0 2018-07-17 [1]
#> gridExtra 2.3 2017-09-09 [1]
#> gtable 0.2.0 2016-02-26 [1]
#> highr 0.7 2018-06-09 [1]
#> htmltools 0.3.6 2017-04-28 [1]
#> inline 0.3.15 2018-05-18 [1]
#> knitr 1.21 2018-12-10 [1]
#> lazyeval 0.2.1 2017-10-29 [1]
#> loo 2.0.0 2018-04-11 [1]
#> magrittr 1.5 2014-11-22 [1]
#> matrixStats 0.54.0 2018-07-23 [1]
#> memoise 1.1.0 2017-04-21 [1]
#> munsell 0.5.0 2018-06-12 [1]
#> pillar 1.3.1 2018-12-15 [1]
#> pkgbuild 1.0.2 2018-10-16 [1]
#> pkgconfig 2.0.2 2018-08-16 [1]
#> pkgload 1.0.2 2018-10-29 [1]
#> prettyunits 1.0.2 2015-07-13 [1]
#> processx 3.2.1 2018-12-05 [1]
#> ps 1.3.0 2018-12-21 [1]
#> purrr 0.2.99.9000 2019-01-04 [1]
#> R6 2.3.0 2018-10-04 [1]
#> Rcpp 1.0.0 2018-11-07 [1]
#> remotes 2.0.2 2018-10-30 [1]
#> rlang 0.3.1 2019-01-08 [1]
#> rmarkdown 1.11 2018-12-08 [1]
#> rprojroot 1.3-2 2018-01-03 [1]
#> rstan * 2.18.2 2018-11-07 [1]
#> scales 1.0.0 2018-08-09 [1]
#> sessioninfo 1.1.1 2018-11-05 [1]
#> StanHeaders * 2.18.0-1 2018-12-13 [1]
#> stringi 1.2.4 2018-07-20 [1]
#> stringr 1.3.1 2018-05-10 [1]
#> testthat 2.0.1 2018-10-13 [1]
#> tibble 2.0.0 2019-01-04 [1]
#> tidyselect 0.2.5 2018-10-11 [1]
#> usethis 1.4.0.9000 2018-12-12 [1]
#> withr 2.1.2 2018-03-15 [1]
#> xfun 0.4 2018-10-23 [1]
#> yaml 2.2.0 2018-07-25 [1]
#> source
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> Github (r-lib/cli@56538e3)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> Github (r-lib/desc@7c12d36)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> Github (tidyverse/dplyr@59d4600)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> Github (tidyverse/ggplot2@9292832)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> Github (tidyverse/purrr@3b4a013)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> Github (tidyverse/tibble@d06dd5c)
#> CRAN (R 3.5.1)
#> Github (r-lib/usethis@923dd75)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#>
#> [1] C:/Users/inp099/Documents/R/win-library/3.6
#> [2] C:/Program Files/R/R-devel/library
```
</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment